Remove DEVEL conditional define
I find no reason to turn off devel package creation. It can be ignored if required, but is mandatory due to Fedora packaging guidelines. Simplify it a bit.
This commit is contained in:
parent
dac5cf7a4c
commit
f37fbc8205
13
bind.spec
13
bind.spec
@ -15,7 +15,6 @@
|
|||||||
# it is not possible to build the package without PKCS11 sub-package
|
# it is not possible to build the package without PKCS11 sub-package
|
||||||
# due to extensive changes to Makefiles
|
# due to extensive changes to Makefiles
|
||||||
%bcond_without PKCS11
|
%bcond_without PKCS11
|
||||||
%bcond_without DEVEL
|
|
||||||
%bcond_without JSON
|
%bcond_without JSON
|
||||||
%bcond_without DLZ
|
%bcond_without DLZ
|
||||||
%bcond_with BDB
|
%bcond_with BDB
|
||||||
@ -377,7 +376,6 @@ revocation and verification of keys and DNSSEC signatures in zone files.
|
|||||||
You should install bind-dnssec-utils if you need to sign a DNS zone
|
You should install bind-dnssec-utils if you need to sign a DNS zone
|
||||||
or maintain keys for it.
|
or maintain keys for it.
|
||||||
|
|
||||||
%if %{with DEVEL}
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files and libraries needed for BIND DNS development
|
Summary: Header files and libraries needed for BIND DNS development
|
||||||
Obsoletes:bind-libbind-devel < 31:9.3.3-4.fc7
|
Obsoletes:bind-libbind-devel < 31:9.3.3-4.fc7
|
||||||
@ -388,7 +386,6 @@ Requires: bind-lite-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
The bind-devel package contains full version of the header files and libraries
|
The bind-devel package contains full version of the header files and libraries
|
||||||
required for development with ISC BIND 9
|
required for development with ISC BIND 9
|
||||||
%endif
|
|
||||||
|
|
||||||
%package lite-devel
|
%package lite-devel
|
||||||
Summary: Lite version of header files and libraries needed for BIND DNS development
|
Summary: Lite version of header files and libraries needed for BIND DNS development
|
||||||
@ -1062,14 +1059,6 @@ popd
|
|||||||
# Remove libtool .la files:
|
# Remove libtool .la files:
|
||||||
find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
|
find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
|
||||||
|
|
||||||
# Remove -devel files out of buildroot if not needed
|
|
||||||
%if !%{with DEVEL}
|
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/bind9/*so
|
|
||||||
rm -rf ${RPM_BUILD_ROOT}/%{_includedir}/bind9
|
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_mandir}/man1/isc-config.sh.1*
|
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_mandir}/man3/lwres*
|
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_bindir}/isc-config.sh
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# SDB manpages
|
# SDB manpages
|
||||||
%if %{with SDB}
|
%if %{with SDB}
|
||||||
@ -1432,7 +1421,6 @@ fi;
|
|||||||
%exclude %{_mandir}/man8/dnssec*-pkcs11.8*
|
%exclude %{_mandir}/man8/dnssec*-pkcs11.8*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with DEVEL}
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libbind9.so
|
%{_libdir}/libbind9.so
|
||||||
%{_libdir}/libisccc.so
|
%{_libdir}/libisccc.so
|
||||||
@ -1446,7 +1434,6 @@ fi;
|
|||||||
%{_mandir}/man3/lwres*
|
%{_mandir}/man3/lwres*
|
||||||
%{_bindir}/isc-config.sh
|
%{_bindir}/isc-config.sh
|
||||||
%{_bindir}/bind9-config
|
%{_bindir}/bind9-config
|
||||||
%endif
|
|
||||||
|
|
||||||
%files lite-devel
|
%files lite-devel
|
||||||
%{_libdir}/libdns.so
|
%{_libdir}/libdns.so
|
||||||
|
Loading…
Reference in New Issue
Block a user