From: Tae-Young Chung Date: Mon, 27 Mar 2017 06:23:09 +0000 (+0900) Subject: Update spec file for license macro X-Git-Tag: accepted/tizen/3.0/common/20170328.142150^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_3.0_tv;p=platform%2Fupstream%2Flibzint.git Update spec file for license macro Change-Id: Ia3e5408d55d502af8fc8882f186b8897e639ac4a Signed-off-by: Tae-Young Chung (cherry picked from commit cea0082182ca874bf1131b2c402852365dbd2ebb) --- diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt index be1a810..64d88f1 100644 --- a/backend/CMakeLists.txt +++ b/backend/CMakeLists.txt @@ -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) diff --git a/packaging/zint.spec b/packaging/zint.spec index f11e101..12bb7c6 100644 --- a/packaging/zint.spec +++ b/packaging/zint.spec @@ -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