Used %license macro 05/121605/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.171915 accepted/tizen/ivi/20170329.034906 accepted/tizen/mobile/20170329.034827 accepted/tizen/tv/20170329.034844 accepted/tizen/unified/20170329.034932 accepted/tizen/wearable/20170329.034853 submit/tizen/20170328.111440 tizen_4.0.m1_release
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 28 Mar 2017 10:07:37 +0000 (19:07 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 28 Mar 2017 10:07:46 +0000 (19:07 +0900)
Change-Id: Ia5c38d98ea11d1e457014f7210913261a59f5b43

packaging/curl.spec

index 0b2f9c997bfb3d51209150d3f65beb2d2c621232..dc405a26362433f4ec157084d3b04de1392791cc 100644 (file)
@@ -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*