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 +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 +--- + 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)