summaryrefslogtreecommitdiff
path: root/packaging/python-rpm.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/python-rpm.spec')
-rw-r--r--packaging/python-rpm.spec62
1 files changed, 0 insertions, 62 deletions
diff --git a/packaging/python-rpm.spec b/packaging/python-rpm.spec
deleted file mode 100644
index afd680acb..000000000
--- a/packaging/python-rpm.spec
+++ /dev/null
@@ -1,62 +0,0 @@
-Name: python-rpm
-Version: 4.11.0.1
-Release: 0
-Summary: Python Bindings for Manipulating RPM Packages
-License: GPL-2.0+
-Group: Base/Package Management
-Source99: rpm.spec
-BuildRequires: gettext-tools
-BuildRequires: file-devel
-BuildRequires: libacl-devel
-BuildRequires: bzip2-devel
-BuildRequires: libcap-devel
-BuildRequires: libelf-devel
-BuildRequires: libtool
-BuildRequires: lua-devel
-BuildRequires: ncurses-devel
-BuildRequires: popt-devel
-BuildRequires: python-devel
-BuildRequires: xz-devel
-BuildRequires: zlib-devel
-BuildRequires: nss-devel
-BuildRequires: uthash-devel
-BuildRequires: libxml2-devel
-BuildRequires: libattr-devel
-BuildRequires: pkgconfig(libsmack)
-Requires: rpm = %{version}
-%{expand:%(sed -n -e '/^### SOURCES BEGIN ###/,/^### SOURCES END ###/p' <%_sourcedir/rpm.spec)}
-Source0: rpm-%{version}.tar.bz2
-%global with_python 2
-
-%description
-The python-rpm package contains a module that permits applications
-written in the Python programming language to use the interface
-supplied by RPM Package Manager libraries.
-
-This package should be installed if you want to develop Python programs
-that will manipulate RPM packages and databases.
-
-%prep
-%setup -q -n rpm-%{version}
-%{expand:%(sed -n -e '/^### PREP BEGIN ###/,/^### PREP END ###/p' <%_sourcedir/rpm.spec)}
-
-%build
-%{expand:%(sed -n -e '/^### BUILD BEGIN ###/,/^### BUILD END ###/p' <%_sourcedir/rpm.spec)}
-
-%install
-mkdir -p %{buildroot}%{_prefix}/lib
-# only installing in python/ does not work because rpm links against
-# installed libs at install time
-%make_install
-find %{buildroot} -not -type d -and -not -path %{buildroot}%{_libdir}/python*/site-packages/rpm/\* -print0 | xargs -0 rm
-pushd %{buildroot}/%{_libdir}/python*/site-packages/rpm
-rm -f _rpmmodule.a _rpmmodule.la
-#python %{_libdir}/python*/py_compile.py *.py
-#python -O %{_libdir}/python*/py_compile.py *.py
-popd
-
-%files
-%defattr(-,root,root)
-%{_libdir}/python*/*/*
-
-%changelog