commit f7d63128216c0ea52c2182b23335976c3ce14307 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Jul 1 13:29:03 2013 +0200 1.000004 bump - Update source URL - Drop the tests subpackage - Modernize spec .gitignore | 1 + perl-Smart-Comments.spec | 49 +++++++++++++++++---------------------------- sources | 2 +- 3 files changed, 21 insertions(+), 31 deletions(-) --- diff --git a/.gitignore b/.gitignore index e1e571e..fe3d94f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Smart-Comments-1.0.4.tar.gz +/Smart-Comments-1.000004.tar.gz diff --git a/perl-Smart-Comments.spec b/perl-Smart-Comments.spec index aabf5f2..dd2b478 100644 --- a/perl-Smart-Comments.spec +++ b/perl-Smart-Comments.spec @@ -1,33 +1,31 @@ Name: perl-Smart-Comments Summary: Comments that do more than just sit there Epoch: 1 -Version: 1.0.4 -Release: 9%{?dist} +Version: 1.000004 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries -Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Smart-Comments-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Smart-Comments-%{version}.tar.gz URL: http://search.cpan.org/dist/Smart-Comments -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) BuildArch: noarch - +BuildRequires: perl +BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Filter::Simple) >= 0.8 BuildRequires: perl(List::Util) +BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Balanced) >= 2 -BuildRequires: perl(version) - -Requires: perl(Data::Dumper) -Requires: perl(Filter::Simple) >= 0.8 -Requires: perl(List::Util) -Requires: perl(Text::Balanced) >= 2 -Requires: perl(version) +BuildRequires: perl(warnings) +# Drop the old tests subpackage +# Can be removed diromg F22 development cycle +Obsoletes: %{name}-tests < 1.000004-1 +Provides: %{name}-tests = %{version}-%{release} %{?perl_default_filter} -%{?perl_default_subpackage_tests} %description Smart comments provide an easy way to insert debugging and tracking code into @@ -39,43 +37,34 @@ Simply commenting out the use Smart::Comments line turns them back into regular comments. Leaving smart comments in your code is smart because if you needed them once, you'll almost certainly need them again later. - %prep %setup -q -n Smart-Comments-%{version} - perl -pi -e 's|^#!perl -T|#!%{_perl}|' t/* %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf %{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 ';' - %{_fixperms} %{buildroot}/* - %check make test - -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %doc README Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* - %changelog +* Mon Jul 01 2013 Petr Šabata <contyk@xxxxxxxxxx> - 1:1.000004-1 +- 1.000004 bump (new versioning scheme) +- Update source URL +- Drop the tests subpackage +- Modernize spec + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1:1.0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 9b03a2b..f041918 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4f7a229e54ee067f3aaffb3338bfa4eb Smart-Comments-1.0.4.tar.gz +d6b70cbdb93a206c314450cf34ccfbc5 Smart-Comments-1.000004.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel