public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Use py2/3 macros for building and installing the bindings
Date: Mon, 23 Nov 2026 09:32:24 GMT	[thread overview]
Message-ID: <179542634402.1.18177242668317039218.rpms-rpm-bda4949bedba@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : bda4949bedba31d8153cfca323e47b2fd94eaa59
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date   : 2019-06-07T10:34:46+03:00
Stats  : +8/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/bda4949bedba31d8153cfca323e47b2fd94eaa59?branch=pmatilai-v6

Log:
Use py2/3 macros for building and installing the bindings

---
diff --git a/rpm.spec b/rpm.spec
index fa92412..5b41324 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -23,7 +23,7 @@
 
 %global rpmver 4.14.2.1
 #global snapver rc2
-%global rel 10
+%global rel 11
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -384,8 +384,8 @@ done;
 %make_build
 
 pushd python
-%{__python2} setup.py build
-%{__python3} setup.py build
+%py2_build
+%py3_build
 popd
 
 %install
@@ -394,8 +394,8 @@ popd
 # We need to build with --enable-python for the self-test suite, but we
 # actually package the bindings built with setup.py (#531543#c26)
 pushd python
-%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
-%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%py2_install
+%py3_install
 popd
 
 
@@ -580,6 +580,9 @@ make check || (cat tests/rpmtests.log; exit 1)
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
+- Use py2/3 macros for building and installing the bindings
+
 * Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
 - Support build-id generation from compressed ELF files (#1650072)
 

                 reply	other threads:[~2026-11-23  9:32 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=179542634402.1.18177242668317039218.rpms-rpm-bda4949bedba@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --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