From 53fe5653f9392c8c9eba109c8253c2ae1816781e Mon Sep 17 00:00:00 2001 From: radek Date: Sat, 1 Jul 2006 10:05:57 +0000 Subject: [PATCH] - version 2.14 - FHS fix: moved from /sbin to /usr/sbin (depends on /usr/lib) - removed *.h from docs (not that interesting...) Changed files: dhcdbd.spec -> 1.11 --- dhcdbd.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dhcdbd.spec b/dhcdbd.spec index 3c53b8e..b00bdf3 100644 --- a/dhcdbd.spec +++ b/dhcdbd.spec @@ -1,17 +1,17 @@ # # TODO: # - move header file to -devel -# - split an -init +# - split an -init (what for? --radek) # Summary: DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS, stores and presents DHCP options Summary(pl): Demon DHCP D-BUS (dhcdbd) - sterowanie sesjami dhclient przy u¿yciu D-BUS, przechowywanie opcji DHCP Name: dhcdbd -Version: 1.12 +Version: 1.14 Release: 0.1 License: GPL Group: Networking/Daemons Source0: http://people.redhat.com/~jvdias/dhcdbd/%{name}-%{version}.tar.gz -# Source0-md5: f84f00d10643193fb5e6ee08ccfc0b09 +# Source0-md5: 1180dee7a51a4384d55768650634cf93 Source1: %{name}.init URL: http://people.redhat.com/~jvdias/dhcdbd/ BuildRequires: dbus-devel >= 0.33 @@ -22,8 +22,6 @@ Requires: dhcp-client >= 3:3.0.3-3 Requires: rc-scripts BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sbindir /sbin - %description DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS, stores and presents DHCP options. @@ -43,11 +41,13 @@ a tak %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/rc.d/init.d +install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +mv $RPM_BUILD_ROOT{/sbin/dhcdbd,%{_sbindir}} + install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcdbd %clean @@ -69,7 +69,7 @@ fi %files %defattr(644,root,root,755) -%doc README LICENSE dhcp_options.h dhcdbd.h dbus_service.h +%doc README LICENSE %attr(755,root,root) %{_sbindir}/dhcdbd %attr(754,root,root) /etc/rc.d/init.d/dhcdbd %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/dhcdbd.conf -- 2.44.0