ZP-1046 move rhel logrotate to the right section. Released under the Affero...

ZP-1046 move rhel logrotate to the right section. Released under the Affero GNU General Public License (AGPL) version 3.
parent e6e35904
...@@ -320,9 +320,6 @@ install -Dpm 644 config/apache2/z-push.conf \ ...@@ -320,9 +320,6 @@ install -Dpm 644 config/apache2/z-push.conf \
"$b/%apache_dir/conf.d/z-push.conf"; "$b/%apache_dir/conf.d/z-push.conf";
install -Dpm 644 config/apache2/z-push-autodiscover.conf \ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
"$b/%apache_dir/conf.d/z-push-autodiscover.conf"; "$b/%apache_dir/conf.d/z-push-autodiscover.conf";
mkdir -p "$b/%_sysconfdir/logrotate.d";
install -Dpm 644 config/z-push-rhel.lr \
"$b/%_sysconfdir/logrotate.d/z-push.lr"
%post -n %name-config-apache %post -n %name-config-apache
%if 0%{?suse_version} %if 0%{?suse_version}
...@@ -542,6 +539,9 @@ install -Dpm 644 config/z-push-rhel.lr \ ...@@ -542,6 +539,9 @@ install -Dpm 644 config/z-push-rhel.lr \
%dir %apache_dir %dir %apache_dir
%dir %apache_dir/conf.d %dir %apache_dir/conf.d
%config(noreplace) %attr(0640,root,root) %apache_dir/conf.d/z-push.conf %config(noreplace) %attr(0640,root,root) %apache_dir/conf.d/z-push.conf
mkdir -p "$b/%_sysconfdir/logrotate.d";
install -Dpm 644 config/z-push-rhel.lr \
"$b/%_sysconfdir/logrotate.d/z-push.lr"
%files -n %name-config-apache-autodiscover %files -n %name-config-apache-autodiscover
%dir %apache_dir %dir %apache_dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment