summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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