Create bind-export-devel package with headers for single-threaded.

This commit is contained in:
Petr Menšík 2018-01-19 16:19:18 +01:00
parent f75d562486
commit 1d54148484

View File

@ -411,14 +411,16 @@ version of BIND libraries, that are used for building ISC DHCP.
%package export-libs-devel
Summary: Header files and libraries needed for BIND export libraries
Group: Development/Libraries
Requires: bind-export-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-export-libs%{?_isa} = %{epoch}:%{version}-%{release}
%if 0%{?fedora} >= 1
Obsoletes: bind99-libs-devel < 9.9.11-3
Provides: bind99-libs-devel
%endif
%description export-libs-devel
%{summary}
This package contains export version of the header files and libraries
required for development with ISC BIND. These headers and libraries
are used for building ISC DHCP.
%endif
%prep
@ -1315,12 +1317,30 @@ rm -rf ${RPM_BUILD_ROOT}
%if %{with_export_libs}
%files export-libs
%dir %{_libdir}/%{_export_dir}
%{_libdir}/%{_export_dir}/lib*.so.*
%{_libdir}/%{_export_dir}/libdns-export.so.169*
%{_libdir}/%{_export_dir}/libirs-export.so.160*
%{_libdir}/%{_export_dir}/libisc-export.so.166*
%{_libdir}/%{_export_dir}/libisccfg-export.so.160*
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-export-%{_arch}.conf
%files export-libs-devel
%{_includedir}/%{_export_dir}
%{_libdir}/%{_export_dir}/lib*.so
%{_libdir}/%{_export_dir}/libdns-export.so
%{_libdir}/%{_export_dir}/libirs-export.so
%{_libdir}/%{_export_dir}/libisc-export.so
%{_libdir}/%{_export_dir}/libisccfg-export.so
%dir %{_includedir}/%{_export_dir}
%{_includedir}/%{_export_dir}/dns
%{_includedir}/%{_export_dir}/dst
%{_includedir}/%{_export_dir}/irs
%{_includedir}/%{_export_dir}/isc
%dir %{_includedir}/%{_export_dir}/pk11
%{_includedir}/%{_export_dir}/pk11/site.h
%{_includedir}/%{_export_dir}/isccfg
%{_includedir}/%{_export_dir}/config.h
%{_mandir}/man1/isc-export-config.sh.1*
%{_mandir}/man1/bind9-export-config.1*
%{_bindir}/isc-export-config.sh
%{_bindir}/bind9-export-config
%endif
%changelog