Hello community,

here is the log from the commit of package libtar for openSUSE:Factory checked 
in at 2018-07-06 10:42:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtar (Old)
 and      /work/SRC/openSUSE:Factory/.libtar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtar"

Fri Jul  6 10:42:33 2018 rev:2 rq:620726 version:1.2.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtar/libtar.changes    2017-05-03 
15:55:48.563921357 +0200
+++ /work/SRC/openSUSE:Factory/.libtar.new/libtar.changes       2018-07-06 
10:42:33.955214022 +0200
@@ -1,0 +2,5 @@
+Fri Apr 13 08:43:24 UTC 2018 - mplus...@suse.com
+
+- Small packaging cleanup
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libtar.spec ++++++
--- /var/tmp/diff_new_pack.nnScdR/_old  2018-07-06 10:42:34.515213356 +0200
+++ /var/tmp/diff_new_pack.nnScdR/_new  2018-07-06 10:42:34.519213351 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libtar
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -22,7 +22,7 @@
 Summary:        Tar file manipulation API
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
-Url:            http://www.feep.net/libtar/
+URL:            http://www.feep.net/libtar/
 Source0:        libtar-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM adding missing headers
 Patch1:         libtar-1.2.11-missing-protos.patch
@@ -39,8 +39,6 @@
 BuildRequires:  fdupes
 BuildRequires:  libtool
 BuildRequires:  zlib-devel
-Requires:       libtar1 = %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 libtar is a C library for manipulating POSIX tar files. It handles adding
@@ -68,15 +66,9 @@
 This package contains devel files for libtar.
 
 %prep
-%setup -q
-%patch1 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
+%autosetup -p1
 
 # set correct version for .so build
-
 %define ltversion %(echo %{version} | tr '.' ':')
 sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
   lib/Makefile.in
@@ -85,37 +77,34 @@
 autoreconf -fiv
 %configure \
   --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 # Without this we get no debuginfo and stripping
 chmod +x %{buildroot}%{_libdir}/libtar.so.%{version}
 
-%fdupes -s %{buildroot}%{_mandir}
+%fdupes %{buildroot}%{_mandir}
 # we dont want to ship these
 find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n libtar1 -p /sbin/ldconfig
-
 %postun -n libtar1 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc COPYRIGHT TODO README ChangeLog*
+%license COPYRIGHT
+%doc TODO README ChangeLog*
 %{_bindir}/%{name}
 
 %files -n libtar1
-%defattr(-,root,root,-)
-%doc COPYRIGHT
+%license COPYRIGHT
 %{_libdir}/libtar.so.*
 
 %files devel
-%defattr(-,root,root,-)
-%doc COPYRIGHT
+%license COPYRIGHT
 %{_includedir}/libtar.h
 %{_includedir}/libtar_listhash.h
 %{_libdir}/libtar.so
-%{_mandir}/man3/*.3*
+%{_mandir}/man3/*.3%{?ext_man}
 
 %changelog


Reply via email to