public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/prunerepo] rawhide: Update prunerepo to 1.28-1
Date: Mon, 29 Jun 2026 09:12:00 GMT	[thread overview]
Message-ID: <178272432012.1.13047628953060998116.rpms-prunerepo-e5f8bd0dcd0b@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-29  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178272432012.1.13047628953060998116.rpms-prunerepo-e5f8bd0dcd0b@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox