From b4481834cf1bc2f9727d3a36e6f401446795bea9 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Mon, 29 Jun 2015 16:04:14 +0100 Subject: Update to 3.74
- New upstream release 3.74 - The generated README file was empty - Use %license where possible diff --git a/perl-common-sense.spec b/perl-common-sense.spec index 3fd3093..7ed9acc 100644 --- a/perl-common-sense.spec +++ b/perl-common-sense.spec @@ -1,6 +1,6 @@ # Suspect that upstream prefers single-decimal versions -%global cpanversion 3.73 -%global rpmversion 3.7.3 +%global cpanversion 3.74 +%global rpmversion 3.7.4 # This arch-specific package has no binaries and generates no debuginfo %global debug_package %{nil} @@ -8,13 +8,17 @@ Name: perl-common-sense Summary: "Common sense" Perl defaults Version: %{rpmversion} -Release: 5%{?dist} +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/common-sense Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{cpanversion}.tar.gz Patch1: common-sense-3.71-podenc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2text @@ -49,9 +53,6 @@ It's supposed to be mostly the same, with much lower memory usage, as: # Specify POD encoding %patch1 -# Pod moved from sense.pm to sense.pod, resulting in empty upstream README file -pod2text sense.pod > README - %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -62,7 +63,7 @@ make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} -# Have a non-empty manpage too +# Have a non-empty manpage pod2man sense.pod > %{buildroot}%{_mandir}/man3/common::sense.3pm %check @@ -72,13 +73,23 @@ make test rm -rf %{buildroot} %files -%doc LICENSE Changes README t/ +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README t/ %dir %{perl_vendorarch}/common/ %{perl_vendorarch}/common/sense.pm %doc %{perl_vendorarch}/common/sense.pod -%{_mandir}/man3/common::sense.3pm* +%{_mandir}/man3/common::sense.3* %changelog +* Mon Jun 29 2015 Paul Howarth <p...@city-fan.org> - 3.7.4-1 +- Update to 3.74 + - The generated README file was empty +- Use %%license where possible + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 3.7.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 15b3ad8..1539a0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6da7455a43ab60ed21c2a5e3b3ddeda8 common-sense-3.73.tar.gz +35b273147200c4c95eef7816f83e572d common-sense-3.74.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-common-sense.git/commit/?h=perl-common-sense-3.7.4-1.fc23&id=b4481834cf1bc2f9727d3a36e6f401446795bea9 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel