git://scientific.zcu.cz
/
rOCCI-packaging-fedora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d91db
)
Workaround build problem with permissions in COPR.
author
František Dvořák
<valtri@civ.zcu.cz>
Sun, 14 Sep 2014 15:15:12 +0000
(17:15 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Sun, 14 Sep 2014 15:15:12 +0000
(17:15 +0200)
rOCCI-server.spec
patch
|
blob
|
blame
|
history
diff --git
a/rOCCI-server.spec
b/rOCCI-server.spec
index
b096d50
..
c386c73
100644
(file)
--- a/
rOCCI-server.spec
+++ b/
rOCCI-server.spec
@@
-171,7
+171,10
@@
ln -s %{_localstatedir}/log/rocci-server %{buildroot}/%{app_root}/log
install -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
rdoc --op %{buildroot}%{_pkgdocdir} lib app *.md
+# fix permissions (but it conflicts with COPR buildsystem for F21+)
+%if 0%{?fedora} && 0%{?fedora} <= 20 || 0%{?rhel} && 0%{?rhel} <= 7
chmod -x %{buildroot}%{_pkgdocdir}/images/*.png
+%endif
install -p -m 0644 %{SOURCE4} %{buildroot}%{_pkgdocdir}