Prepare devel subpackage installable multiple times
Only bind-dyndb-ldap uses devel package. Move includes and libraries to contain major version. That should allow to install both bind9.18-devel and bind9.20-devel at the same time. Needed to build multiple bind-dyndb-ldap plugin versions for different variants.
This commit is contained in:
parent
665ca65ada
commit
adca4b9135
1 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,6 @@
|
|||
|
||||
%global forgeurl0 https://gitlab.isc.org/isc-projects/bind9
|
||||
|
||||
|
||||
%define major_ver() %{lua: \
|
||||
local ver = rpm.expand("%{1}"); \
|
||||
local s, e; \
|
||||
|
|
@ -57,6 +56,7 @@
|
|||
end; \
|
||||
}
|
||||
|
||||
|
||||
# libisc-nosym requires to be linked with unresolved symbols
|
||||
# When libisc-nosym linking is fixed, it can be defined to 1
|
||||
# Visit https://bugzilla.redhat.com/show_bug.cgi?id=1540300
|
||||
|
|
@ -616,8 +616,8 @@ touch ${RPM_BUILD_ROOT}/%{chroot_prefix}%{_sysconfdir}/named.conf
|
|||
#end chroot
|
||||
|
||||
%make_install PROGRAM_SUFFIX="%{program_suffix}"
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/bind9/bind9
|
||||
sed -e 's/PACKAGE_/BIND9_/' config.h > ${RPM_BUILD_ROOT}%{_includedir}/bind9/bind9/config.h
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{bind_include}/bind9
|
||||
sed -e 's/PACKAGE_/BIND9_/' config.h > ${RPM_BUILD_ROOT}%{bind_include}/bind9/config.h
|
||||
|
||||
# Remove unwanted files
|
||||
rm -f ${RPM_BUILD_ROOT}/etc/bind.keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue