summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdg-themes-stackrpms/xdg-themes-stackrpms.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/xdg-themes-stackrpms/xdg-themes-stackrpms.spec b/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
index e8ac514..05c0356 100644
--- a/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
+++ b/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
@@ -24,15 +24,21 @@ echo "no build action required"
%install
cd %{tarballdir}
-%{__install} -m0755 -d %{buildroot}%{_datadir}/themes %{buildroot}%{_docdir}/%{name}
+%{__install} -m0755 -d %{buildroot}%{_datadir}/themes
cp -pr src/%{_datadir}/themes/* %{buildroot}%{_datadir}/themes/
+
+%if 0%{?fedora}
+%{__install} -m0755 -d %{buildroot}%{_docdir}/%{name}
cp -p %{SOURCE0} %{buildroot}%{_docdir}/%{name}/
+%endif
%check
:
%files
+%if 0%{?fedora}
%doc README.md
+%endif
%{_datadir}/themes/bgstack15-red
%changelog
bgstack15