SHA256
1
0
forked from pool/dhcp

- Install missed bind include files and libraries in dhcp-devel;

conflicts to bind-devel providing different versions (bnc#805162).

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=106
This commit is contained in:
Marius Tomaschewski 2013-04-02 09:23:05 +00:00 committed by Git OBS Bridge
parent 55d008c14d
commit a825ac6257
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 2 09:16:44 UTC 2013 - mt@suse.com
- Install missed bind include files and libraries in dhcp-devel;
conflicts to bind-devel providing different versions (bnc#805162).
-------------------------------------------------------------------
Thu Mar 28 07:39:53 UTC 2013 - mt@suse.com

View File

@ -127,6 +127,7 @@ PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp
Summary: Header Files and Libraries for dhcpctl API
Group: Development/Libraries/C and C++
Requires: dhcp = %{version}
Conflicts: bind-devel
%if %{with_doc_package}
@ -395,6 +396,17 @@ cp doc/examples/* ./examples/
rm -f doc/{References.xml,Makefile*}
rm -f contrib/dhcp.spec
rm -f $RPM_BUILD_ROOT/etc/{dhcpd,dhclient}.conf.example
# install bind libs+includes needed for dhcp-devel
pushd bind
install -d -m0755 $RPM_BUILD_ROOT%_includedir/
for i in include/* ; do
cp -r $i $RPM_BUILD_ROOT%_includedir/
done
install -d -m0755 $RPM_BUILD_ROOT%_libdir/
for l in lib/lib*.a ; do
install -m0644 $l $RPM_BUILD_ROOT%_libdir/
one
popd
%pre server
/usr/sbin/useradd -r -g nogroup -s /bin/false -c "DHCP server daemon" -d /var/lib/dhcp dhcpd 2> /dev/null ||: