diff --git a/cdemu-daemon.changes b/cdemu-daemon.changes index c26c734..f312282 100644 --- a/cdemu-daemon.changes +++ b/cdemu-daemon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 19 20:02:02 UTC 2012 - jengelh@inai.de + +- Remove cdemud-launch helper, this caused too much confusion. + ------------------------------------------------------------------- Tue May 29 08:47:19 UTC 2012 - jengelh@inai.de diff --git a/cdemu-daemon.spec b/cdemu-daemon.spec index 7acbe6c..f948e32 100644 --- a/cdemu-daemon.spec +++ b/cdemu-daemon.spec @@ -14,6 +14,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: cdemu-daemon Version: 1.5.0 Release: 0 @@ -22,15 +24,20 @@ License: GPL-2.0+ Group: System/Daemons Url: http://cdemu.sf.net/ +#Freecode-URL: https://freecode.com/projects/cdemu-for-linux Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 -Source3: cdemu-daemon.sysconfig -Patch1: logfile.diff +Source3: cdemu-daemon.sysconfig +Patch1: logfile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: autoconf >= 2.59 -BuildRequires: pkgconfig pkgconfig(glib-2.0) >= 2.28 -BuildRequires: pkgconfig(gobject-2.0) >= 2.28 pkgconfig(gmodule-2.0) >= 2.28 -BuildRequires: pkgconfig(gthread-2.0) >= 2.28, pkgconfig(gio-2.0) >= 2.28 -BuildRequires: pkgconfig(ao) >= 0.8.0, pkgconfig(libmirage) >= 1.5.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(ao) >= 0.8.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.28 +BuildRequires: pkgconfig(glib-2.0) >= 2.28 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.28 +BuildRequires: pkgconfig(gobject-2.0) >= 2.28 +BuildRequires: pkgconfig(gthread-2.0) >= 2.28 +BuildRequires: pkgconfig(libmirage) >= 1.5.0 %description cdemu-daemon receives SCSI commands from kernel module thorugh the @@ -55,13 +62,6 @@ make %{?_smp_mflags}; b="%buildroot"; make install DESTDIR="$b"; mkdir -p "$b/%_sbindir"; -cat >"$b/%_sbindir/cdemud-launch" <<-EOF; - #!/bin/sh - modprobe -q sg; - modprobe -q vhba; - exec /usr/bin/cdemud "$@"; -EOF -chmod a+x "$b/%_sbindir/cdemud-launch"; mkdir -p "$b/%_localstatedir/adm/fillup-templates"; install -pm0644 "%{S:3}" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon"; # Not desired @@ -70,7 +70,6 @@ rm -Rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d"; %files %defattr(-,root,root) %_bindir/cdemud -%_sbindir/cdemud-launch %_libexecdir/cdemu-daemon-*.sh %_datadir/dbus-1 %_mandir/man8/cdemud.8*