summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/c-ares.manifest5
-rw-r--r--packaging/c-ares.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/c-ares.manifest b/packaging/c-ares.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/c-ares.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/c-ares.spec b/packaging/c-ares.spec
index a5ef33f..f6f4e56 100644
--- a/packaging/c-ares.spec
+++ b/packaging/c-ares.spec
@@ -7,6 +7,7 @@ Summary: Library for asynchronous name resolves
Group: Development/Libraries/C and C++
Source: http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.bz2
Source2: baselibs.conf
+Source1001: c-ares.manifest
BuildRequires: pkg-config
BuildRequires: libtool
Url: http://daniel.haxx.se/projects/c-ares
@@ -38,6 +39,7 @@ by Greg Hudson at MIT.
%prep
%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
%build
autoreconf -fiv
@@ -53,10 +55,12 @@ make %{?_smp_mflags}
%postun -p /sbin/ldconfig -n libcares
%files -n libcares
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libcares.so.2*
%files -n libcares-devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libcares.so
%{_includedir}/*.h