[milter-manager-commit] milter-manager/milter-manager at d3f8b6d [master] package yum: Create .config/rpmlint before build milter-manager

Back to archive index

Kenji Okimoto null+****@clear*****
Tue Jul 3 14:54:19 JST 2018


Kenji Okimoto	2018-07-03 14:54:19 +0900 (Tue, 03 Jul 2018)

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

  Message:
    package yum: Create .config/rpmlint before build milter-manager

  Modified files:
    package/yum/build-rpm.sh

  Modified: package/yum/build-rpm.sh (+4 -4)
===================================================================
--- package/yum/build-rpm.sh    2018-07-03 14:50:20 +0900 (b85b51b1)
+++ package/yum/build-rpm.sh    2018-07-03 14:54:19 +0900 (d73e9b55)
@@ -125,10 +125,6 @@ mkdir -p rpm/SPECS
 mkdir -p rpm/BUILD
 mkdir -p rpm/RPMS
 mkdir -p rpm/SRPMS
-mkdir -p .config
-
-echo "from Config import *" > .config/rpmlint
-echo 'addFilter("E: non-readable /etc/cron.d/milter-manager-log")' >> .config/rpmlint
 
 case $distribution_version in
   6.*)
@@ -162,6 +158,10 @@ mkdir -p rpm/SPECS
 mkdir -p rpm/BUILD
 mkdir -p rpm/RPMS
 mkdir -p rpm/SRPMS
+mkdir -p .config
+
+echo "from Config import *" > .config/rpmlint
+echo 'addFilter("E: non-readable /etc/cron.d/milter-manager-log")' >> .config/rpmlint
 
 if test -f /tmp/${SOURCE_BASE_NAME}-$VERSION-*.src.rpm; then
     if ! rpm -Uvh /tmp/${SOURCE_BASE_NAME}-$VERSION-*.src.rpm; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.osdn.me/mailman/archives/milter-manager-commit/attachments/20180703/41da4ad8/attachment.htm 



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