Hello community,

here is the log from the commit of package haveged for openSUSE:Factory checked 
in at 2013-03-26 16:13:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haveged (Old)
 and      /work/SRC/openSUSE:Factory/.haveged.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "haveged", Maintainer is "mvysko...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/haveged/haveged.changes  2013-02-08 
07:09:30.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes     2013-03-26 
16:13:11.000000000 +0100
@@ -1,0 +2,12 @@
+Tue Mar 26 14:19:46 UTC 2013 - mvysko...@suse.com
+
+- add autoconf to BuildRequires
+- explain the need for autoreconf
+- tag haveged-ppc.patch
+
+-------------------------------------------------------------------
+Wed Mar 20 23:28:42 UTC 2013 - crrodrig...@opensuse.org
+
+- Remove all sysvinit compatibility. 
+
+-------------------------------------------------------------------

Old:
----
  haveged.init

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

Other differences:
------------------
++++++ haveged.spec ++++++
--- /var/tmp/diff_new_pack.okx2V3/_old  2013-03-26 16:13:12.000000000 +0100
+++ /var/tmp/diff_new_pack.okx2V3/_new  2013-03-26 16:13:12.000000000 +0100
@@ -24,23 +24,15 @@
 Group:          System/Daemons
 Url:            http://www.issihosts.com/haveged/
 Source0:        http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz
-Source1:        %{name}.init
 Source2:        %{name}.service
+#PATCH-FIX-OPENSUSE: mvyskocil: sent upstream
 Patch0:         haveged-ppc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  automake
-Requires(pre): %insserv_prereq 
-%if 0%{suse_version} >= 1140
-Requires(pre):  sysvinit(syslog)
-%endif
-Requires(post):         grep util-linux
 Enhances:       openssl gpg2 php5 apache2 openvpn smtp_daemon
-%{!?_initddir: %global _initddir /etc/init.d} 
-%if 0%{?suse_version} > 1140
-BuildRequires:  systemd
+BuildRequires:  autoconf
+BuildRequires:  libtool
+BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
-%define have_systemd 1
-%endif
 
 %description
 The haveged daemon feeds the linux entropy pool with random
@@ -72,12 +64,11 @@
 %patch0 -p1
 
 %build
-%if 0%{?suse_version} < 1220
+# mvyskocil: needed because of haveged-ppc.patch
 autoreconf -fiv
-%endif
 export CFLAGS="%optflags -fpie"
 export LDFLAGS="-Wl,-z,relro,-z,now -pie"
-%configure \
+%configure --disable-static \
     --enable-nistest=yes \
     --enable-daemon=yes \
     --enable-clock_gettime=yes
@@ -97,42 +88,23 @@
 
 %install
 %makeinstall
-%{__install} -D -m0755 %{S:1} %{buildroot}%{_initddir}/%{name}
-%{__mkdir_p} %{buildroot}%{_sbindir}
-%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
-
-%if 0%{?have_systemd}
 %{__install} -D -m0644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service
-%endif
 %{__rm} -f %{buildroot}%{_libdir}/libhavege.*a
 
 %clean
 %{?buildroot:%__rm -rf "%{buildroot}"}
 
 %post
-# do not enable on condition here, let YAST, kiwi or the user do it.
-%{fillup_and_insserv -f %{name}}
-%if 0%{?have_systemd}
 %service_add_post %{name}.service
-%endif
 
 %postun
-%restart_on_update %{name}
-%{insserv_cleanup}
-%if 0%{?have_systemd}
 %service_del_postun %{name}.service
-%endif
 
 %pre
-%if 0%{?have_systemd}
 %service_add_pre %{name}.service
-%endif
 
 %preun
-%stop_on_removal %{name}
-%if 0%{?have_systemd}
 %service_del_preun %{name}.service
-%endif
 
 %post -n libhavege1 -p /sbin/ldconfig
 
@@ -141,13 +113,9 @@
 %files
 %defattr(-,root,root)
 %doc COPYING
-%{_sbindir}/rc%{name}
 %{_sbindir}/%{name}
-%config %{_initddir}/%{name}
 %doc %{_mandir}/man8/%{name}.8*
-%if 0%{?have_systemd}
 %{_unitdir}/%{name}.service
-%endif
 
 %files devel
 %doc COPYING

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

Reply via email to