Hello community,

here is the log from the commit of package man-pages-posix for openSUSE:Factory 
checked in at 2014-01-30 11:32:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/man-pages-posix (Old)
 and      /work/SRC/openSUSE:Factory/.man-pages-posix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "man-pages-posix"

Changes:
--------
--- /work/SRC/openSUSE:Factory/man-pages-posix/man-pages-posix.changes  
2013-04-23 15:10:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.man-pages-posix.new/man-pages-posix.changes     
2014-01-30 11:32:27.000000000 +0100
@@ -1,0 +2,9 @@
+Sat Jan 25 15:22:29 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 2013a
+* Update to the latest revision of the POSIX standard
+- Feed specfile through formatter; kill redundant %clean section;
+  %fdupes ought not to be called across directories that potentially
+  live across standard partitions
+
+-------------------------------------------------------------------

Old:
----
  man-pages-posix-2003-a.tar.bz2

New:
----
  man-pages-posix-2013-a.tar.xz

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

Other differences:
------------------
++++++ man-pages-posix.spec ++++++
--- /var/tmp/diff_new_pack.y8O4B0/_old  2014-01-30 11:32:28.000000000 +0100
+++ /var/tmp/diff_new_pack.y8O4B0/_new  2014-01-30 11:32:28.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package man-pages-posix
 #
-# Copyright (c) 2013 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
@@ -17,50 +17,52 @@
 
 
 Name:           man-pages-posix
-BuildRequires:  fdupes
-Url:            http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/
-Version:        2003a
+Version:        2013a
 Release:        0
 Summary:        POSIX Manual Pages
 License:        SUSE-IEEE
 Group:          Documentation/Man
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source:         
https://www.kernel.org/pub/linux/docs/man-pages/%{name}/%{name}-2003-a.tar.bz2
+Url:            https://www.kernel.org/doc/man-pages/
+
+Source:         
https://www.kernel.org/pub/linux/docs/man-pages/%name/%name-2013-a.tar.xz
 BuildArch:      noarch
-#split provides for update from <=11.0
-Provides:       man-pages:%{_mandir}/man3p/open.3p.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
+BuildRequires:  xz
 
 %description
-A large collection of man pages (reference material) from the IEEE Std
-1003.1, 2003 Edition, Standard for Information Technology -- Portable
-Operating System Interface (POSIX), The Open Group Base Specifications
-Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and
-Electronics Engineers, Inc and The Open Group. The man pages are 
-organized into the following sections: 0p: POSIX headers 1p: POSIX 
-utilities 3p: POSIX functions
-
+A large collection of man pages (reference material) from
 
+       IEEE Std 1003.1, 2013 Edition, Standard for Information 
+       Technology--Portable Operating System Interface (POSIX), 
+       The Open Group Base Specifications Issue 7, 
+       Copyright (C) 2013 by the Institute of Electrical and 
+       Electronics Engineers, Inc and The Open Group.
+
+The man pages are organized into the following sections:
+* 0p: POSIX headers
+* 1p: POSIX utilities
+* 3p: POSIX functions
 
 %prep
-%setup -q -n man-pages-posix-2003-a
+%setup -qn %name-2013-a
 #find -name "*.orig" | xargs rm -fv
 
 %build
 
 %install
-mkdir -p $RPM_BUILD_ROOT%{_mandir}
 for i in man?p ; do
-  mkdir -p $RPM_BUILD_ROOT%{_mandir}/$i
-  cp -p $i/* $RPM_BUILD_ROOT%{_mandir}/$i/
+  mkdir -p "%buildroot/%_mandir/$i"
+  cp -p "$i"/* "%buildroot/%_mandir/$i/"
 done
-cd $RPM_BUILD_ROOT%{_mandir}
+cd "%buildroot/%_mandir"
 RETVAL=0
 ARE_MISSING=""
 for i in */* ; do
     FOUND=0
-    grep "^.so man" $i && FOUND=1
-    if [ $FOUND == 1 ] ; then
-      if [ ! -f `grep "^.so man" $i | awk '{print $2}'` ]; then
+    grep "^.so man" "$i" && FOUND=1
+    if [ "$FOUND" == 1 ] ; then
+      if [ ! -f `grep "^.so man" "$i" | awk '{print $2}'` ]; then
        ARE_MISSING="$i $ARE_MISSING"
         RETVAL=1
       fi
@@ -68,24 +70,20 @@
 done
 echo ""
 echo "The following manual pages are now missing (for .so reference):"
-echo $ARE_MISSING
+echo "$ARE_MISSING"
 echo ""
-if [ $RETVAL -ne 0 ] ; then
-  exit $RETVAL
+if [ "$RETVAL" -ne 0 ] ; then
+  exit "$RETVAL"
 fi
-%fdupes -s $RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%fdupes -s %buildroot/%_prefix
 
 %files
-%defattr(644,root,root,755)
-%dir %{_mandir}/man?p
-%doc %{_mandir}/man*/*.gz
+%defattr(-,root,root)
+%dir %_mandir/man?p
+%doc %_mandir/man*/*.gz
 %doc README
 %doc POSIX-COPYRIGHT
 %doc man-pages-*.Announce
 %doc man-pages-*.lsm
-%doc Changes
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to