Hello community, here is the log from the commit of package pdisk for openSUSE:Factory checked in at 2020-03-31 17:16:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pdisk (Old) and /work/SRC/openSUSE:Factory/.pdisk.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdisk" Tue Mar 31 17:16:01 2020 rev:19 rq:790013 version:0.8a Changes: -------- --- /work/SRC/openSUSE:Factory/pdisk/pdisk.changes 2013-12-16 16:37:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pdisk.new.3160/pdisk.changes 2020-03-31 17:16:07.071660847 +0200 @@ -1,0 +2,5 @@ +Tue Jan 28 16:32:58 UTC 2020 - Martin Pluskal <mplus...@suse.com> + +- Modernise spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdisk.spec ++++++ --- /var/tmp/diff_new_pack.3zzIiZ/_old 2020-03-31 17:16:08.415661701 +0200 +++ /var/tmp/diff_new_pack.3zzIiZ/_new 2020-03-31 17:16:08.415661701 +0200 @@ -1,7 +1,7 @@ # # spec file for package pdisk # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,17 @@ # 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/ # Name: pdisk +Version: 0.8a +Release: 0 Summary: Partitioning tool for PPC Macs License: MIT Group: System/Base -Version: 0.8a -Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://www.cfcl.com/~eryk/linux/pdisk/ +URL: http://www.cfcl.com/~eryk/linux/pdisk/ #Ftp: ftp://cfcl.com/pub/ev/ Source: pdisk.tar.gz Patch1: pdisk.makefile-gcc.patch @@ -47,49 +46,21 @@ %description This tool allows you to edit Mac partition tables. - - -Authors: --------- - Eryk Vershen <e...@apple.com> - %prep -%setup -q -n pdisk -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 +%autosetup -n pdisk -p1 %build -make CFLAGS="$RPM_OPT_FLAGS -Wall -D_FILE_OFFSET_BITS=64" %{?_smp_mflags} +%make_build CFLAGS="%{optflags} -Wall -D_FILE_OFFSET_BITS=64" %install -rm -rf $RPM_BUILD_ROOT -mkdir $RPM_BUILD_ROOT -mkdir $RPM_BUILD_ROOT/sbin -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 -install -m755 pdisk $RPM_BUILD_ROOT/sbin/pdisk -install -m444 pdisk.8 $RPM_BUILD_ROOT%{_mandir}/man8/pdisk.8 - -%clean -rm -rf $RPM_BUILD_ROOT +install -Dpm 0755 pdisk \ + %{buildroot}/sbin/pdisk +install -Dpm 0444 pdisk.8 \ + %{buildroot}%{_mandir}/man8/pdisk.8 %files -%defattr(-,root,root) -/sbin/pdisk -%{_mandir}/man8/pdisk.8.gz %doc README pdisk.html +/sbin/pdisk +%{_mandir}/man8/pdisk.8%{?ext_man} %changelog