Hello community,

here is the log from the commit of package setserial for openSUSE:Factory 
checked in at 2014-05-13 20:46:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/setserial (Old)
 and      /work/SRC/openSUSE:Factory/.setserial.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "setserial"

Changes:
--------
--- /work/SRC/openSUSE:Factory/setserial/setserial.changes      2012-11-02 
17:42:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.setserial.new/setserial.changes 2014-05-13 
20:46:14.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 12 14:24:51 UTC 2014 - [email protected]
+
+- Clean up with spec-cleaner.
+- Remove removal of initscript (deprecated 2 years ago)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ setserial.spec ++++++
--- /var/tmp/diff_new_pack.wPApN2/_old  2014-05-13 20:46:15.000000000 +0200
+++ /var/tmp/diff_new_pack.wPApN2/_new  2014-05-13 20:46:15.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package setserial
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,21 +19,20 @@
 Name:           setserial
 Version:        2.17
 Release:        0
-Provides:       util:/sbin/setserial
-PreReq:         %insserv_prereq
-Requires:       /sbin/isserial
-Url:            http://setserial.sourceforge.net
 Summary:        A utility for configuring serial ports
 License:        GPL-2.0+
 Group:          Hardware/Other
+Url:            http://setserial.sourceforge.net
 Source0:        
ftp://tsx-11.mit.edu/pub/linux/sources/sbin/setserial-%{version}.tar.bz2
 Patch0:         %{name}-%{version}-autoconf.diff
 Patch1:         %{name}-%{version}-error.diff
 Patch2:         %{name}-%{version}-prototypes.diff
 Patch3:         %{name}-%{version}-nohayes.diff
 Patch4:         %{name}-%{version}-binaryInUsr.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  groff
+Requires:       /sbin/isserial
+Provides:       util:/sbin/setserial
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Setserial is a basic system utility for displaying or setting serial
@@ -51,27 +50,21 @@
 chmod -x rc.serial
 
 %build
-CFLAGS="$RPM_OPT_FLAGS -Wall" \
+CFLAGS="%{optflags} -Wall" \
 %configure
-make
+make %{?_smp_mflags}
 
 %install
-mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
-mkdir -p ${RPM_BUILD_ROOT}/etc/init.d
-mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
-mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
+mkdir -p %{buildroot}/%{_bindir}
+mkdir -p %{buildroot}%{_sysconfdir}/init.d
+mkdir -p %{buildroot}%{_mandir}/man8
+mkdir -p %{buildroot}%{_sbindir}
 %make_install STRIP=:
 #UsrMerge
-mkdir -p ${RPM_BUILD_ROOT}/bin
-ln -sf %{_bindir}/setserial ${RPM_BUILD_ROOT}/bin
+mkdir -p %{buildroot}/bin
+ln -sf %{_bindir}/setserial %{buildroot}/bin
 #EndUsrMerge
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%postun
-%{insserv_cleanup}
-
 %files
 %defattr(-,root,root)
 %doc README setserial.lsm rc.serial

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to