From: Michael Tremer Date: Sat, 4 Mar 2023 15:04:54 +0000 (+0000) Subject: macros: Don't install logrotate files X-Git-Tag: 0.9.29~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=572acc6d6fce0f91ca3b407fc96b8445b3c9328f;p=pakfire.git macros: Don't install logrotate files logrotate has been dropped Signed-off-by: Michael Tremer --- diff --git a/macros/build.macro b/macros/build.macro index 5b0877fb2..f8e14812e 100644 --- a/macros/build.macro +++ b/macros/build.macro @@ -14,7 +14,6 @@ def MACRO_INSTALL_FILES %{MACRO_INSTALL_SYSTEMD_FILES} %{MACRO_INSTALL_SYSTEMD_TMPFILES} %{MACRO_INSTALL_PAM_FILES} - %{MACRO_INSTALL_LOGROTATE_FILES} end # XXX to be removed soon @@ -36,15 +35,6 @@ def MACRO_INSTALL_PAM_FILES unset file end -def MACRO_INSTALL_LOGROTATE_FILES - for file in %{DIR_SOURCE}/{*.logrotate,logrotate/*}; do - [ -e "${file}" ] || continue - mkdir -p %{BUILDROOT}/etc/logrotate.d - cp -vf ${file} %{BUILDROOT}/etc/logrotate.d/$(basename ${file%*.logrotate}) - done - unset file -end - def MACRO_PYTHON_COMPILE __python_compile() { if [ -x "%{python3}" ]; then