public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Fix build
@ 2026-11-23  9:24 Paul Nasrat
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Nasrat @ 2026-11-23  9:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 745d4f5480c440d628b46ba8f0dd191dca9a0e4b
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2007-04-19T08:51:25+00:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/745d4f5480c440d628b46ba8f0dd191dca9a0e4b?branch=pmatilai-v6

Log:
Fix build

---
diff --git a/rpm.spec b/rpm.spec
index 4d45846..c3c9ed4 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -222,7 +222,10 @@ unset LD_ASSUME_KERNEL || :
 WITH_PYTHON="--with-python=%{with_python_version}"
 
 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
-%configure $WITH_PYTHON --enable-posixmutexes --without-javaglue
+./configure --prefix=%{__prefix} --sysconfdir=/etc \
+        --localstatedir=/var --infodir='${prefix}%{__share}/info' \
+        --mandir='${prefix}%{__share}/man' \
+        $WITH_PYTHON --enable-posixmutexes --without-javaglue
 
 make -C zlib || :
 
@@ -570,6 +573,7 @@ exit 0
 %changelog
 * Mon Apr 16 2007 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-44
 - Set default verify flags for %%doc (#235353)
+- Revert to old configure line 
 
 * Mon Apr 16 2007 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-43
 - Log failures for fork failing (OLPC)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/rpm] pmatilai-v6: Fix build
@ 2026-11-23  9:32 Igor Gnatenko
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-11-23  9:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 1484f717c242efa7e58c057557b0c3417827e155
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-06-10T20:54:26+02:00
            Stats  : +29/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/1484f717c242efa7e58c057557b0c3417827e155?branch=pmatilai-v6

            Log:
            Fix build

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/0001-python-Reference-proper-spec-py.c-filename.patch b/0001-python-Reference-proper-spec-py.c-filename.patch
new file mode 100644
index 0000000..51b5e1e
--- /dev/null
+++ b/0001-python-Reference-proper-spec-py.c-filename.patch
@@ -0,0 +1,27 @@
+From c4f7f871e0d0b7faaaa16e93736b8dd39db200e2 Mon Sep 17 00:00:00 2001
+From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
+Date: Sun, 2 Jun 2019 15:47:42 +0200
+Subject: [PATCH] python: Reference proper spec-py.c filename
+
+Fixes: 73a41da965337aaacabd53924f1b67b967e0476e
+Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
+---
+ python/setup.py.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/setup.py.in b/python/setup.py.in
+index 4d507c24e..0ecb7a9b9 100644
+--- a/python/setup.py.in
++++ b/python/setup.py.in
+@@ -31,7 +31,7 @@ rpmmod = Extension('rpm._rpm',
+                               'rpmstrpool-py.c', 'rpmfiles-py.c',
+                               'rpmarchive-py.c', 'rpmtd-py.c',
+                               'rpmte-py.c', 'rpmts-py.c',
+-                              'spec-py',
++                              'spec-py.c',
+                               'rpmmodule.c'],
+                    include_dirs = pkgconfig('--cflags'),
+                    library_dirs = pkgconfig('--libs-only-L'),
+-- 
+2.22.0.rc3
+

diff --git a/rpm.spec b/rpm.spec
index 627b2c8..7c0d901 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -42,7 +42,8 @@ Source1: db-%{bdbver}.tar.gz
 %endif
 
 # Disable autoconf config.site processing (#962837)
-Patch1: rpm-4.15.x-siteconfig.patch
+#Patch1: rpm-4.15.x-siteconfig.patch
+Patch1: 0001-python-Reference-proper-spec-py.c-filename.patch
 # In current Fedora, man-pages pkg owns all the localized man directories
 Patch3: rpm-4.9.90-no-man-dirs.patch
 # Temporary band-aid for rpm2cpio whining on payload size mismatch (#1142949)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-23  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:24 [rpms/rpm] pmatilai-v6: Fix build Paul Nasrat
2026-11-23  9:32 Igor Gnatenko

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