1.669006 bump

epel9
Petr Písař 10 years ago
parent ab236bed9a
commit fc35fd012f

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* (bulleting|reformats)");

@ -1,26 +0,0 @@
Separating "package" and package names by a newline results in
rpm provides not being generated for the package, which is
exactly what we want in these cases, as they're private modules.
--- lib/Text/Autoformat.pm
+++ lib/Text/Autoformat.pm
@@ -649,7 +649,8 @@
return 1;
}
-package Hang;
+package # hide from rpm
+ Hang;
use strict;
# ROMAN NUMERALS
@@ -851,7 +852,8 @@
sub empty { 0 }
-package NullHang;
+package # hide from rpm
+ NullHang;
use strict;
sub new { bless {}, $_[0] }

@ -1,16 +1,15 @@
Name: perl-Text-Autoformat Name: perl-Text-Autoformat
Version: 1.669004 Version: 1.669006
Release: 3%{?dist} Release: 1%{?dist}
Summary: Automatic text wrapping and reformatting Summary: Automatic text wrapping and reformatting
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Autoformat/ URL: http://search.cpan.org/dist/Text-Autoformat/
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
Patch0: Text-Autoformat-1.669004-provides.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: perl(Module::Build) BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Module Runtime # Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -27,6 +26,9 @@ BuildRequires: perl(Test::More)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Do not export private modules
%global __provides_exclude %{?__provides_exclude|%__provides_exclude|}^perl\\((Hang|NullHang)\\)
%description %description
Text::Autoformat provides intelligent formatting of plain text without the Text::Autoformat provides intelligent formatting of plain text without the
need for any kind of embedded mark-up. The module recognizes Internet need for any kind of embedded mark-up. The module recognizes Internet
@ -40,27 +42,20 @@ the built-in Perl format() mechanism.
%prep %prep
%setup -q -n Text-Autoformat-%{version} %setup -q -n Text-Autoformat-%{version}
# Drop bogus exec bits # Drop bogus exec bits
chmod -c -x config.* chmod -c -x config.*
# Hide private modules from rpm
%patch0
%build %build
perl Build.PL installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT %{_fixperms} %{buildroot}/*
%check %check
./Build test make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%doc Changes README config.emacs config.vim %doc Changes README config.emacs config.vim
@ -68,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Text::Autoformat.3pm* %{_mandir}/man3/Text::Autoformat.3pm*
%changelog %changelog
* Fri Nov 14 2014 Petr Pisar <ppisar@redhat.com> - 1.669006-1
- 1.669006 bump
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.669004-3 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.669004-3
- Perl 5.20 rebuild - Perl 5.20 rebuild

@ -1 +1 @@
7a7881ca625fa71e551c1f43910f2865 Text-Autoformat-1.669004.tar.gz 24fd91e41790cdd7a800922a76845b2c Text-Autoformat-1.669006.tar.gz

Loading…
Cancel
Save