Update spec file for license macro 92/121392/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 accepted/tizen/3.0/common/20170328.142150 accepted/tizen/3.0/ivi/20170328.112904 accepted/tizen/3.0/mobile/20170328.112804 accepted/tizen/3.0/tv/20170328.112824 accepted/tizen/3.0/wearable/20170328.112857 submit/tizen_3.0/20170328.044048
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 27 Mar 2017 06:23:09 +0000 (15:23 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 28 Mar 2017 01:53:48 +0000 (18:53 -0700)
Change-Id: Ia3e5408d55d502af8fc8882f186b8897e639ac4a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit cea0082182ca874bf1131b2c402852365dbd2ebb)

backend/CMakeLists.txt
packaging/zint.spec

index be1a810..64d88f1 100644 (file)
@@ -22,4 +22,3 @@ target_link_libraries(zint -lm)
 
 install(TARGETS zint  ${INSTALL_TARGETS_DEFAULT_ARGS} )
 install(FILES zint.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)
-install(FILES LICENSE DESTINATION ${SHARE_INSTALL_PREFIX}/zint)
index f11e101..12bb7c6 100644 (file)
@@ -1,6 +1,6 @@
 Name:      zint
 Version:   2.4.3
-Release:   12
+Release:   13
 Summary:   Barcode generator library
 License:   BSD-2.0
 URL:       http://www.zint.org.uk
@@ -71,12 +71,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 #%doc COPYING readme
 %{_libdir}/libzint.so.*
-%{_datadir}/%{name}/LICENSE
+%license backend/LICENSE
 
 
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/%{name}.h
 %{_libdir}/libzint.so
-%{_datadir}/%{name}/LICENSE
+%license backend/LICENSE
 %exclude %{_datadir}/cmake/Modules/FindZint.cmake