public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/prunerepo] rawhide: Update prunerepo to 1.28-1
@ 2026-06-29 9:12
0 siblings, 0 replies; only message in thread
From: @ 2026-06-29 9:12 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/prunerepo
Branch : rawhide
Commit : e5f8bd0dcd0b362b094f8f44709d4f30fff65459
Author : Miroslav Suchý <msuchy@redhat.com>
Date : 2026-06-29T11:11:53+02:00
Stats : +34/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/prunerepo/c/e5f8bd0dcd0b362b094f8f44709d4f30fff65459?branch=rawhide
Log:
Update prunerepo to 1.28-1
---
diff --git a/prunerepo.spec b/prunerepo.spec
index 15bc16d..bca87bd 100644
--- a/prunerepo.spec
+++ b/prunerepo.spec
@@ -1,8 +1,8 @@
Name: prunerepo
-Version: 1.26
+Version: 1.28
Summary: Remove old packages from rpm-md repository
-Release: 7%{?dist}
-Url: https://pagure.io/prunerepo
+Release: 1%{?dist}
+Url: https://github.com/fedora-copr/prunerepo
%if 0%{?rhel} > 10 || 0%{?fedora} > 40
@@ -20,7 +20,9 @@ License: GPL-2.0-or-later
BuildArch: noarch
BuildRequires: bash
BuildRequires: python3-devel
+%if 0%{?rhel} && 0%{?rhel} <= 10
BuildRequires: python3-setuptools
+%endif
BuildRequires: python3-rpm
BuildRequires: createrepo_c
BuildRequires: asciidoc
@@ -59,28 +61,55 @@ to recreate the repository metadata.
%prep
%setup -q
+%if 0%{?rhel} && 0%{?rhel} <= 10
+rm -f pyproject.toml
+%endif
%check
tests/run.sh
+%if 0%{?fedora}
+%generate_buildrequires
+%pyproject_buildrequires
+%endif
+
%build
+%if 0%{?fedora}
+%pyproject_wheel
+%else
name="%{name}" version="%{version}" summary="%{summary}" %py3_build
+%endif
a2x -d manpage -f manpage man/prunerepo.1.asciidoc
%install
+%if 0%{?fedora}
+%pyproject_install
+%pyproject_save_files -l prunerepo
+%else
name="%{name}" version="%{version}" summary="%{summary}" %py3_install
+%endif
install -d %{buildroot}%{_mandir}/man1
install -p -m 644 man/prunerepo.1 %{buildroot}/%{_mandir}/man1/
+%if 0%{?fedora}
+%files -f %{pyproject_files}
+%else
%files
%license LICENSE
-
%{python3_sitelib}/*
+%endif
%{_bindir}/prunerepo
%{_mandir}/man1/prunerepo.1*
%changelog
+* Mon Jun 29 2026 Miroslav Suchý <msuchy@redhat.com> 1.28-1
+- sync changelog from Fedora (msuchy@redhat.com)
+
+* Mon Jun 29 2026 Miroslav Suchý <msuchy@redhat.com> 1.27-1
+- Migrate from deprecated %%py3_build/%%py3_install to pyproject macros
+- update url
+
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 1.26-7
- Rebuilt for Python 3.15
diff --git a/sources b/sources
index 60e1b89..1b25781 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (prunerepo-1.26.tar.gz) = 7d02816add832f5c778309395d36958dcb2e534791e93533fdd21a247149d44e0e4e18c7777203270afd00c39bdf48de6ee0d2221a5d1a524978985c13449e8b
+SHA512 (prunerepo-1.28.tar.gz) = 19cefa8b91ec2d5a2a882e78273c816a61363f4e0bbb9e0c37490d8cb36392447832748d018869d59ffc50eb9f8917ce786324512ca743b0d3ccf4be8379d90a
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 9:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 9:12 [rpms/prunerepo] rawhide: Update prunerepo to 1.28-1
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox