[packages/nagios-theme-exfoliation] Rel 3; install all base files first and then overwrite these with theme files (to avoid missing file
arekm
arekm at pld-linux.org
Thu Aug 1 12:42:03 CEST 2024
commit 30599483fa1c7b28b85284bb47dedbc31a064c1a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Aug 1 11:44:09 2024 +0200
Rel 3; install all base files first and then overwrite these with theme files (to avoid missing files)
nagios-theme-exfoliation.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/nagios-theme-exfoliation.spec b/nagios-theme-exfoliation.spec
index e8f6690..2b31902 100644
--- a/nagios-theme-exfoliation.spec
+++ b/nagios-theme-exfoliation.spec
@@ -1,7 +1,7 @@
Summary: Exfoliation Nagios theme
Name: nagios-theme-exfoliation
Version: 4.5.3
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/WWW
# https://www.nagios.org/downloads/nagios-core/thanks/?product_download=nagioscore-source
@@ -49,13 +49,14 @@ install -d $RPM_BUILD_ROOT%{htmldir}
# keep synced with install-exfoliation Makefile.in target
# base files, not present in the exfoliation
-cp -a html/*.php html/includes $RPM_BUILD_ROOT%{htmldir}
+cp -a html/*.php html/includes html/images html/stylesheets $RPM_BUILD_ROOT%{htmldir}
# @COREWINDOW@ doesn't need to be expanded here for us
cp -a html/index.php.in $RPM_BUILD_ROOT%{htmldir}/index.php
-# copy theme files
-cp -a images stylesheets $RPM_BUILD_ROOT%{htmldir}
+# overwrite changed theme files since some files from base are still needed (ex nag_funcs.css)
+cp -a images/* $RPM_BUILD_ROOT%{htmldir}/images/
+cp -a stylesheets/* $RPM_BUILD_ROOT%{htmldir}/stylesheets/
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-theme-exfoliation.git/commitdiff/30599483fa1c7b28b85284bb47dedbc31a064c1a
More information about the pld-cvs-commit
mailing list