diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 16:39:42 -0800 |
---|---|---|
committer | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-12-08 13:27:27 +0100 |
commit | 33bac0fbe2f9e7139f5532f4da3e1da9d49859e8 (patch) | |
tree | f131db3c394b04b2be03250a77fdd823dd058208 /packaging/c-ares.spec | |
parent | 1551754819c981b44a3ace343202e7319befd2f5 (diff) | |
download | c-ares-33bac0fbe2f9e7139f5532f4da3e1da9d49859e8.tar.gz c-ares-33bac0fbe2f9e7139f5532f4da3e1da9d49859e8.tar.bz2 c-ares-33bac0fbe2f9e7139f5532f4da3e1da9d49859e8.zip |
Fixed packaging per rpmlint
Diffstat (limited to 'packaging/c-ares.spec')
-rw-r--r-- | packaging/c-ares.spec | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/packaging/c-ares.spec b/packaging/c-ares.spec index 29ae92e..a5ef33f 100644 --- a/packaging/c-ares.spec +++ b/packaging/c-ares.spec @@ -1,5 +1,3 @@ -Url: http://daniel.haxx.se/projects/c-ares -%define pkg_name c-ares Name: c-ares Version: 1.7.5 @@ -7,10 +5,11 @@ Release: 1 License: MIT Summary: Library for asynchronous name resolves Group: Development/Libraries/C and C++ -Source: http://daniel.haxx.se/projects/c-ares/%{pkg_name}-%{version}.tar.bz2 +Source: http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.bz2 Source2: baselibs.conf BuildRequires: pkg-config BuildRequires: libtool +Url: http://daniel.haxx.se/projects/c-ares %description c-ares is a C library that performs DNS requests and name resolves @@ -38,7 +37,7 @@ asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{name}-%{version} %build autoreconf -fiv @@ -47,12 +46,11 @@ sed -i -e 's@-g0@-g@g' Makefile make %{?_smp_mflags} %install -make install DESTDIR=%{buildroot} -rm -f %{buildroot}%{_libdir}/*.la +%make_install -%post -p /sbin/ldconfig +%post -p /sbin/ldconfig -n libcares -%postun -p /sbin/ldconfig +%postun -p /sbin/ldconfig -n libcares %files -n libcares %defattr(-,root,root) |