[perl-Text-Textile] 2.13 bump

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

 



commit 4b350ec4f775729858c71b5e6b2e6ebd48ee70da
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Nov 13 13:28:16 2014 +0100

    2.13 bump

 .gitignore             |    1 +
 perl-Text-Textile.spec |   56 ++++++++++++++++++++++++++++++------------------
 sources                |    2 +-
 3 files changed, 37 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 230defa..a6409b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-Textile-2.12.tar.gz
+/Text-Textile-2.13.tar.gz
diff --git a/perl-Text-Textile.spec b/perl-Text-Textile.spec
index 6cb617e..ee0affe 100644
--- a/perl-Text-Textile.spec
+++ b/perl-Text-Textile.spec
@@ -1,21 +1,38 @@
 Name:           perl-Text-Textile
-Version:        2.12
-Release:        15%{?dist}
+Version:        2.13
+Release:        1%{?dist}
 Summary:        A humane web text generator
-License:        GPL+ or Artistic
+# <https://github.com/bradchoate/text-textile/issues/15>
+# lib/Text/Textile.pm:      GPL+ or Artistic 2.0
+# ARTISTIC:                 text of Artistic 1.0
+License:        GPL+ or Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Textile/
 Source0:        http://www.cpan.org/authors/id/B/BC/BCHOATE/Text-Textile-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(vars)
+# Optional run-time:
+BuildRequires:  perl(charnames)
+# File::Spec not used at tests
 BuildRequires:  perl(HTML::Entities)
-BuildRequires:  perl(Image::Size)
+# Image::Size not used at tests
+# Tests:
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# undetected requirements
+# Optional tests:
+BuildRequires:  perl(Test::Pod) >= 1.14
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Optional run-time:
+Requires:       perl(charnames)
 Requires:       perl(File::Spec)
 Requires:       perl(HTML::Entities)
 Requires:       perl(Image::Size)
@@ -28,32 +45,29 @@ Textile is shorthand for doing common formatting tasks.
 %setup -q -n Text-Textile-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 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
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc ARTISTIC Changes README
+%doc ARTISTIC Changes README.textile
+%{_bindir}/textile
 %{perl_vendorlib}/*
+%{_mandir}/man1/textile.*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Nov 13 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 2.13-1
+- 2.13 bump
+- License changed from (GPL+ or Artistic) to (GPL+ or Artistic 2.0)
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 2.12-15
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index a269e2f..3ea2a54 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2b4a3abc496f3c167b72fdd5549268a8  Text-Textile-2.12.tar.gz
+b502b1cca00ff9a26295a05e48710c2b  Text-Textile-2.13.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