From cea0082182ca874bf1131b2c402852365dbd2ebb Mon Sep 17 00:00:00 2001 From: Tae-Young Chung Date: Mon, 27 Mar 2017 15:23:09 +0900 Subject: [PATCH] Update spec file for license macro Change-Id: Ia3e5408d55d502af8fc8882f186b8897e639ac4a Signed-off-by: Tae-Young Chung --- backend/CMakeLists.txt | 1 - packaging/zint.spec | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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 -- 2.7.4