Hello community,

here is the log from the commit of package cpio for openSUSE:Factory checked in 
at 2015-03-23 12:11:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpio (Old)
 and      /work/SRC/openSUSE:Factory/.cpio.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpio"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpio/cpio.changes        2015-01-08 
23:01:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes   2015-03-23 
12:11:31.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Mar 16 18:54:59 UTC 2015 - [email protected]
+
+- Add gpg signature
+- Correct info scriplet dependencies
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------

New:
----
  cpio-2.11.tar.bz2.sig
  cpio.keyring

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

Other differences:
------------------
++++++ cpio.spec ++++++
--- /var/tmp/diff_new_pack.VnXsBM/_old  2015-03-23 12:11:32.000000000 +0100
+++ /var/tmp/diff_new_pack.VnXsBM/_new  2015-03-23 12:11:32.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cpio
 #
-# Copyright (c) 2015 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
@@ -17,15 +17,15 @@
 
 
 Name:           cpio
-Url:            http://www.gnu.org/software/cpio/cpio.html
-BuildRequires:  autoconf
-BuildRequires:  automake
 Version:        2.11
 Release:        0
 Summary:        A Backup and Archiving Utility
 License:        GPL-3.0
 Group:          Productivity/Archiving/Backup
-Source:         http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
+Url:            http://www.gnu.org/software/cpio/cpio.html
+Source0:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
+Source1:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2.sig
+Source2:        %{name}.keyring
 Patch2:         cpio-use_new_ascii_format.patch
 #oouch what a ...?! pieces of code grabed from mt_st package to add missing 
functionality (e.g. density info)
 Patch3:         cpio-mt.patch
@@ -44,10 +44,12 @@
 Patch24:        cpio-check_for_symlinks.patch
 Patch25:        cpio-fix_truncation_check.patch
 Patch26:        0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch
-
-PreReq:         %install_info_prereq
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf
+BuildRequires:  automake
+Requires(post): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
 Recommends:     %{name}-lang = %{version}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 GNU cpio is a program to manage archives of files. This package also
@@ -61,16 +63,10 @@
 this package. If you are planning to use the remote tape features
 provided by cpio, install the 'dump' package as well.
 
-
-
-Authors:
---------
-    David J. MacKenzie <[email protected]>
-    Jim Meyering <[email protected]>
-
 %lang_package
+
 %prep
-%setup
+%setup -q
 %patch2 
 %patch3 
 %patch4
@@ -92,7 +88,7 @@
 %build
 gettextize -f
 autoreconf --force --install
-CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" \
+CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" \
 LDFLAGS="-pie" \
 ./configure  \
     --with-rmt="%{_sysconfdir}/rmt" \
@@ -105,17 +101,17 @@
 make %{?_smp_mflags}
 
 %install
-mkdir -p $RPM_BUILD_ROOT/{usr/bin,bin}
-make prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT/%_infodir 
mandir=$RPM_BUILD_ROOT/%_mandir install
+mkdir -p %{buildroot}/{usr/bin,bin}
+make prefix=%{buildroot}/usr infodir=%{buildroot}/%{_infodir} 
mandir=%{buildroot}/%{_mandir} install
 #UsrMerge 
-ln -sf %_bindir/cpio $RPM_BUILD_ROOT/bin
+ln -sf %{_bindir}/cpio %{buildroot}/bin
 #EndUsrMerge 
 %find_lang %{name}
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
-%postun
+%preun
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
 %files
@@ -123,13 +119,14 @@
 #UsrMerge 
 /bin/cpio
 #EndUsrMerge 
-%_bindir/cpio
-%_bindir/mt
+%{_bindir}/cpio
+%{_bindir}/mt
 %doc %{_infodir}/cpio.info.gz
 %doc %{_mandir}/man1/cpio.1.gz
 %doc %{_mandir}/man1/mt.1.gz
 #/usr/share/locale/*/LC_MESSAGES/cpio.mo
 
 %files lang -f %{name}.lang
+%defattr(-,root,root)
 
 %changelog

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

Reply via email to