diff options
Diffstat (limited to 'packaging/which.spec')
-rw-r--r-- | packaging/which.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packaging/which.spec b/packaging/which.spec index 27d2dc6..18431f5 100644 --- a/packaging/which.spec +++ b/packaging/which.spec @@ -2,9 +2,8 @@ Name: which Summary: Which, what, where? Version: 0.1 Release: 1 -License: SMAIL GENERAL PUBLIC LICENSE +License: Apache-2.0 Source0: %{name}-%{version}.tar.gz -Source1001: packaging/which.manifest BuildArch: noarch %description @@ -14,12 +13,16 @@ Shows the path of a file %setup -q %build -cp %{SOURCE1001} . %install mkdir -p %{buildroot}/%{_bindir}/ install -m755 which %{buildroot}/%{_bindir}/ +mkdir -p %{buildroot}/usr/share/license +cp LICENSE %{buildroot}/usr/share/license/%{name} + + %files %manifest which.manifest %{_bindir}/which +/usr/share/license/%{name} |