- Use versioned provides
- Use spaces instead of tabs and minor cleanup
This commit is contained in:
parent
3931fea548
commit
128dd7c787
10
bind.spec
10
bind.spec
@ -11,7 +11,6 @@
|
||||
## The order of libs is important. See lib/Makefile.in for details
|
||||
%define bind_export_libs isc dns isccfg irs
|
||||
%{!?_export_dir:%global _export_dir /bind9-export/}
|
||||
%{!?_export_includedir:%global _export_includedir %{_includedir}/bind9-export}
|
||||
|
||||
%{?!SDB: %global SDB 1}
|
||||
%{?!unittest: %global unittest 1}
|
||||
@ -263,7 +262,7 @@ Group: Applications/System
|
||||
BuildArch:noarch
|
||||
%if 0%{?fedora} >= 1
|
||||
Obsoletes: bind99-license < 9.9.11-3
|
||||
Provides: bind99-license
|
||||
Provides: bind99-license = 9.9.11-3
|
||||
%endif
|
||||
|
||||
%description license
|
||||
@ -407,7 +406,7 @@ Group: System Environment/Libraries
|
||||
Requires: bind-license = %{epoch}:%{version}-%{release}
|
||||
%if 0%{?fedora} >= 1
|
||||
Obsoletes: bind99-libs < 9.9.11-3
|
||||
Provides: bind99-libs
|
||||
Provides: bind99-libs = 9.9.11-3
|
||||
%endif
|
||||
|
||||
%description export-libs
|
||||
@ -421,7 +420,7 @@ Group: Development/Libraries
|
||||
Requires: %{name}-export-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%if 0%{?fedora} >= 1
|
||||
Obsoletes: bind99-libs-devel < 9.9.11-3
|
||||
Provides: bind99-libs-devel
|
||||
Provides: bind99-libs-devel = 9.9.11-3
|
||||
%endif
|
||||
|
||||
%description export-devel
|
||||
@ -784,8 +783,6 @@ popd
|
||||
|
||||
%if %{with_export_libs}
|
||||
pushd export-libs
|
||||
## -lirs-export -ldns-export -lisccfg-export -lisc-export
|
||||
## install -d -m 0755 ${RPM_BUILD_ROOT}/%{_libdir}/%{name}-export/
|
||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/ld.so.conf.d
|
||||
echo "%{_libdir}/%{_export_dir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-export-%{_arch}.conf
|
||||
@ -1405,6 +1402,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%changelog
|
||||
* Wed Feb 07 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.2-11.P1
|
||||
- Use versioned provides
|
||||
- Fix starting of unit tests
|
||||
- Forward export libs path to isc-config
|
||||
- Rename export devel subpackage to bind-export-devel
|
||||
|
Loading…
Reference in New Issue
Block a user