[perl-Test-utf8] Update to 1.01
Paul Howarth
pghmcfc at fedoraproject.org
Wed Sep 24 15:07:37 UTC 2014
commit f349f1ffcd8621298b4c79e326784a2365070477
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Sep 24 16:04:55 2014 +0100
Update to 1.01
- New upstream release 1.01
- Fix unnecessary warning caused by using /x (CPAN RT#88189,
https://github.com/2shortplanks/Test-utf8/pull/2)
- Make %files list more explicit
- Don't need to remove empty directories from the buildroot
- Don't use macros for commands
- Classify buildreqs by usage
.gitignore | 3 +--
perl-Test-utf8.spec | 40 +++++++++++++++++++++++++++++-----------
sources | 2 +-
3 files changed, 31 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f9724db..8f8a629 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Test-utf8-0.02.tar.gz
-/Test-utf8-1.00.tar.gz
+/Test-utf8-[0-9.]*.tar.gz
diff --git a/perl-Test-utf8.spec b/perl-Test-utf8.spec
index 340e1b2..b6b5181 100644
--- a/perl-Test-utf8.spec
+++ b/perl-Test-utf8.spec
@@ -1,16 +1,28 @@
Name: perl-Test-utf8
-Version: 1.00
-Release: 8%{?dist}
+Version: 1.01
+Release: 1%{?dist}
Summary: Handy utf8 tests
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-utf8/
Source0: http://www.cpan.org/authors/id/M/MA/MARKF/Test-utf8-%{version}.tar.gz
BuildArch: noarch
+# Module Build
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires: perl(base)
+BuildRequires: perl(charnames)
+BuildRequires: perl(Encode)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
+BuildRequires: perl(warnings)
+# Test Suite
BuildRequires: perl(Test::Builder::Tester) >= 0.09
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Test::More)
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -22,26 +34,32 @@ strings in Perl.
%setup -q -n Test-utf8-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} %{buildroot}/*
+%{_fixperms} %{buildroot}
%check
make test
%files
-%doc CHANGES
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc CHANGES README
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::utf8.3*
%changelog
+* Wed Sep 24 2014 Paul Howarth <paul at city-fan.org> - 1.01-1
+- Update to 1.01
+ - Fix unnecessary warning caused by using /x (CPAN RT#88189,
+ https://github.com/2shortplanks/Test-utf8/pull/2)
+- Make %%files list more explicit
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for commands
+- Classify buildreqs by usage
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.00-8
- Perl 5.20 rebuild
diff --git a/sources b/sources
index cd31335..8490814 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-196c138c637a70a1c4f0fbcb63e68c59 Test-utf8-1.00.tar.gz
+58351d9e168399f6e55fb0982cdbe6a1 Test-utf8-1.01.tar.gz
More information about the perl-devel
mailing list