diff options
author | Andreas Steinel <Andreas.Steinel@exirius.de> | 2018-02-08 11:53:42 +0100 |
---|---|---|
committer | Andreas Steinel <Andreas.Steinel@exirius.de> | 2018-02-08 11:53:42 +0100 |
commit | bf6175b91e40e5cb8ff40215c8b8d0dd5a98b7a2 (patch) | |
tree | e75c7ad26279f7b4989dbfdb2d0ab9aec8cf8905 | |
parent | be8c2af95315e53c4ae90ccd50a36e99512acae1 (diff) |
Fixing raas/mbw#5
file ownership should be set exclusively in %files so that the package
can be built without root privileges.
-rw-r--r-- | mbw.spec | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -20,17 +20,17 @@ make %install mkdir -p %{buildroot}/usr/bin mkdir -p %{buildroot}%{_mandir}/man1 -install -m 755 -o root -g root mbw %{buildroot}/usr/bin/mbw -install -m 644 -o root -g root mbw.1 %{buildroot}%{_mandir}/man1/mbw.1 +install mbw %{buildroot}/usr/bin/mbw +install mbw.1 %{buildroot}%{_mandir}/man1/mbw.1 %clean rm -rf %{buildroot} %files %defattr(-,root,root) -/usr/bin/mbw +%attr(755,-,-) /usr/bin/mbw %doc -%{_mandir}/man1/mbw.1.gz +%attr(644,-,-) %{_mandir}/man1/mbw.1.gz %changelog * Mon Jan 17 2014 Andras Horvath <andras.horvath@gmail.com> 1.4-1 |