public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Chenxiong Qi <cqi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Revert "Submit DistGit branch name to container-build for OpenShift build conf"
Date: Mon, 10 Aug 2026 21:43:36 GMT [thread overview]
Message-ID: <178639821646.1.14932522361484659973.rpms-rpkg-d8b66bfe03ee@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpkg
Branch : 1.70-1
Commit : d8b66bfe03eee95e3e02c27483769806c48b46d4
Author : Chenxiong Qi <cqi@redhat.com>
Date : 2016-11-23T18:32:34+08:00
Stats : +4/-66 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpkg/c/d8b66bfe03eee95e3e02c27483769806c48b46d4?branch=1.70-1
Log:
Revert "Submit DistGit branch name to container-build for OpenShift build conf"
This reverts commit 9f499af1ac00c0c3905d36ab9b663396ea297136.
Patch was merged into master and will be available in next new release. So,
revert this commit in order to avoid conflict while making RPM.
---
diff --git a/rpkg-1.46-Pass-DistGit-Branch-container-build.patch b/rpkg-1.46-Pass-DistGit-Branch-container-build.patch
deleted file mode 100644
index 3d00b0a..0000000
--- a/rpkg-1.46-Pass-DistGit-Branch-container-build.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 8e926f0c4967e392f105dcebcfa756e58ad81f93 Mon Sep 17 00:00:00 2001
-From: Vadim Rutkovsky <vrutkovs@redhat.com>
-Date: Sep 21 2016 17:44:35 +0000
-Subject: container-build: use correct parameter for git branch
-
-
-Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
-
----
-
-diff --git a/src/pyrpkg/__init__.py b/src/pyrpkg/__init__.py
-index e6105b1..282a59f 100644
---- a/src/pyrpkg/__init__.py
-+++ b/src/pyrpkg/__init__.py
-@@ -2453,7 +2453,8 @@ class Commands(object):
- git_uri = re.sub(r"^git\+ssh", "git", self.push_url)
- git_uri = re.sub("^ssh", "git", git_uri)
- git_uri = re.sub("[^/]+@", "", git_uri)
-- git_ref = self.branch_merge
-+ git_ref = self.commithash
-+ git_branch = self.branch_merge
- user = self.user
- component = self.module_name
- docker_target = self.target
-@@ -2465,6 +2466,7 @@ class Commands(object):
- build = osbs.create_build(
- git_uri=git_uri,
- git_ref=git_ref,
-+ git_branch=git_branch,
- user=user,
- component=component,
- target=docker_target,
-@@ -2529,7 +2531,7 @@ class Commands(object):
-
- task_opts = {}
- for key in ('scratch', 'name', 'version', 'release',
-- 'yum_repourls'):
-+ 'yum_repourls', 'git_branch'):
- if key in opts:
- task_opts[key] = opts[key]
- priority = opts.get("priority", None)
-diff --git a/src/pyrpkg/cli.py b/src/pyrpkg/cli.py
-index 09dca49..a38b79d 100755
---- a/src/pyrpkg/cli.py
-+++ b/src/pyrpkg/cli.py
-@@ -1084,7 +1084,8 @@ see API KEY section of copr-cli(1) man page.
-
- opts = {"scratch": self.args.scratch,
- "quiet": self.args.q,
-- "yum_repourls": self.args.repo_url}
-+ "yum_repourls": self.args.repo_url,
-+ "git_branch": self.cmd.branch_merge}
-
- section_name = "%s.container-build" % self.name
- err_msg = "Missing {option} option in [{plugin.section}] section. "\
-
diff --git a/rpkg.spec b/rpkg.spec
index d8b70a0..d859bd7 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -3,15 +3,13 @@
Name: rpkg
Version: 1.46
-Release: 6%{?dist}
+Release: 5%{?dist}
Summary: Utility for interacting with rpm+git packaging systems
Group: Applications/System
License: GPLv2+ and LGPLv2
URL: https://pagure.io/rpkg
Source0: https://pagure.io/releases/rpkg/rpkg-%{version}.tar.gz
-# Merged upstream (commit id 8e926f0c4967e392f105dcebcfa756e58ad81f93)
-Patch0: rpkg-1.46-Pass-DistGit-Branch-container-build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: pyrpkg >= %{version}-%{release}
@@ -64,11 +62,11 @@ A python library for managing RPM package sources in a git repository.
%prep
%setup -q
-%patch0 -p1
+
%build
%{__python} setup.py build
-%{__python} src/rpkg_man_page.py > rpkg.1
+%{__python} doc/rpkg_man_page.py > rpkg.1
%install
@@ -79,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
%check
%{__python} setup.py test
-
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -98,10 +96,6 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Fri Nov 11 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.46-6
-- Submit DistGit branch name to container-build for OpenShift build conf,
- upstream commit id 8e926f0c4967e392f105dcebcfa756e58ad81f93
-
* Tue Oct 25 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.46-5
- Allow using gssapi for lookaside caches
reply other threads:[~2026-08-10 21:43 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=178639821646.1.14932522361484659973.rpms-rpkg-d8b66bfe03ee@fedoraproject.org \
--to=cqi@redhat.com \
--cc=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