Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2013-10-30 15:51:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and      /work/SRC/openSUSE:Factory/.rng-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rng-tools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes      2013-09-02 
16:50:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-10-30 
15:51:37.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Oct 23 14:45:37 UTC 2013 - p.drou...@gmail.com
+
+- Drop old sysvinit stuff; none of distribution targets use it anymore
+- Remove redundant %clean section
+- Remove useless automake BuildRequires, CFLAGS export and autoreconf call
+  
+-------------------------------------------------------------------

Old:
----
  rng-tools.init

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rng-tools.spec ++++++
--- /var/tmp/diff_new_pack.c6s0fi/_old  2013-10-30 15:51:39.000000000 +0100
+++ /var/tmp/diff_new_pack.c6s0fi/_new  2013-10-30 15:51:39.000000000 +0100
@@ -17,7 +17,6 @@
 
 
 Name:           rng-tools
-BuildRequires:  automake
 BuildRequires:  pkgconfig
 BuildRequires:  trousers-devel
 BuildRequires:  pkgconfig(systemd)
@@ -28,13 +27,10 @@
 Group:          System/Kernel
 Version:        4
 Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://sourceforge.net/projects/gkernel/
 Source:         %{name}-%{version}.tar.bz2 
-Source1:        %name.init
 Source2:        %{name}.service
 Source3:        90-hwrng.rules
-PreReq:         %fillup_prereq
 Supplements:    modalias(pci:v00001022d0000746Bsv*sd*bc*sc*i*)
 Supplements:    modalias(pci:v00001022d00007443sv*sd*bc*sc*i*)
 Supplements:    modalias(pci:v00008086d00002450sv*sd*bc*sc*i*)
@@ -70,9 +66,6 @@
 Supplements:    modalias(pci:v00008086d00002420sv*sd*bc*sc*i*)
 Supplements:    modalias(pci:v00008086d00002410sv*sd*bc*sc*i*)
 Supplements:    modalias(virtio:d00000004v*)
-%if %suse_version > 1130
-PreReq:         sysvinit(syslog)
-%endif
 %{?systemd_requires}
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 
@@ -85,46 +78,34 @@
 %setup -q
 
 %build
-autoreconf --force --install
-export CFLAGS="%optflags"
 %configure
 make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
-install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%name
-%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
 install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 install -D -m 0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-hwrng.rules
+ln -sf /sbin/service %{buildroot}/usr/sbin/rc%{name}
 
 %pre
 %service_add_pre %{name}.service
 
 %post
-%{fillup_and_insserv -n rng-tools rng-tools}
 %service_add_post %{name}.service
 
 %preun
-%stop_on_removal rng-tools
 %service_del_preun %{name}.service
 
 %postun
-%restart_on_update rng-tools
-%insserv_cleanup
 %service_del_postun %{name}.service
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %{_bindir}/rngtest
 %{_sbindir}/rngd
-%{_sbindir}/rc%{name}
 %{_mandir}/man?/*.*.gz
-%config /etc/init.d/%name
 %{_unitdir}/%{name}.service
+%{_sbindir}/rc%{name}
 %{_udevrulesdir}/90-hwrng.rules
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to