rpms/perl-Mail-Alias/devel perl-Mail-Alias.spec,1.11,1.12

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Wed Apr 18 15:13:36 UTC 2007


Author: steve

Update of /cvs/extras/rpms/perl-Mail-Alias/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2610

Modified Files:
	perl-Mail-Alias.spec 
Log Message:
Remove check macro cruft.
Reformat to match cpanspec output.
Fix URL and Source0.
Use _fixperms macro.
BR ExtUtils::MakeMaker.



Index: perl-Mail-Alias.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Mail-Alias/devel/perl-Mail-Alias.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- perl-Mail-Alias.spec	26 Sep 2006 21:45:03 -0000	1.11
+++ perl-Mail-Alias.spec	18 Apr 2007 15:13:02 -0000	1.12
@@ -1,20 +1,15 @@
-%define			pkgname		Mail-Alias
-
-Summary:		Module for manipulating e-mail alias files
-Name:			perl-%{pkgname}
-Version:		1.12
-Release:		7%{?dist}
-
-License:		Artistic or GPL
-Group:			Development/Libraries
-URL:			http://www.cpan.org/
-
-Source0:		http://search.cpan.org//CPAN/authors/id/Z/ZE/ZELT/%{pkgname}-%{version}.tar.gz
-BuildArch:		noarch
-BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-buildroot
-
-BuildRequires:	perl
-Requires:		perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Name:           perl-Mail-Alias
+Version:        1.12
+Release:        8%{?dist}
+Summary:        Module for manipulating e-mail alias files
+License:        GPL or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Mail-Alias/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZELT/Mail-Alias-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This module allows direct manipulation of various types of E-Mail
@@ -24,7 +19,7 @@
 formats.
 
 %prep
-%setup -q -n %{pkgname}-%{version}
+%setup -q -n Mail-Alias-%{version}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -32,24 +27,34 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 
-%check || :
-%{__make} test
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README Changes
-%dir %{perl_vendorlib}/Mail
-%{perl_vendorlib}/Mail/Alias.pm
-%{_mandir}/man3/Mail::Alias.3pm*
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
 
 %changelog
+* Wed Apr 18 2007 Steven Pritchard <steve at kspei.com> 1.12-8
+- Remove check macro cruft.
+- Reformat to match cpanspec output.
+- Fix URL and Source0.
+- Use _fixperms macro.
+- BR ExtUtils::MakeMaker.
+
 * Tue Sep 26 2006 Steven Pritchard <steve at kspei.com> 1.12-7
 - Fix find option order.
 




More information about the scm-commits mailing list