diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rpmbuild/SPECS/xmake.spec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec index 29bab54e0..bd7bfcb15 100644 --- a/scripts/rpmbuild/SPECS/xmake.spec +++ b/scripts/rpmbuild/SPECS/xmake.spec @@ -41,6 +41,8 @@ mkdir -p %{buildroot}%{_datadir} cp -r xmake %{buildroot}%{_datadir}/%{name} cp core/src/demo/demo.b %{buildroot}%{_bindir}/%{name} chmod 755 %{buildroot}%{_bindir}/%{name} +cp README.md %{buildroot}%{_datadir} +cp LICENSE.md %{buildroot}%{_datadir} %check %{buildroot}%{_bindir}/%{name} --version @@ -49,11 +51,10 @@ chmod 755 %{buildroot}%{_bindir}/%{name} rm -rf %{buildroot} %files -cd xmake-v%{version} %{_bindir}/%{name} %{_datadir}/%{name} -%doc README.md -%license LICENSE.md +%doc %{_datadir}/README.md +%license %{_datadir}/LICENSE.md %changelog * Mon Sep 14 2020 Ruki Wang <[email protected]> - 2.3.7-1 |
