Hello community, here is the log from the commit of package scsirastools for openSUSE:Factory checked in at 2015-03-18 13:08:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scsirastools (Old) and /work/SRC/openSUSE:Factory/.scsirastools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scsirastools" Changes: -------- --- /work/SRC/openSUSE:Factory/scsirastools/scsirastools.changes 2012-10-31 07:03:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.scsirastools.new/scsirastools.changes 2015-03-18 13:08:32.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Mar 16 21:08:35 UTC 2015 - [email protected] + +- Cleanup spec file with spec-cleaner +- Use %configure macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scsirastools.spec ++++++ --- /var/tmp/diff_new_pack.QRhQvP/_old 2015-03-18 13:08:33.000000000 +0100 +++ /var/tmp/diff_new_pack.QRhQvP/_new 2015-03-18 13:08:33.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package scsirastools # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,18 @@ Name: scsirastools Version: 1.6.4 -Release: 17.11 -BuildRequires: automake -Requires: mdadm +Release: 0 Summary: Serviceability for SCSI Disks and Arrays License: BSD-3-Clause Group: Hardware/Other +Url: http://scsirastools.sourceforge.net/ Source: http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.gz -Patch: %{name}-1.6.4-SUSE.diff +Patch0: %{name}-1.6.4-SUSE.diff Patch2: %{name}-install Patch3: %{name}-single-dev.diff Patch4: %{name}-stop-using-var-lock-subsys.patch -Url: http://scsirastools.sourceforge.net/ +BuildRequires: automake +Requires: mdadm BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,50 +62,35 @@ The scsiras patches are not currently included in our kernel. - - -Authors: --------- - Andy Cress <[email protected]> - Tariq Shureih <[email protected]> - %prep -%setup -%patch -p1 +%setup -q +%patch0 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build autoreconf -fi -CFLAGS="$RPM_OPT_FLAGS" ./configure --with-infodir=%{_infodir} \ - --with-mandir=%{_mandir} --libdir=%{_libdir} --sysconfdir=/etc \ - --with-docdir=%{_defaultdocdir} --datadir=/usr/share \ - --prefix=/usr --sharedstatedir=/var -make +%configure +make %{?_smp_mflags} %install -#test ! -z "$RPM_BUILD_ROOT" -a ! "$RPM_BUILD_ROOT" = "/" && rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -#mv $RPM_BUILD_ROOT/usr/share/scsirastools/mdadm $RPM_BUILD_ROOT/sbin/mdadm_srt -#mv $RPM_BUILD_ROOT/usr/share/scsirastools/mdadm.8 $RPM_BUILD_ROOT/%%{_mandir}/man8/mdadm_srt.8 +make DESTDIR=%{buildroot} install %{?_smp_mflags} +# lets use /sbin +mv %{buildroot}%{_sbindir}/* %{buildroot}/sbin/ %files %defattr(-,root,root) /sbin/sg* /sbin/md* /sbin/getmd -%config /etc/init.d/sgraid -%config /etc/init.d/sgdisk +%config %{_initddir}/sgraid +%config %{_initddir}/sgdisk %{_mandir}/man8/sg*.8.gz -#%%{_mandir}/man8/md*.8.gz -%dir /usr/share/scsirastools -/usr/share/scsirastools/*.mdf -/usr/share/scsirastools/rescan-scsi-bus.sh +%dir %{_datadir}/scsirastools +%{_datadir}/scsirastools/*.mdf +%{_datadir}/scsirastools/rescan-scsi-bus.sh %doc %{_defaultdocdir}/%{name} -#%%files firmware -#/usr/share/scsirastools/*.lod -#/usr/share/scsirastools/*.tms %preun %stop_on_removal @@ -114,8 +99,4 @@ %insserv_cleanup %restart_on_update -%clean -test ! -z "RPM_BUILD_ROOT" -a ! "$RPM_BUILD_ROOT" = "/" && rm -rf $RPM_BUILD_ROOT -rm -rf $RPM_BUILD_DIR/%{name}-%{version} - %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
