public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: auto-import rpm-4.0.4-0.7 from rpm-4.0.4-0.7.src.rpm
@ 2026-11-23  9:21 cvsdist
  0 siblings, 0 replies; only message in thread
From: cvsdist @ 2026-11-23  9:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 7474a32ffa573d895caf66069c22617a2047756b
Author : cvsdist <cvsdist@fedoraproject.org>
Date   : 2004-09-09T12:00:08+00:00
Stats  : +9/-8 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/7474a32ffa573d895caf66069c22617a2047756b?branch=pmatilai-v6

Log:
auto-import rpm-4.0.4-0.7 from rpm-4.0.4-0.7.src.rpm

---
diff --git a/rpm.spec b/rpm.spec
index b40aea7..75c9b54 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -1,4 +1,5 @@
-%define	with_python_subpackage	1 %{nil}
+%define	with_python_subpackage	1
+%define	with_python_version	2.2
 %define with_perl_subpackage	0
 %define	with_bzip2		1 %{nil}
 %define	with_apidocs		1 %{nil}
@@ -19,7 +20,7 @@ Name: rpm
 %define version 4.0.4
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 0.6
+Release: 0.7
 Group: System Environment/Base
 Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
 Copyright: GPL
@@ -28,7 +29,6 @@ Conflicts: patch < 2.5
 Prereq: gawk fileutils textutils mktemp shadow-utils
 %endif
 Requires: popt = 1.6.4
-ExcludeArch: alpha
 
 %if !%{with_internal_db}
 BuildRequires: db3-devel
@@ -46,7 +46,7 @@ BuildRequires: zlib-devel
 BuildRequires: bzip2 >= 0.9.0c-2
 %endif
 %if %{with_python_subpackage}
-BuildRequires: python-devel >= 2.2
+BuildRequires: python-devel >= %{with_python_version}
 %endif
 %if %{with_perl_subpackage}
 BuildRequires: perl >= 0:5.00503
@@ -91,7 +91,7 @@ build packages using RPM.
 Summary: Python bindings for apps which will manipulate RPM packages.
 Group: Development/Libraries
 Requires: rpm = %{rpm_version}
-Requires: python >= 2.2
+Requires: python >= %{with_python_version}
 Requires: popt = 1.6.4
 
 %description python
@@ -449,8 +449,8 @@ fi
 %if %{with_python_subpackage}
 %files python
 %defattr(-,root,root)
-%{__prefix}/lib/python2.2/site-packages/rpmmodule.so
-%{__prefix}/lib/python2.2/site-packages/poptmodule.so
+%{__prefix}/lib/python%{with_python_version}/site-packages/rpmmodule.so
+%{__prefix}/lib/python%{with_python_version}/site-packages/poptmodule.so
 %endif
 
 %if %{with_perl_subpackage}
@@ -514,6 +514,7 @@ fi
 %changelog
 * Mon Jan  7 2002 Jeff Johnson <jbj@redhat.com>
 - Depends should use CDB if configured.
+- autodetect python 1.5/2.2.
 
 * Sun Jan  6 2002 Jeff Johnson <jbj@redhat.com>
 - handle lazy db open's in chroot with absolute path, not prefix strip.

diff --git a/sources b/sources
index dd465a9..39a4093 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6e1b1d919bf48ef65858ae29caf4c7ea  rpm-4.0.4.tar.gz
+f530afa166ebfa5bf06e6face2e57f9b  rpm-4.0.4.tar.gz

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

only message in thread, other threads:[~2026-11-23  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:21 [rpms/rpm] pmatilai-v6: auto-import rpm-4.0.4-0.7 from rpm-4.0.4-0.7.src.rpm cvsdist

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