diff options
-rw-r--r-- | packaging/deltarpm.manifest | 5 | ||||
-rw-r--r-- | packaging/deltarpm.spec | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/deltarpm.manifest b/packaging/deltarpm.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/deltarpm.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/deltarpm.spec b/packaging/deltarpm.spec index 21eb6b2..debd063 100644 --- a/packaging/deltarpm.spec +++ b/packaging/deltarpm.spec @@ -6,6 +6,7 @@ License: BSD-3-Clause Group: System/Packages Url: ftp://ftp.suse.com/pub/projects/deltarpm Source: deltarpm-3.5.git.tar.bz2 +Source1001: deltarpm.manifest BuildRequires: bzip2-devel BuildRequires: python-devel BuildRequires: rpm-devel @@ -30,6 +31,7 @@ Python bindings for deltarpm %prep %setup -q +cp %{SOURCE1001} . %build make CC="gcc" CFLAGS="%{optflags}" rpmdumpheader="/usr/lib/rpm/rpmdumpheader" %{?_smp_mflags} @@ -42,6 +44,7 @@ rm -rf %{buildroot}%{_libdir}/python/site-packages/{_deltarpmmodule.so,deltarpm. mv %{buildroot}%{python_sitearch}/_deltarpm{module,}.so # Fix binary Python module name %files +%manifest %{name}.manifest %defattr(-,root,root) %doc README LICENSE.BSD %{_bindir}/* @@ -49,6 +52,7 @@ mv %{buildroot}%{python_sitearch}/_deltarpm{module,}.so # Fix binary Python modu %{_prefix}/lib/rpm/rpmdumpheader %files -n python-deltarpm +%manifest %{name}.manifest %defattr(-,root,root) %{python_sitearch}/deltarpm.py %{python_sitearch}/_deltarpm.so |