summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-03-28 19:07:37 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2017-03-28 19:08:17 +0900
commit390da1ab0db5e31284763d89d20032c77686ac1b (patch)
treef26a564dcfa880a068f28a1c84353b1e3edac94a
parent4f2e71339b51562be7a669546873be5bfebd47ff (diff)
downloadcurl-390da1ab0db5e31284763d89d20032c77686ac1b.tar.gz
curl-390da1ab0db5e31284763d89d20032c77686ac1b.tar.bz2
curl-390da1ab0db5e31284763d89d20032c77686ac1b.zip
Change-Id: Ia5c38d98ea11d1e457014f7210913261a59f5b43
-rw-r--r--packaging/curl.spec8
1 files changed, 2 insertions, 6 deletions
diff --git a/packaging/curl.spec b/packaging/curl.spec
index 1ddace782..4164d50a7 100644
--- a/packaging/curl.spec
+++ b/packaging/curl.spec
@@ -104,22 +104,18 @@ install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
rm -rf ${RPM_BUILD_ROOT}/usr/share/man
-# LICENSE
-rm -rf %{buildroot}/usr/share/license
-mkdir -p %{buildroot}/usr/share/license
-cp COPYING %{buildroot}/usr/share/license/%{name}
-
%post -n libcurl -p /sbin/ldconfig
%postun -n libcurl -p /sbin/ldconfig
%files
%{_bindir}/curl
+%license COPYING
%files -n libcurl
%manifest %{name}.manifest
%{_libdir}/libcurl.so.*
-/usr/share/license/%{name}
+%license COPYING
%files -n libcurl-devel
%{_bindir}/curl-config*