[perl-Text-Autoformat] 1.669006 bump
Petr Pisar
ppisar at fedoraproject.org
Fri Nov 14 12:19:41 UTC 2014
commit fc35fd012fc8894432ee91c769e79e01f5694c6b
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Nov 14 13:14:14 2014 +0100
1.669006 bump
.rpmlint | 2 +
Text-Autoformat-1.669004-provides.patch | 26 ----------------------
perl-Text-Autoformat.spec | 36 ++++++++++++++----------------
sources | 2 +-
4 files changed, 20 insertions(+), 46 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..1f4518e
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (bulleting|reformats)");
diff --git a/perl-Text-Autoformat.spec b/perl-Text-Autoformat.spec
index 0b2c13b..7668be6 100644
--- a/perl-Text-Autoformat.spec
+++ b/perl-Text-Autoformat.spec
@@ -1,16 +1,15 @@
Name: perl-Text-Autoformat
-Version: 1.669004
-Release: 3%{?dist}
+Version: 1.669006
+Release: 1%{?dist}
Summary: Automatic text wrapping and reformatting
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Autoformat/
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
# Module Build
-BuildRequires: perl(Module::Build)
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(warnings)
# Module Runtime
BuildRequires: perl(Carp)
@@ -27,8 +26,11 @@ BuildRequires: perl(Test::More)
# Runtime
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
-Text::Autoformat provides intelligent formatting of plaintext without the
+Text::Autoformat provides intelligent formatting of plain text without the
need for any kind of embedded mark-up. The module recognizes Internet
quoting conventions, a wide range of bulleting and number schemes, centered
text, and block quotations, and reformats each appropriately. Other options
@@ -40,27 +42,20 @@ the built-in Perl format() mechanism.
%prep
%setup -q -n Text-Autoformat-%{version}
-
# Drop bogus exec bits
chmod -c -x config.*
-# Hide private modules from rpm
-%patch0
-
%build
-perl Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-%{_fixperms} $RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}/*
%check
-./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
%files
%doc Changes README config.emacs config.vim
@@ -68,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Text::Autoformat.3pm*
%changelog
+* Fri Nov 14 2014 Petr Pisar <ppisar at redhat.com> - 1.669006-1
+- 1.669006 bump
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.669004-3
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 9013d0d..cf478ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7a7881ca625fa71e551c1f43910f2865 Text-Autoformat-1.669004.tar.gz
+24fd91e41790cdd7a800922a76845b2c Text-Autoformat-1.669006.tar.gz
More information about the perl-devel
mailing list