rpms/perl-Convert-TNEF/EL-4 perl-Convert-TNEF.spec,1.5,1.6

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Mon Aug 13 23:38:22 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-Convert-TNEF/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19365

Modified Files:
	perl-Convert-TNEF.spec 
Log Message:
Sync with devel.


Index: perl-Convert-TNEF.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Convert-TNEF/EL-4/perl-Convert-TNEF.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Convert-TNEF.spec	10 Dec 2004 22:03:08 -0000	1.5
+++ perl-Convert-TNEF.spec	13 Aug 2007 23:37:50 -0000	1.6
@@ -1,19 +1,16 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
-Summary:        Perl module to read TNEF files 
 Name:           perl-Convert-TNEF
 Version:        0.17
-Release:        3
-Epoch:          0
+Release:        7%{?dist}
+Summary:        Perl module to read TNEF files
 License:        GPL or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Convert-TNEF/
-Source0:     http://www.cpan.org/authors/id/D/DO/DOUGW/Convert-TNEF-0.17.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-
+Source0:        http://www.cpan.org/authors/id/D/DO/DOUGW/Convert-TNEF-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl-MIME-tools
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(MIME::Body) >= 4.109
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 TNEF stands for Transport Neutral Encapsulation Format, and if you've
@@ -23,39 +20,49 @@
 %prep
 %setup -q -n Convert-TNEF-%{version}
 
-
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
-  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
 
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
-%check || :
-make test
+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
+%doc Changes README
 %{perl_vendorlib}/Convert
 %{_mandir}/man3/Convert::TNEF.3pm*
 
-
 %changelog
+* Tue Apr 17 2007 Steven Pritchard <steve at kspei.com> 0.17-7
+- Use fixperms macro instead of our own chmod incantation.
+- Reformat to more closely match cpanspec output.
+- BR MIME::Body instead of perl-MIME-tools.
+- BR ExtUtils::MakeMaker.
+
+* Sat Sep 16 2006 Steven Pritchard <steve at kspei.com> 0.17-6
+- Fix find option order.
+
+* Mon Sep 05 2005 Steven Pritchard <steve at kspei.com> 0.17-5
+- Spec cleanup (closer to FE perl spec template).
+- Include COPYING and Artistic.
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
 * Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.17-0.fdr.3
 - Specfile rewrite according to current fedora.us perl spec template.
 - Fix License.
@@ -66,5 +73,5 @@
 - Added "make test" in build section
 - Added missing directory
 
-* Sun Jun 15 2003 Dams <anvil[AT]livna.org> 
+* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
 - Initial build.




More information about the fedora-extras-commits mailing list