summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2017-03-27 15:23:09 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2017-03-27 15:40:37 +0900
commitcea0082182ca874bf1131b2c402852365dbd2ebb (patch)
treea547e29e4746c1cb95533b84000e12144c8473cb
parent90609e9f1be6935d2d9e1d0b026301e0c0d8629c (diff)
downloadlibzint-cea0082182ca874bf1131b2c402852365dbd2ebb.tar.gz
libzint-cea0082182ca874bf1131b2c402852365dbd2ebb.tar.bz2
libzint-cea0082182ca874bf1131b2c402852365dbd2ebb.zip
Change-Id: Ia3e5408d55d502af8fc8882f186b8897e639ac4a Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r--backend/CMakeLists.txt1
-rw-r--r--packaging/zint.spec6
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