summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE.APLv2 (renamed from LICENSE)0
-rwxr-xr-xpackaging/libslp-pm.spec4
2 files changed, 3 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE.APLv2
index 9c13a9b..9c13a9b 100644
--- a/LICENSE
+++ b/LICENSE.APLv2
diff --git a/packaging/libslp-pm.spec b/packaging/libslp-pm.spec
index fdb975a..bccc051 100755
--- a/packaging/libslp-pm.spec
+++ b/packaging/libslp-pm.spec
@@ -37,6 +37,8 @@ make %{?jobs:-j%jobs}
rm -rf %{buildroot}
%make_install
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
%post -p /sbin/ldconfig
@@ -48,7 +50,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%manifest libslp-pm.manifest
%{_libdir}/libpmapi.so.1.2
-
+%{_datadir}/license/%{name}
%files devel
%defattr(-,root,root,-)