path: root/packaging
diff options
Diffstat (limited to 'packaging')
2 files changed, 9 insertions, 8 deletions
diff --git a/packaging/c-ares.changes b/packaging/c-ares.changes
new file mode 100644
index 0000000..85c850f
--- /dev/null
+++ b/packaging/c-ares.changes
@@ -0,0 +1,3 @@
+* Wed Feb 06 2013 Anas Nashif <> upstream/1.7.5@ecc507e
+- Fixed packaging per rpmlint
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 @@
-%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++
Source2: baselibs.conf
BuildRequires: pkg-config
BuildRequires: libtool
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.
-%setup -q -n %{pkg_name}-%{version}
+%setup -q -n %{name}-%{version}
autoreconf -fiv
@@ -47,12 +46,11 @@ sed -i -e 's@-g0@-g@g' Makefile
make %{?_smp_mflags}
-make install DESTDIR=%{buildroot}
-rm -f %{buildroot}%{_libdir}/*.la
-%post -p /sbin/ldconfig
+%post -p /sbin/ldconfig -n libcares
-%postun -p /sbin/ldconfig
+%postun -p /sbin/ldconfig -n libcares
%files -n libcares