summaryrefslogtreecommitdiff
path: root/packaging/c-ares.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/c-ares.spec')
-rw-r--r--packaging/c-ares.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/c-ares.spec b/packaging/c-ares.spec
index f48f88b..a44ce71 100644
--- a/packaging/c-ares.spec
+++ b/packaging/c-ares.spec
@@ -48,6 +48,8 @@ make %{?_smp_mflags}
%install
%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
%post -p /sbin/ldconfig -n libcares
@@ -65,5 +67,4 @@ make %{?_smp_mflags}
%{_includedir}/*.h
%{_mandir}/man3/ares_*
%{_libdir}/pkgconfig/libcares.pc
-
-%changelog
+/usr/share/license/%{name}