summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/gdbm.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/gdbm.spec b/packaging/gdbm.spec
index 96d806e..c27a52e 100644
--- a/packaging/gdbm.spec
+++ b/packaging/gdbm.spec
@@ -77,6 +77,8 @@ rm -rf %{buildroot}
%make_install
# >> install post
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
%make_install
%docs_package
@@ -96,6 +98,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
# >> files
%doc COPYING
+/usr/share/license/%{name}
%{_prefix}/%{_lib}/libgdbm.so.3
%{_prefix}/%{_lib}/libgdbm.so.3.0.0
# << files