summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/python-cairo.manifest5
-rw-r--r--packaging/python-cairo.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/python-cairo.manifest b/packaging/python-cairo.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/python-cairo.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-cairo.spec b/packaging/python-cairo.spec
index 17ddc7c..9c2dd9f 100644
--- a/packaging/python-cairo.spec
+++ b/packaging/python-cairo.spec
@@ -7,6 +7,7 @@ Group: Development/Libraries/Python
# FIXME: on update, check if we still need to manually compile the byte-code in %%install
Url: http://www.cairographics.org/
Source: py2cairo-%{version}.tar.bz2
+Source1001: python-cairo.manifest
BuildRequires: cairo-devel
BuildRequires: fdupes
BuildRequires: python-devel
@@ -26,6 +27,7 @@ Headers for python-cairo
%prep
%setup -n py2cairo-%{version}
+cp %{SOURCE1001} .
%build
export CFLAGS='%{optflags}'
@@ -40,11 +42,13 @@ export CFLAGS='%{optflags}'
%fdupes %{buildroot}/%{py_sitedir}
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc COPYING COPYING-*
%{python_sitearch}/cairo/
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_includedir}/pycairo/
%{_libdir}/pkgconfig/pycairo.pc