MailScanner on Centos 5: updated
Hugo van der Kooij
hvdkooij at vanderkooij.org
Mon May 21 13:51:53 IST 2007
Hi,
I am making some notes on how I am doing with the installation of
MailScanner on Centos 5.
In the process I needed to make a slight change to the perl-Filesys-Df
package to make it work.
There might be a better way to this but at least it got me a working
package.
The patch to the spec file is:
--- perl-Filesys-Df.spec.OLD 2006-05-17 09:55:06.000000000 +0200
+++ perl-Filesys-Df.spec 2007-05-21 14:47:01.000000000 +0200
@@ -1,7 +1,7 @@
Summary: perl-Filesys-Df Perl module
Name: perl-Filesys-Df
Version: 0.90
-Release: 1
+Release: 2
Packager: mailscanner at ecs.soton.ac.uk
License: GPL or Artistic
Group: Development/Libraries
@@ -35,6 +35,10 @@
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
+# 2007-05-21 (HvdK)
+rm $RPM_BUILD_ROOT/usr/lib/perl5/*/i386-linux-thread-multi/perllocal.pod
+rm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/*/i386-linux-thread-multi/auto/Filesys/Df/.packlist
+
find $RPM_BUILD_ROOT/usr -type f -print | \
sed "s@^$RPM_BUILD_ROOT@@g" | \
grep -v perllocal.pod | \
@@ -48,6 +52,8 @@
%defattr(-,root,root)
%changelog
+* Mon May 21 2007 Hugo vand er Kooij <hugo at vanderkooij.org>
+- Removed extra files not needed to package
* Wed May 17 2006 Julian Field <mailscanner at ecs.soton.ac.uk>
- Updated to use Filesys-Df version 0.90.
* Sun Apr 16 2006 Julian Field <mailscanner at ecs.soton.ac.uk>
Hugo.
--
hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/
This message is using 100% recycled electrons.
Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for the insight.)
More information about the MailScanner
mailing list