diff --git a/cdemu-daemon.spec b/cdemu-daemon.spec index 60b2719..c5a3488 100644 --- a/cdemu-daemon.spec +++ b/cdemu-daemon.spec @@ -26,8 +26,8 @@ Url: http://cdemu.sf.net/about/daemon/ #Git-Clone: git://git.code.sf.net/p/cdemu/code Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 -Source1: cdemu-daemon.sysconfig Source2: 60-vhba.rules +Source3: cdemu-daemon.sysconfig Patch1: logfile.diff BuildRequires: cmake >= 2.8.5 BuildRequires: pkgconfig @@ -65,8 +65,8 @@ make %{?_smp_mflags} b="%buildroot" %make_install mkdir -p "$b/%_sbindir" "$b/%_localstatedir/adm/fillup-templates" -install -Dm 0644 "%SOURCE1" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon" -install -Dm 0644 "%SOURCE2" "$b/%_prefix/lib/udev/rules.d/60-vhba.rules" +install -pm0644 "%{S:2}" "$b/%_prefix/lib/udev/rules.d/60-vhba.rules" +install -pm0644 "%{S:3}" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon" # Not desired for security; it would permit a user to start a system service. rm -rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d/" @@ -75,9 +75,9 @@ rm -rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d/" %doc AUTHORS COPYING README %_bindir/cdemu-daemon %_libexecdir/cdemu-daemon-session.sh -%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon -%_mandir/man8/cdemu-daemon.8* %_datadir/dbus-1/ +%_mandir/man8/cdemu-daemon.8* +%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon %_prefix/lib/udev/ %changelog