[perl-Text-Autoformat] Update to 1.669002. BR version and Module::Build (and build with that). Include config.emacs and con

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3bcc05a5777f59cdbec42e3615e0d53e2349d596
Author: Steven Pritchard <steven.pritchard@xxxxxxxxx>
Date:   Wed Dec 8 18:37:23 2010 -0600

    Update to 1.669002.
    BR version and Module::Build (and build with that).
    Include config.emacs and config.vim in docs.

 .gitignore                |    1 +
 perl-Text-Autoformat.spec |   28 +++++++++++++++++-----------
 sources                   |    2 +-
 3 files changed, 19 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d6f66dc..4965030 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-Autoformat-v1.14.0.tar.gz
+/Text-Autoformat-1.669002.tar.gz
diff --git a/perl-Text-Autoformat.spec b/perl-Text-Autoformat.spec
index 8cbed75..ffa9fb4 100644
--- a/perl-Text-Autoformat.spec
+++ b/perl-Text-Autoformat.spec
@@ -1,15 +1,17 @@
 Name:           perl-Text-Autoformat
-Version:        1.14.0
-Release:        7%{?dist}
+Version:        1.669002
+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-v%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Text::Reform) >= 1.11
+BuildRequires:  perl(version)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # Filter out perl(Hang) and perl(NullHang) auto-provides.
@@ -29,39 +31,43 @@ The module also supplies a re-entrant, highly configurable replacement for
 the built-in Perl format() mechanism.
 
 %prep
-%setup -q -n Text-Autoformat-v%{version}
+%setup -q -n Text-Autoformat-%{version}
 chmod a-x lib/Text/Autoformat.pm Changes README
 
 sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
 chmod +x %{__perl_provides}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %clean
 rm -rf $RPM_BUILD_ROOT %{__perl_provides}
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README config.emacs config.vim
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Dec 08 2010 Steven Pritchard <steve@xxxxxxxxx> 1.669002-1
+- Update to 1.669002.
+- BR version and Module::Build (and build with that).
+- Include config.emacs and config.vim in docs.
+
 * Fri May 07 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.14.0-7
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index 7a95f95..92992c2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-06958fdf5d9acffc7d68e37cc606de72  Text-Autoformat-v1.14.0.tar.gz
+c2c400207f49a769e32b5b1b660b07f7  Text-Autoformat-1.669002.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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux