Hello community,

here is the log from the commit of package psmisc for openSUSE:Factory checked 
in at 2013-10-24 14:41:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/psmisc (Old)
 and      /work/SRC/openSUSE:Factory/.psmisc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "psmisc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/psmisc/psmisc.changes    2013-10-17 
20:44:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.psmisc.new/psmisc.changes       2013-10-24 
14:41:24.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Oct 23 14:35:46 UTC 2013 - [email protected]
+
+- Remove %fillup_prereq %insserv_prereq PreReq; package provides
+  neither sysconfigfile or sysvinit script
+- Use %lang_package instead of define a lang subpackage manually
+- Use %configure instead of ./configure
+- Don't define CC and CXX flags manually
+- Remove redundant %clean section
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ psmisc.spec ++++++
--- /var/tmp/diff_new_pack.ybpR4V/_old  2013-10-24 14:41:24.000000000 +0200
+++ /var/tmp/diff_new_pack.ybpR4V/_new  2013-10-24 14:41:24.000000000 +0200
@@ -23,13 +23,10 @@
 BuildRequires:  libselinux-devel
 BuildRequires:  ncurses-devel
 Url:            http://sourceforge.net/projects/psmisc/
-PreReq:         %fillup_prereq %insserv_prereq
 Version:        22.20
 Release:        0
 Provides:       ps:/usr/bin/killall
-%if %suse_version > 1020
-Recommends:     %{name}-lang = 6.18.00
-%endif
+Recommends:     %{name}-lang
 Summary:        Utilities for managing processes on your system
 License:        GPL-2.0+
 Group:          System/Monitoring
@@ -41,7 +38,6 @@
 Patch4:         peekfd-m68k.patch
 Patch42:        %{name}-%{version}-upstream.patch
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define nopeek  s390 s390x ia64 %sparc hppa aarch64
 
 %description
@@ -52,13 +48,7 @@
 processes identified by name.  The fuser command identifies the PIDs of
 processes that are using specified files or filesystems.
 
-%package lang
-Summary:        Languages for package %{name}
-Group:          System/Localization
-Requires:       %{name} = %{version}
-
-%description lang
-Provides translations to the package %{name}
+%lang_package
 
 %prep
 %setup -q
@@ -73,11 +63,8 @@
 autoreconf -fi
 CFLAGS="-D_GNU_SOURCE ${RPM_OPT_FLAGS} -pipe"
 CXXFLAGS="$CFLAGS"
-CC=gcc
-CXX=g++
-export CFLAGS CXXFLAGS CC CXX
-sh ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
-       --disable-rpath         \
+export CFLAGS CXXFLAGS
+%configure     --disable-rpath \
        --with-gnu-ld           \
        --enable-selinux        \
        --enable-mountinfo-list \
@@ -93,9 +80,6 @@
 %endif
 %find_lang psmisc
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr (-,root,root,755)
 /bin/fuser
@@ -114,6 +98,6 @@
 %{_mandir}/man1/prtstat.1*
 %{_mandir}/man1/pstree.1*
 
-%files lang -f psmisc.lang
+%files lang -f %{name}.lang
 
 %changelog

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

Reply via email to