The package rpms/gpart.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gpart.git/commit/?id=35e704d66d4b....
Change:
-ExcludeArch: s390 s390x
Thanks.
Full change:
============
commit 35e704d66d4b9f679b3187e8caa3400c35e383a4
Author: jonathanspw <jonathan(a)almalinux.org>
Date: Tue Aug 2 11:23:34 2022 -0500
modernize spec, misc improvements from new maintainer
diff --git a/fsf_address.patch b/fsf_address.patch
new file mode 100644
index 0000000..b23c697
--- /dev/null
+++ b/fsf_address.patch
@@ -0,0 +1,19 @@
+diff -urN gpart-0.3.orig/COPYING gpart-0.3/COPYING
+--- gpart-0.3.orig/COPYING 2022-08-02 10:29:59.222518126 -0500
++++ gpart-0.3/COPYING 2022-08-02 10:30:48.165406042 -0500
+@@ -2,10 +2,11 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+- 675 Mass Ave, Cambridge, MA 02139, USA
+- Everyone is permitted to copy and distribute verbatim copies
+- of this license document, but changing it is not allowed.
++Copyright (C) 1989, 1991 Free Software Foundation, Inc.
++51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
++
++Everyone is permitted to copy and distribute verbatim copies
++of this license document, but changing it is not allowed.
+
+ Preamble
+
diff --git a/gpart.spec b/gpart.spec
index 749890e..078c3b7 100644
--- a/gpart.spec
+++ b/gpart.spec
@@ -1,41 +1,60 @@
-Summary: A program for recovering corrupt partition tables
-Name: gpart
-Version: 0.3
-Release: 15%{?dist}
-License: GPLv2+
-URL:
https://github.com/baruch/gpart/
-Source0:
https://github.com/baruch/%{name}/archive/0.3.tar.gz#/%{name}-%{version}....
+Summary: A program for recovering corrupt partition tables
+Name: gpart
+Version: 0.3
+Release: 16%{?dist}
+License: GPL-2.0-only
+URL:
https://github.com/baruch/%{name}/
+Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-BuildRequires: gcc
-BuildRequires: glibc-kernheaders
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: make
+#
https://github.com/baruch/gpart/pull/16
+Patch0: fsf_address.patch
-ExcludeArch: s390 s390x
+BuildRequires: gcc
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: make
%description
Gpart is a small tool which tries to guess what partitions are on a PC
type harddisk in case the primary partition table was damaged.
+
%prep
-%setup -q
+%autosetup
autoreconf -f -i
+
%build
%configure
-make %{?_smp_mflags}
+%make_build
+
%install
-%{make_install}
+%make_install
%files
-%doc COPYING Changes README.md
+%license COPYING
+%if 0%{?el7}
+%dir %{_datadir}/doc/%{name}
+%{_datadir}/doc/%{name}/*
+%else
+%dir %{_pkgdocdir}
+%{_pkgdocdir}/*
+%endif
%{_sbindir}/%{name}
%{_mandir}/man8/%{name}.8*
%changelog
+* Tue Aug 02 2022 Jonathan Wright <jonathan(a)almalinux.org> - 0.3-16
+- Update spec to use more macros
+- Update source to proper GitHub format
+- Update license to SPDX format
+- Add doc dir to files
+- Remove excluded arches (build on all arches)
+- Remove unnecessary buildrequires glibc-kernheaders
+- Initial build for EPEL7, EPEL8, and EPEL9
+
* Thu Jul 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3-15
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
commit 7826f48307d3732db45ad3c82877770fa572058d
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 21 12:50:07 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/gpart.spec b/gpart.spec
index 308c8da..749890e 100644
--- a/gpart.spec
+++ b/gpart.spec
@@ -1,7 +1,7 @@
Summary: A program for recovering corrupt partition tables
Name: gpart
Version: 0.3
-Release: 14%{?dist}
+Release: 15%{?dist}
License: GPLv2+
URL:
https://github.com/baruch/gpart/
Source0:
https://github.com/baruch/%{name}/archive/0.3.tar.gz#/%{name}-%{version}....
@@ -36,6 +36,9 @@ make %{?_smp_mflags}
%{_mandir}/man8/%{name}.8*
%changelog
+* Thu Jul 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3-15
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3-14
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild