Hello community,

here is the log from the commit of package tar for openSUSE:Factory
checked in at Tue Oct 11 17:05:50 CEST 2011.



--------
--- openSUSE:Factory/tar/tar.changes    2011-09-23 12:47:27.000000000 +0200
+++ /mounts/work_src_done/STABLE/tar/tar.changes        2011-10-05 
13:44:43.000000000 +0200
@@ -1,0 +2,16 @@
+Wed Oct  5 11:38:57 UTC 2011 - sweet_...@gmx.de
+
+- minor portability fixes
+
+-------------------------------------------------------------------
+Thu Sep 29 11:32:04 UTC 2011 - sweet_...@gmx.de
+
+- spec cleaner, avoid some deprecated macros
+- fix non-utf8-spec-file
+- fix macro-in-comment
+- enable make check
+- remove upstream-fixed/obsolete patches (fortifysourcessigabrt,
+  disable-listed02-test, disable_languages)
+- call help2man inside specfile instead of paching tar's build chain
+
+-------------------------------------------------------------------
@@ -394 +410 @@
-- Fix detection of remote paths [#38709]. Thanks J�rgen!
+- Fix detection of remote paths [#38709]. Thanks Jürgen!

calling whatdependson for head-i586


Old:
----
  tar-disable-listed02-test.patch
  tar-disable_languages.patch
  tar-fortifysourcessigabrt.patch
  tar-manpage.patch

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

Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.gne30k/_old  2011-10-11 17:05:46.000000000 +0200
+++ /var/tmp/diff_new_pack.gne30k/_new  2011-10-11 17:05:46.000000000 +0200
@@ -16,6 +16,8 @@
 #
 
 
+# minimum suse version where the full featured package builds
+%define min_suse_ver 1010
 
 Name:           tar
 Version:        1.26
@@ -26,16 +28,14 @@
 Group:          System/Base
 Source0:        %{name}-%{version}.tar.bz2
 #
-Patch0:         tar-disable_languages.patch
-Patch1:         tar-disable-listed02-test.patch
-Patch2:         tar-manpage.patch
 Patch3:         tar-wildcards.patch
-Patch5:         tar-fortifysourcessigabrt.patch
 Patch6:         tar-backup-spec-fix-paths.patch
+%if 0%{?suse_version} >= %min_suse_ver
 BuildRequires:  help2man
-PreReq:         %install_info_prereq
-Recommends:     tar-lang = %version
+Recommends:     tar-lang = %{version}
 Recommends:     xz
+%endif
+Requires(pre):  info
 Provides:       base:/bin/tar
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define _bindir  /bin
@@ -52,26 +52,19 @@
 License:        GPLv3+
 Summary:        Backup scripts
 Group:          Productivity/Archiving/Backup
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name} = %{version}
 
 %description backup-scripts
 Shell scripts for system backup/restore
 
-%lang_package
+%{?lang_package}
+
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 %patch3 -p1
-%patch5 -p1
 %patch6 -p1
 
 %build
-rm -f po/no.* po/ky.*
-#autoreconf -fi
-aclocal -I m4
-automake --force --add-missing
 %define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes 
-Wformat-security -Wno-unused-parameter
 export CFLAGS="%{optflags} %my_cflags"
 export RSH="/usr/bin/rsh"
@@ -81,21 +74,21 @@
 make %{?_smp_mflags};
 
 %check
-#%ifarch %arm
-#make check || true
-#%else
-#make check
-#%endif
+make check
 
 %install
-%make_install
+%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
+%if 0%{?suse_version} >= %min_suse_ver
+install -d -m 755 %{buildroot}/%{_mandir}/man1
+help2man ./src/tar --name "The GNU version of the tar archiving utility" -p 
tar \
+        | gzip -c > %{buildroot}/%{_mandir}/man1/tar.1.gz
+%endif
 install -d -m 755 %{buildroot}%{_sysconfdir}/backup
 install -D -m 644 scripts/backup-specs 
%{buildroot}%{_sysconfdir}/backup/backup-specs
 rm -rf %{buildroot}%{_libexecdir}/rmt
+rm -f %{buildroot}%{_infodir}/dir
 %find_lang %{name}
 
-%files lang -f %{name}.lang
-
 %files backup-scripts
 %defattr(-,root, root)
 %{_sbindir}/backup
@@ -105,12 +98,22 @@
 %dir %{_sysconfdir}/backup
 %config(noreplace) %{_sysconfdir}/backup/backup-specs
 
+%if 0%{?lang_package:1}
+
+%files lang -f %{name}.lang
+
 %files
+%else
+
+%files -f %{name}.lang
+%endif
 %defattr(-, root, root)
 %{_bindir}/tar
 %doc README* ABOUT-NLS AUTHORS COPYING NEWS THANKS ChangeLog TODO
-%{_infodir}/tar.info*.gz
+%{_infodir}/tar.info*
+%if 0%{?suse_version} >= %min_suse_ver
 %{_mandir}/man1/tar.1.gz
+%endif
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

continue with "q"...



Remember to have fun...

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

Reply via email to