[milter-manager-commit] milter-manager/milter-manager at 83f4b72 [master] package rpm: use variable

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 13 11:17:54 JST 2018


Kouhei Sutou	2018-07-13 11:17:54 +0900 (Fri, 13 Jul 2018)

  New Revision: 83f4b72e74a8e1c65c344d3210db29d451cdb952
  https://github.com/milter-manager/milter-manager/commit/83f4b72e74a8e1c65c344d3210db29d451cdb952

  Message:
    package rpm: use variable

  Modified files:
    package/rpm/centos/milter-manager.spec.in

  Modified: package/rpm/centos/milter-manager.spec.in (+2 -2)
===================================================================
--- package/rpm/centos/milter-manager.spec.in    2018-07-13 11:11:13 +0900 (19a55823)
+++ package/rpm/centos/milter-manager.spec.in    2018-07-13 11:17:54 +0900 (b6e070a1)
@@ -257,7 +257,7 @@ mkdir -p %{buildroot}%{_localstatedir}/run/milter-manager/
 
 mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d/
 cat <<EOC > %{buildroot}%{_sysconfdir}/httpd/conf.d/milter-manager-log.conf
-Alias /milter-manager-log/ /var/lib/milter-manager/public_html/log/
+Alias /milter-manager-log/ %{_localstatedir}/lib/milter-manager/public_html/log/
 EOC
 
 mv %{buildroot}%{_datadir}/milter-manager/munin/ %{buildroot}%{_datadir}/
@@ -265,7 +265,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/
 cat <<EOC > %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/milter-manager
 [milter_manager_*]
   user milter-manager
-  env.logdir /var/lib/milter-manager/public_html/log
+  env.logdir %{_localstatedir}/lib/milter-manager/public_html/log
 EOC
 
 %clean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.osdn.me/mailman/archives/milter-manager-commit/attachments/20180713/b7b4c6f2/attachment-0001.htm 



More information about the milter-manager-commit mailing list
Back to archive index