diff options
author | B Stack <bgstack15@gmail.com> | 2020-02-12 10:59:25 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-02-12 10:59:25 -0500 |
commit | a24db5d09faad4053b1e18ff018b0d70c7ee4bca (patch) | |
tree | 9fe1cc529a609736668cc3e0cbf75f1e1b0b6c2a | |
parent | fix xdg-themes for copr build (diff) | |
download | stackrpms-a24db5d09faad4053b1e18ff018b0d70c7ee4bca.tar.gz stackrpms-a24db5d09faad4053b1e18ff018b0d70c7ee4bca.tar.bz2 stackrpms-a24db5d09faad4053b1e18ff018b0d70c7ee4bca.zip |
make %docs only for fedora
The docs part fails out on EL, even though the README file is there.
But just skip it.
-rw-r--r-- | xdg-themes-stackrpms/xdg-themes-stackrpms.spec | 8 |
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 |