Cleanup spec file conditionals
This commit is contained in:
parent
c5907002c3
commit
d2d8099106
11
botan.spec
11
botan.spec
@ -1,12 +1,12 @@
|
||||
%global major_version 1.10
|
||||
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
Name: botan
|
||||
Version: %{major_version}.16
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Crypto library written in C++
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -40,7 +40,7 @@ BuildRequires: boost-python3-devel
|
||||
BuildRequires: %{_bindir}/sphinx-build
|
||||
BuildRequires: bzip2-devel
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?fedora} >=26
|
||||
%if 0%{?fedora} >=26 || 0%{?rhel} > 7
|
||||
BuildRequires: compat-openssl10-devel
|
||||
%else
|
||||
BuildRequires: openssl-devel
|
||||
@ -70,7 +70,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: bzip2-devel
|
||||
Requires: zlib-devel
|
||||
%if 0%{?fedora} >=26
|
||||
%if 0%{?fedora} >=26 || 0%{?rhel} > 7
|
||||
Requires: compat-openssl10-devel
|
||||
%else
|
||||
Requires: openssl-devel
|
||||
@ -268,6 +268,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 08 2017 Troy Dawson <tdawson@redhat.com> - 1.10.16-2
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
* Sun Aug 13 2017 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.16-1
|
||||
- Update to 1.10.16.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user