Export libs should distribute own copy of license

This commit is contained in:
Petr Menšík 2018-02-15 23:02:48 +01:00
parent cb2172301b
commit 56e7b0f856

View File

@ -250,10 +250,6 @@ server and utilities in bind-utils package.
Summary: License of the BIND DNS suite
Group: Applications/System
BuildArch:noarch
%if 0%{?fedora} >= 1
Obsoletes: bind99-license < 9.9.11-3
Provides: bind99-license = 9.9.11-3
%endif
%description license
Contains license of the BIND DNS suite.
@ -393,10 +389,10 @@ This package provides a module which allows commands to be sent to rndc directly
%package export-libs
Summary: ISC libs for DHCP application
Group: System Environment/Libraries
Requires: bind-license = %{epoch}:%{version}-%{release}
%if 0%{?fedora} >= 1
Obsoletes: bind99-libs < 9.9.11-3
Provides: bind99-libs = 9.9.11-3
# This subpackage will not use shared license, but distribute its own
%endif
%description export-libs
@ -1361,6 +1357,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/%{_export_dir}/libisc-export.so.169*
%{_libdir}/%{_export_dir}/libisccfg-export.so.160*
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-export-%{_arch}.conf
# This subpackage has to distribute its own license. Do not conflict with
# other subpackages of different version
%license COPYRIGHT
%files export-devel
%defattr(-,root,root,-)