public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedpkg] 1.48-1: Backport in order to work with rpkg-1.51-2
@ 2026-08-10 21:45 Chenxiong Qi
  0 siblings, 0 replies; only message in thread
From: Chenxiong Qi @ 2026-08-10 21:45 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedpkg
            Branch : 1.48-1
            Commit : 92c8f7a10650f9bcb8316ed68dec16638d274e83
            Author : Chenxiong Qi <cqi@redhat.com>
            Date   : 2017-11-08T20:54:19+08:00
            Stats  : +38/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedpkg/c/92c8f7a10650f9bcb8316ed68dec16638d274e83?branch=1.48-1

            Log:
            Backport in order to work with rpkg-1.51-2

Signed-off-by: Chenxiong Qi <cqi@redhat.com>

---
diff --git a/0001-Allow-any-parameters-in-construct_build_url.patch b/0001-Allow-any-parameters-in-construct_build_url.patch
new file mode 100644
index 0000000..7636e69
--- /dev/null
+++ b/0001-Allow-any-parameters-in-construct_build_url.patch
@@ -0,0 +1,32 @@
+From ce8e9d4b5d03cd38a1362c04b386a08bc0138095 Mon Sep 17 00:00:00 2001
+From: Chenxiong Qi <cqi@redhat.com>
+Date: Wed, 8 Nov 2017 11:17:27 +0800
+Subject: [PATCH] Allow any parameters in construct_build_url
+
+Signed-off-by: Chenxiong Qi <cqi@redhat.com>
+---
+ fedpkg/__init__.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/fedpkg/__init__.py b/fedpkg/__init__.py
+index 4acd564..b45645d 100644
+--- a/fedpkg/__init__.py
++++ b/fedpkg/__init__.py
+@@ -196,12 +196,12 @@ class Commands(pyrpkg.Commands):
+         in Koji.
+         """
+ 
+-    def construct_build_url(self):
++    def construct_build_url(self, *args, **kwargs):
+         """Override build URL for Fedora Koji build
+ 
+         In Fedora Koji, anonymous URL should have prefix "git+https://"
+         """
+-        url = super(Commands, self).construct_build_url()
++        url = super(Commands, self).construct_build_url(*args, **kwargs)
+         return 'git+{0}'.format(url)
+ 
+     def retire(self, message):
+-- 
+2.9.5
+

diff --git a/fedpkg.spec b/fedpkg.spec
index 22810bd..2cce634 100644
--- a/fedpkg.spec
+++ b/fedpkg.spec
@@ -8,7 +8,7 @@
 
 Name:           fedpkg
 Version:        1.30
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Fedora utility for working with dist-git
 
 Group:          Applications/System
@@ -17,6 +17,7 @@ URL:            https://pagure.io/fedpkg
 Source0:        https://pagure.io/releases/fedpkg/%{name}-%{version}.tar.bz2
 # https://pagure.io/fedpkg/pull-request/162
 Patch0:         update-anongiturl.patch
+Patch1:         0001-Allow-any-parameters-in-construct_build_url.patch
 
 BuildArch:      noarch
 
@@ -68,6 +69,7 @@ Provides the fedpkg command for working with dist-git
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__python} setup.py build
@@ -111,6 +113,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Nov 08 2017 Chenxiong Qi <cqi@redhat.com> - 1.30-4
+- Backport: Allow any parameters in construct_build_url
+
 * Wed Nov 01 2017 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.30-3
 - Enable namespaced lookaside
 - Update anongiturl

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:45 [rpms/fedpkg] 1.48-1: Backport in order to work with rpkg-1.51-2 Chenxiong Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox