- 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:
parent
55d008c14d
commit
a825ac6257
@ -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
|
Thu Mar 28 07:39:53 UTC 2013 - mt@suse.com
|
||||||
|
|
||||||
|
12
dhcp.spec
12
dhcp.spec
@ -127,6 +127,7 @@ PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp
|
|||||||
Summary: Header Files and Libraries for dhcpctl API
|
Summary: Header Files and Libraries for dhcpctl API
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: dhcp = %{version}
|
Requires: dhcp = %{version}
|
||||||
|
Conflicts: bind-devel
|
||||||
|
|
||||||
%if %{with_doc_package}
|
%if %{with_doc_package}
|
||||||
|
|
||||||
@ -395,6 +396,17 @@ cp doc/examples/* ./examples/
|
|||||||
rm -f doc/{References.xml,Makefile*}
|
rm -f doc/{References.xml,Makefile*}
|
||||||
rm -f contrib/dhcp.spec
|
rm -f contrib/dhcp.spec
|
||||||
rm -f $RPM_BUILD_ROOT/etc/{dhcpd,dhclient}.conf.example
|
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
|
%pre server
|
||||||
/usr/sbin/useradd -r -g nogroup -s /bin/false -c "DHCP server daemon" -d /var/lib/dhcp dhcpd 2> /dev/null ||:
|
/usr/sbin/useradd -r -g nogroup -s /bin/false -c "DHCP server daemon" -d /var/lib/dhcp dhcpd 2> /dev/null ||:
|
||||||
|
Loading…
Reference in New Issue
Block a user