1
0
forked from pool/cdemu-daemon

Revert back to original lines to cut down the diff

OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-daemon?expand=0&rev=24
This commit is contained in:
Jan Engelhardt 2014-07-14 14:31:03 +00:00 committed by Git OBS Bridge
parent aa134736dc
commit 521e6cdd7f

View File

@ -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