summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 21:08:34 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 21:08:34 +0300
commitba059bf72831e78eeb7d4d72069d0d2a6455f839 (patch)
treeb34c3dd75eb3a1d3d3034b8c49af6cc214fa91d1
parent40a91eceefd1ba98fe168ead4d177ac57c7c14e1 (diff)
downloadc-ares-ba059bf72831e78eeb7d4d72069d0d2a6455f839.tar.gz
c-ares-ba059bf72831e78eeb7d4d72069d0d2a6455f839.tar.bz2
c-ares-ba059bf72831e78eeb7d4d72069d0d2a6455f839.zip
-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