diff --git a/bind.spec b/bind.spec index 79faae0..82022e8 100644 --- a/bind.spec +++ b/bind.spec @@ -15,7 +15,6 @@ # it is not possible to build the package without PKCS11 sub-package # due to extensive changes to Makefiles %bcond_without PKCS11 -%bcond_without DEVEL %bcond_without JSON %bcond_without DLZ %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 or maintain keys for it. -%if %{with DEVEL} %package devel Summary: Header files and libraries needed for BIND DNS development Obsoletes:bind-libbind-devel < 31:9.3.3-4.fc7 @@ -388,7 +386,6 @@ Requires: bind-lite-devel%{?_isa} = %{epoch}:%{version}-%{release} %description devel The bind-devel package contains full version of the header files and libraries required for development with ISC BIND 9 -%endif %package lite-devel Summary: Lite version of header files and libraries needed for BIND DNS development @@ -1062,14 +1059,6 @@ popd # Remove libtool .la files: 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 %if %{with SDB} @@ -1432,7 +1421,6 @@ fi; %exclude %{_mandir}/man8/dnssec*-pkcs11.8* %endif -%if %{with DEVEL} %files devel %{_libdir}/libbind9.so %{_libdir}/libisccc.so @@ -1446,7 +1434,6 @@ fi; %{_mandir}/man3/lwres* %{_bindir}/isc-config.sh %{_bindir}/bind9-config -%endif %files lite-devel %{_libdir}/libdns.so