summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/tar.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/tar.spec b/packaging/tar.spec
index 8d1c0b8..7bde4f4 100755
--- a/packaging/tar.spec
+++ b/packaging/tar.spec
@@ -90,6 +90,10 @@ do
done;
done
+# license
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
+
%docs_package
%files
@@ -97,5 +101,4 @@ done
%defattr(-,root,root,-)
%{_datadir}/license/%{name}
/bin/tar
-
-
+/usr/share/license/%{name}