[perl-Scalar-Properties] Update to 1.100860
Paul Howarth
pghmcfc at fedoraproject.org
Tue Jul 24 13:44:51 UTC 2012
commit e22bcfd5589c30e3a159427691877ecc312d95dc
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Jul 24 14:43:25 2012 +0100
Update to 1.100860
- New upstream release 1.100860
- Converted the distribution to Dist::Zilla-style
- Run the author/release tests too, adding buildreqs as necessary
- Package LICENSE file
- Clean up for modern rpmbuild
.gitignore | 2 +-
Scalar-Properties-1.100860-skip-MYMETA.yml.patch | 11 +++
perl-Scalar-Properties.spec | 100 +++++++++++++++-------
sources | 2 +-
4 files changed, 83 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 86df347..9dd6fd3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Scalar-Properties-0.13.tar.gz
+/Scalar-Properties-[0-9.]*.tar.gz
diff --git a/Scalar-Properties-1.100860-skip-MYMETA.yml.patch b/Scalar-Properties-1.100860-skip-MYMETA.yml.patch
new file mode 100644
index 0000000..e732f9f
--- /dev/null
+++ b/Scalar-Properties-1.100860-skip-MYMETA.yml.patch
@@ -0,0 +1,11 @@
+--- Scalar-Properties/MANIFEST.SKIP
++++ Scalar-Properties/MANIFEST.SKIP
+@@ -7,6 +7,8 @@
+
+ # Makemaker/Build.PL generated files and dirs.
+ MANIFEST.old
++MYMETA.json
++MYMETA.yml
+ ^Makefile$
+ ^Build$
+ ^blib
diff --git a/perl-Scalar-Properties.spec b/perl-Scalar-Properties.spec
index 41b03c3..eb8da20 100644
--- a/perl-Scalar-Properties.spec
+++ b/perl-Scalar-Properties.spec
@@ -1,57 +1,97 @@
+# noarch, but to avoid debug* files interfering with manifest test:
+%global debug_package %{nil}
+
Name: perl-Scalar-Properties
-Version: 0.13
-Release: 13%{?dist}
+Version: 1.100860
+Release: 1%{?dist}
Summary: Run-time properties on scalar variables
-
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Scalar-Properties/
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARCEL/Scalar-Properties-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Patch3: Scalar-Properties-1.100860-skip-MYMETA.yml.patch
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+# ===================================================================
+# Build requirements
+# ===================================================================
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11
+# ===================================================================
+# Module requirements
+# ===================================================================
+# (no non-core/dual-lived requirements)
+# ===================================================================
+# Test requirements
+# ===================================================================
+BuildRequires: perl(Carp)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Test::More) >= 0.88
+# ===================================================================
+# Author test requirements
+# (skipped as the Critic test fails in version 1.100860)
+# ===================================================================
+BuildRequires: perl(English)
+BuildConflicts: perl(Test::Perl::Critic)
+# ===================================================================
+# Release test requirements
+# (Spelling check can't find "versa" in version 1.100860)
+# ===================================================================
+BuildRequires: perl(Pod::Coverage::TrustPod)
+BuildConflicts: perl(Pod::Wordlist::hanekomu)
+BuildRequires: perl(Test::CheckChanges)
+BuildRequires: perl(Test::CPAN::Meta)
+BuildRequires: perl(Test::DistManifest)
+BuildRequires: perl(Test::HasVersion)
+BuildRequires: perl(Test::Kwalitee)
+BuildRequires: perl(Test::MinimumVersion)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+BuildRequires: perl(Test::Portability::Files)
+BuildRequires: perl(Test::Spelling), aspell-en
+BuildRequires: perl(Test::Synopsis)
+# ===================================================================
+# Runtime requirements
+# ===================================================================
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
-Scalar::Properties attempts to make Perl more object-oriented by
-taking an idea from Ruby: Everything you manipulate is an object,
-and the results of those manipulations are objects themselves.
-
+Scalar::Properties attempts to make Perl more object-oriented by taking an idea
+from Ruby: Everything you manipulate is an object, and the results of those
+manipulations are objects themselves.
%prep
%setup -q -n Scalar-Properties-%{version}
+# MANIFEST.SKIP should include MYMETA.yml; otherwise, t/release-dist-manifest.t
+# may fail due to it appearing unexpectedly
+%patch3 -p1
%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
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
%check
-make test
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+make test AUTHOR_TESTING=1 RELEASE_TESTING=1
%files
-%defattr(-,root,root,-)
-%doc Changes README TODO
+%doc Changes LICENSE README
%{perl_vendorlib}/Scalar/
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/Scalar::Properties.3pm*
%changelog
+* Tue Jul 24 2012 Paul Howarth <paul at city-fan.org> - 1.100860-1
+- Update to 1.100860
+ - Converted the distribution to Dist::Zilla-style
+- Run the author/release tests too, adding buildreqs as necessary
+- Package LICENSE file
+- Clean up for modern rpmbuild
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.13-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
@@ -68,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Dec 21 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.13-8
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.13-7
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 4a23248..fcafc94 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-78e191132f3b8e1e97fb9f38e7e512bf Scalar-Properties-0.13.tar.gz
+6f144203205f0a60026b82f32e51c595 Scalar-Properties-1.100860.tar.gz
More information about the scm-commits
mailing list