projects
/
external
/
usleep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add license file and NOTICE file into rpm package
[external/usleep.git]
/
packaging
/
usleep.spec
diff --git
a/packaging/usleep.spec
b/packaging/usleep.spec
index
aac81cc
..
2248f04
100644
(file)
--- a/
packaging/usleep.spec
+++ b/
packaging/usleep.spec
@@
-43,6
+43,10
@@
rm -rf %{buildroot}
# << install pre
%make_install
+# license
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
# >> install post
@@
-59,4
+63,5
@@
rm -rf %{buildroot}
# >> files
%{_mandir}/man*/*
/bin/usleep
+/usr/share/license/%{name}
# << files