Hello community,

here is the log from the commit of package gzrt for openSUSE:Factory checked in 
at 2020-01-10 17:50:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gzrt (Old)
 and      /work/SRC/openSUSE:Factory/.gzrt.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gzrt"

Fri Jan 10 17:50:46 2020 rev:2 rq:762834 version:0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/gzrt/gzrt.changes        2015-04-27 
22:09:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gzrt.new.6675/gzrt.changes      2020-01-10 
17:51:07.682118040 +0100
@@ -1,0 +2,5 @@
+Fri Jan 10 13:33:41 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Modernise spec file
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gzrt.spec ++++++
--- /var/tmp/diff_new_pack.787NOv/_old  2020-01-10 17:51:08.614117873 +0100
+++ /var/tmp/diff_new_pack.787NOv/_new  2020-01-10 17:51:08.618117873 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gzrt
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2015, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,34 +21,32 @@
 Version:        0.8
 Release:        0
 Summary:        Recover data from a corrupted gzip file
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Archiving/Compression
-Url:            http://www.urbanophile.com/arenn/hacking/gzrt/gzrt.html
+URL:            https://www.urbanophile.com/arenn/hacking/gzrt/gzrt.html
 Source:         
http://www.urbanophile.com/arenn/hacking/gzrt/%{name}-%{version}.tar.gz
 Patch0:         grzt-cflags.diff
 BuildRequires:  zlib-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 gzrecover is a program that will attempt to extract any readable data
 out of a gzip file that has been corrupted.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
-export CFLAGS="%{optflags}"
-make %{?_smp_mflags}
+%make_build
 
 %install
-install -Dpm 0755 gzrecover %{buildroot}/%{_bindir}/gzrecover
-install -Dpm 0644 gzrecover.1 %{buildroot}/%{_mandir}/man1/gzrecover.1
+install -Dpm 0755 gzrecover \
+  %{buildroot}/%{_bindir}/gzrecover
+install -Dpm 0644 gzrecover.1 \
+  %{buildroot}/%{_mandir}/man1/gzrecover.1
 
 %files
-%defattr(-,root,root)
-%doc ChangeLog README README.build
+%doc ChangeLog README
 %{_bindir}/gzrecover
-%{_mandir}/man1/gzrecover.1*
+%{_mandir}/man1/gzrecover.1%{?ext_man}
 
 %changelog


Reply via email to