Multi-package build fixes.
This commit is contained in:
@@ -19,6 +19,8 @@ include spfquery.py
|
|||||||
include test.py
|
include test.py
|
||||||
include sample.py
|
include sample.py
|
||||||
include spfmilter.py
|
include spfmilter.py
|
||||||
|
include spfmilter.rc
|
||||||
|
include spfmilter.cfg
|
||||||
include test/*
|
include test/*
|
||||||
include doc/*
|
include doc/*
|
||||||
include Milter/*.py
|
include Milter/*.py
|
||||||
|
|||||||
+1
-1
@@ -94,6 +94,7 @@ mkdir -p $RPM_BUILD_ROOT%{libdir}
|
|||||||
cp *.txt $RPM_BUILD_ROOT/var/log/milter
|
cp *.txt $RPM_BUILD_ROOT/var/log/milter
|
||||||
cp bms.py spfmilter.py $RPM_BUILD_ROOT%{libdir}
|
cp bms.py spfmilter.py $RPM_BUILD_ROOT%{libdir}
|
||||||
cp milter.cfg $RPM_BUILD_ROOT/etc/mail/pymilter.cfg
|
cp milter.cfg $RPM_BUILD_ROOT/etc/mail/pymilter.cfg
|
||||||
|
cp spfmilter.cfg $RPM_BUILD_ROOT/etc/mail
|
||||||
|
|
||||||
# logfile rotation
|
# logfile rotation
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
|
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
|
||||||
@@ -146,7 +147,6 @@ python="%{python}"
|
|||||||
w
|
w
|
||||||
q
|
q
|
||||||
EOF
|
EOF
|
||||||
%endif
|
|
||||||
ed $RPM_BUILD_ROOT/etc/rc.d/init.d/spfmilter <<'EOF'
|
ed $RPM_BUILD_ROOT/etc/rc.d/init.d/spfmilter <<'EOF'
|
||||||
/^python=/
|
/^python=/
|
||||||
c
|
c
|
||||||
|
|||||||
Reference in New Issue
Block a user