rpms/perl-Smart-Comments/devel perl-Smart-Comments.spec,1.9,1.10

Chris Weyl cweyl at fedoraproject.org
Sat Feb 6 10:33:46 UTC 2010


Author: cweyl

Update of /cvs/extras/rpms/perl-Smart-Comments/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10953

Modified Files:
	perl-Smart-Comments.spec 
Log Message:
* Sat Feb 06 2010 Chris Weyl <cweyl at alumni.drew.edu> 1:v1.0.3-6
- add perl_default_filter, etc
- PERL_INSTALL_ROOT => DESTDIR
- drop t/ from doc



Index: perl-Smart-Comments.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Smart-Comments/devel/perl-Smart-Comments.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- perl-Smart-Comments.spec	7 Dec 2009 04:18:57 -0000	1.9
+++ perl-Smart-Comments.spec	6 Feb 2010 10:33:46 -0000	1.10
@@ -1,31 +1,28 @@
 Name:           perl-Smart-Comments
 Epoch:          1
 Version:        v1.0.3
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Comments that do more than just sit there
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Smart-Comments            
 Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Smart-Comments-%{version}.tar.gz 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildArch:      noarch
 
-## core
 BuildRequires: perl(Data::Dumper)
 BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(Filter::Simple)
 BuildRequires: perl(List::Util)
 BuildRequires: perl(Test::More)
 BuildRequires: perl(Text::Balanced)
-## non-core
-BuildRequires:  perl(version)
-BuildRequires:  perl(Test::Pod)
-## author test
-BuildRequires:  perl(Test::Pod::Coverage)
-
-BuildArch: noarch
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(version)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
 
+%{?perl_default_filter}
+%{?perl_default_subpackage_tests}
 
 %description
 Smart comments provide an easy way to insert debugging and tracking code into
@@ -41,7 +38,7 @@ needed them once, you'll almost certainl
 %prep
 %setup -q -n Smart-Comments-%{version}
 
-perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
+perl -pi -e 's|^#!perl|#!%{_perl}|' t/*
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -51,7 +48,7 @@ make %{?_smp_mflags}
 %install
 rm -rf %{buildroot}
 
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 
@@ -68,12 +65,17 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc README Changes t/
+%doc README Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Sat Feb 06 2010 Chris Weyl <cweyl at alumni.drew.edu> 1:v1.0.3-6
+- add perl_default_filter, etc
+- PERL_INSTALL_ROOT => DESTDIR
+- drop t/ from doc
+
 * Mon Dec  7 2009 Stepan Kasal <skasal at redhat.com> - 1:v1.0.3-5
 - rebuild against perl 5.10.1
 



More information about the scm-commits mailing list