Hello community,

here is the log from the commit of package scsirastools for openSUSE:Factory 
checked in at 2019-04-09 20:18:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scsirastools (Old)
 and      /work/SRC/openSUSE:Factory/.scsirastools.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scsirastools"

Tue Apr  9 20:18:35 2019 rev:20 rq:692372 version:1.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/scsirastools/scsirastools.changes        
2019-04-01 12:37:35.281892243 +0200
+++ /work/SRC/openSUSE:Factory/.scsirastools.new.3908/scsirastools.changes      
2019-04-09 20:18:35.493834720 +0200
@@ -1,0 +2,8 @@
+Fri Mar 29 10:17:12 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Combine %service_* to reduce generated boilerplate.
+- %service_* needs systemd-rpm-macros.
+- Install service files with standard permissions.
+- Modernize specfile macros a bit.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ scsirastools.spec ++++++
--- /var/tmp/diff_new_pack.NwZQu3/_old  2019-04-09 20:18:36.065835499 +0200
+++ /var/tmp/diff_new_pack.NwZQu3/_new  2019-04-09 20:18:36.065835499 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -32,9 +32,10 @@
 Patch4:         %{name}-stop-using-var-lock-subsys.patch
 Patch5:         %{name}-add-systemd-support.patch
 BuildRequires:  automake
+BuildRequires:  systemd-rpm-macros
 Requires:       mdadm
-PreReq:         %insserv_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%{?systemd_ordering}
 
 %description
 Hard disks are the most commonly replaced system elements, and are
@@ -67,12 +68,7 @@
 The scsiras patches are not currently included in our kernel.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+%autosetup -p1
 
 %build
 autoreconf -fi
@@ -80,7 +76,7 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 # lets use /sbin
 mv %{buildroot}%{_sbindir}/* %{buildroot}/sbin/
 # systemd support
@@ -89,8 +85,8 @@
 mv %{buildroot}%{_initddir}/sgraid %{buildroot}%{_datadir}/scsirastools/scripts
 mv %{buildroot}%{_initddir}/sgdisk %{buildroot}%{_datadir}/scsirastools/scripts
 install -d %{buildroot}%{_unitdir}
-install -m 444 %{SOURCE1} %{buildroot}%{_unitdir}
-install -m 444 %{SOURCE2} %{buildroot}%{_unitdir}
+install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
+install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}
 
 %files
 %defattr(-,root,root)
@@ -109,19 +105,15 @@
 %doc %{_defaultdocdir}/%{name}
 
 %pre
-%service_add_pre sgdisk.service
-%service_add_pre sgraid.service
+%service_add_pre sgdisk.service sgraid.service
 
 %post
-%service_add_post sgdisk.service
-%service_add_post sgraid.service
+%service_add_post sgdisk.service sgraid.service
 
 %preun
-%service_del_preun sgdisk.service
-%service_del_preun sgraid.service
+%service_del_preun sgdisk.service sgraid.service
 
 %postun
-%service_del_postun sgdisk.service
-%service_del_postun sgraid.service
+%service_del_postun sgdisk.service sgraid.service
 
 %changelog


Reply via email to