summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/uthash.manifest5
-rw-r--r--packaging/uthash.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/uthash.manifest b/packaging/uthash.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/uthash.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/uthash.spec b/packaging/uthash.spec
index b7f4d47..1fbd7af 100644
--- a/packaging/uthash.spec
+++ b/packaging/uthash.spec
@@ -6,6 +6,7 @@ License: BSD-style single-clause
Group: System/Kernel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source0: %{name}-%{version}.tar.bz2
+Source1001: packaging/uthash.manifest
%description
Any C structure can be stored in a hash table using
@@ -24,6 +25,7 @@ Description: %{summary}
%prep
%setup -q
%build
+cp %{SOURCE1001} .
%install
rm -rf $RPM_BUILD_ROOT
@@ -36,6 +38,7 @@ cp utarray.h uthash.h utlist.h utstring.h $RPM_BUILD_ROOT/usr/include
%clean
%files devel
+%manifest uthash.manifest
%defattr(-,root,root,-)
%{_includedir}/utarray.h
%{_includedir}/uthash.h