[perl-Readonly-XS] Spec clean-up
by Paul Howarth
commit ff0f62c29bb457217079e81081c3a48c6c919c76
Author: Paul Howarth <paul(a)city-fan.org>
Date: Thu Mar 1 12:48:43 2012 +0000
Spec clean-up
- Drop -tests subpackage (general lack of interest in this), but include
them as documentation for the main package
- Don't use macros for commands
- No need to remove empty directories from buildroot
- Add buildreqs for Perl core modules that might be dual-lived
- Rename makefile patch to include module name and version
- Fix script interpreter for test suite since we're packaging it
- Add filter for doc-file dependencies if we don't have %perl_default_filter
- Make %files list more explicit
- Use tabs
.gitignore | 9 +-
Readonly-XS-1.05-interpreter.patch | 8 +
makefile.pl.patch => Readonly-XS-1.05-prereq.patch | 4 +-
perl-Readonly-XS.spec | 148 +++++++++++---------
4 files changed, 96 insertions(+), 73 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b814b8b..1fcc1fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1 @@
-Readonly-XS-1.05.tar.gz
-clog
-*.rpm
-*.gz
-*.tar
-Readonly-XS-*
-.build*
-x86_64
+/Readonly-XS-[0-9.]*.tar.gz
diff --git a/Readonly-XS-1.05-interpreter.patch b/Readonly-XS-1.05-interpreter.patch
new file mode 100644
index 0000000..60becca
--- /dev/null
+++ b/Readonly-XS-1.05-interpreter.patch
@@ -0,0 +1,8 @@
+--- t/test.t
++++ t/test.t
+@@ -1,4 +1,4 @@
+-#!perl
++#!/usr/bin/perl
+
+ # Test suite for Readonly::XS.
+
diff --git a/makefile.pl.patch b/Readonly-XS-1.05-prereq.patch
similarity index 78%
rename from makefile.pl.patch
rename to Readonly-XS-1.05-prereq.patch
index 558a1b5..d2c77dc 100644
--- a/makefile.pl.patch
+++ b/Readonly-XS-1.05-prereq.patch
@@ -1,5 +1,5 @@
---- Makefile.PL.orig 2006-10-06 08:44:30.403840967 -0700
-+++ Makefile.PL 2006-10-06 08:44:42.180431002 -0700
+--- Makefile.PL
++++ Makefile.PL
@@ -5,7 +5,7 @@
WriteMakefile(
'NAME' => 'Readonly::XS',
diff --git a/perl-Readonly-XS.spec b/perl-Readonly-XS.spec
index 2b0439e..5dcbfbb 100644
--- a/perl-Readonly-XS.spec
+++ b/perl-Readonly-XS.spec
@@ -1,66 +1,88 @@
-Name: perl-Readonly-XS
-Version: 1.05
-Release: 9%{?dist}
-Summary: Companion module for Readonly
-Group: Development/Libraries
-License: GPL+ or Artistic
-URL: http://search.cpan.org/dist/Readonly-XS/
-Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-%{version}....
-Patch0: makefile.pl.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More)
-
-Requires: perl(Readonly) >= 1.02
-
+Name: perl-Readonly-XS
+Version: 1.05
+Release: 10%{?dist}
+Summary: Companion module for Readonly
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Readonly-XS/
+Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-%{version}....
+Patch0: Readonly-XS-1.05-prereq.patch
+Patch1: Readonly-XS-1.05-interpreter.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+# Build
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Module
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+BuildRequires: perl(XSLoader)
+# Test suite
+BuildRequires: perl(Test::More)
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Readonly) >= 1.02
+
+# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
+Obsoletes: perl-Readonly-XS-tests < %{version}-%{release}
+Provides: perl-Readonly-XS-tests = %{version}-%{release}
+
+# Don't provide the private XS.so() lib
%{?perl_default_filter}
-%{?perl_subpackage_tests_default}
%description
Readonly::XS is a companion module for Readonly, to speed up read-only
scalar variables.
-
%prep
%setup -q -n Readonly-XS-%{version}
+
+# Build process does not actually need perl(Readonly)
%patch0
+# Fix script interpreter for test suite since we're packaging it
+%patch1
+
+# Avoid doc-file dependencies from tests if we don't have %%perl_default_filter
+%global perl_reqfilt /bin/sh -c "%{__perl_requires} | grep -Fvx 'perl(Test::More)'"
+%define __perl_requires %{perl_reqfilt}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
-
%install
rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-
-%{_fixperms} %{buildroot}/*
-
+%{_fixperms} %{buildroot}
%check
make test
-
%clean
rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
-%doc README Changes
-%{perl_vendorarch}/auto/*
+%doc README Changes t/
+%{perl_vendorarch}/auto/Readonly/
%{perl_vendorarch}/Readonly/
-%{_mandir}/man3/*.3*
-
+%{_mandir}/man3/Readonly::XS.3pm*
%changelog
+* Thu Mar 1 2012 Paul Howarth <paul(a)city-fan.org> - 1.05-10
+- Drop -tests subpackage (general lack of interest in this), but include
+ them as documentation for the main package
+- Don't use macros for commands
+- No need to remove empty directories from buildroot
+- Add buildreqs for Perl core modules that might be dual-lived
+- Rename makefile patch to include module name and version
+- Fix script interpreter for test suite since we're packaging it
+- Add filter for doc-file dependencies if we don't have %%perl_default_filter
+- Make %%files list more explicit
+- Use tabs
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.05-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
@@ -71,25 +93,25 @@ rm -rf %{buildroot}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Dec 21 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.05-6
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.05-5
- Mass rebuild with perl-5.12.0
-* Sun Feb 21 2010 Chris Weyl <cweyl(a)alumni.drew.edu> 1.05-4
-- add perl_default_filter, etc
+* Sun Feb 21 2010 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.05-4
+- Add perl_default_filter, etc
- PERL_INSTALL_ROOT => DESTDIR
* Mon Dec 7 2009 Stepan Kasal <skasal(a)redhat.com> - 1.05-3
-- rebuild against perl 5.10.1
+- Rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.05-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-* Fri Feb 27 2009 Chris Weyl <cweyl(a)alumni.drew.edu> 1.05-1
-- update to 1.05
-- filter our provides to prevent private lib from showing up
-- drop patch1; incorporated upstream as of 1.05
+* Fri Feb 27 2009 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.05-1
+- Update to 1.05
+- Filter our provides to prevent private lib from showing up
+- Drop patch1; incorporated upstream as of 1.05
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.04-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
@@ -100,45 +122,45 @@ rm -rf %{buildroot}
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng(a)fedoraproject.org> - 1.04-10.2
- Autorebuild for GCC 4.3
-* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.04-9.2
-- patch Carp::croak call for new perl
+* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.04-9.2
+- Patch Carp::croak call for new perl
-* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.04-9
-- rebuild for new perl
+* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.04-9
+- Rebuild for new perl
-* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.04-8.2
-- add BR: perl(Test::More)
+* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.04-8.2
+- Add BR: perl(Test::More)
-* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.04-8.1
-- correct license tag
-- add BR: perl(ExtUtils::MakeMaker)
+* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.04-8.1
+- Correct license tag
+- Add BR: perl(ExtUtils::MakeMaker)
-* Tue Aug 21 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 1.04-8
-- bump
+* Tue Aug 21 2007 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.04-8
+- Bump
-* Fri Oct 06 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.04-7
-- bump for missing patch...
+* Fri Oct 06 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.04-7
+- Bump for missing patch...
-* Fri Oct 06 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.04-6
-- drop br on perl(Readonly), patch Makefile.PL as well
-- rework spec to use macros
+* Fri Oct 06 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.04-6
+- Drop br on perl(Readonly), patch Makefile.PL as well
+- Rework spec to use macros
-* Thu Oct 05 2006 Christian Iseli <Christian.Iseli(a)licr.org> 1.04-5
-- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+* Thu Oct 05 2006 Christian Iseli <Christian.Iseli(a)licr.org> - 1.04-5
+- Rebuilt for unwind info generation, broken in gcc-4.1.1-21
-* Tue Sep 19 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.04-4
-- bump for mass rebuild
+* Tue Sep 19 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.04-4
+- Bump for mass rebuild
* Thu Dec 08 2005 Michael A. Peters <mpeters(a)mac.com> - 1.04-3
-- proper version on perl(Readonly) BuildRequires & Requires
+- Proper version on perl(Readonly) BuildRequires & Requires
* Thu Dec 08 2005 Michael A. Peters <mpeters(a)mac.com> - 1.04-1
- New Version
- BuildRequires perl(Readonly), remove explicit requires on
-- perl-Readonly version
+ perl-Readonly version
* Thu Dec 08 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-2
- Fix license and BuildRequires
* Sat Nov 12 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-1
-- created spec file
+- Created spec file
12 years, 1 month
[perl-Dancer/f17] 1.3093 bump
by Petr Sabata
Summary of changes:
4bf8e23... 1.3093 bump (*)
(*) This commit already existed in another branch; no separate mail sent
12 years, 1 month
[perl-Dancer] 1.3093 bump
by Petr Sabata
commit 4bf8e234c5f8dc05e208ba9da6aba95aa8c2b141
Author: Petr Šabata <contyk(a)redhat.com>
Date: Thu Mar 1 13:05:36 2012 +0100
1.3093 bump
.gitignore | 1 +
perl-Dancer.spec | 7 +++++--
sources | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3afd78e..4f0aa7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/Dancer-1.3090.tar.gz
/Dancer-1.3091.tar.gz
/Dancer-1.3092.tar.gz
+/Dancer-1.3093.tar.gz
diff --git a/perl-Dancer.spec b/perl-Dancer.spec
index 089abe9..c7ee3be 100644
--- a/perl-Dancer.spec
+++ b/perl-Dancer.spec
@@ -1,5 +1,5 @@
Name: perl-Dancer
-Version: 1.3092
+Version: 1.3093
Release: 1%{?dist}
Summary: Lightweight yet powerful web application framework
License: GPL+ or Artistic
@@ -63,7 +63,7 @@ BuildRequires: perl(URI::Escape)
# Optional tests:
BuildRequires: perl(HTTP::Parser::XS)
BuildRequires: perl(Dancer::Session::Cookie) >= 0.14
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(HTTP::Body) >= 1.07
Requires: perl(HTTP::Server::Simple::PSGI) >= 0.11
Requires: perl(LWP)
@@ -105,6 +105,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Thu Mar 01 2012 Petr Šabata <contyk(a)redhat.com> - 1.3093-1
+- 1.3093 bump
+
* Mon Jan 30 2012 Petr Šabata <contyk(a)redhat.com> - 1.3092-1
- 1.3092 bump
- Package examples
diff --git a/sources b/sources
index 5be4a9b..63e667d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f9f3cca084f72ce6a1f9240785d7fa4f Dancer-1.3092.tar.gz
+b29899c84d96979a25e61d6f19030307 Dancer-1.3093.tar.gz
12 years, 1 month
[perl-Glib-Object-Introspection] Update to 0.007 release (rhbz #798962)
by Daniel P. Berrange
commit 097251cefe849537b85203cdceb842065e1a0943
Author: Daniel P. Berrange <berrange(a)redhat.com>
Date: Thu Mar 1 12:04:42 2012 +0000
Update to 0.007 release (rhbz #798962)
perl-Glib-Object-Introspection.spec | 7 +++++--
sources | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Glib-Object-Introspection.spec b/perl-Glib-Object-Introspection.spec
index e50740e..13cb4ed 100644
--- a/perl-Glib-Object-Introspection.spec
+++ b/perl-Glib-Object-Introspection.spec
@@ -1,7 +1,7 @@
Name: perl-Glib-Object-Introspection
-Version: 0.006
-Release: 2%{?dist}
+Version: 0.007
+Release: 1%{?dist}
Summary: Dynamically create Perl language bindings
License: LGPLv2+
Group: Development/Libraries
@@ -59,6 +59,9 @@ LANG=en_US.UTF8 make test
%{_mandir}/man3/*
%changelog
+* Thu Mar 1 2012 Daniel P. Berrange <berrange(a)redhat.com> - 0.007-1
+- Update to 0.007 release (rhbz #798962)
+
* Tue Feb 7 2012 Daniel P. Berrange <berrange(a)redhat.com> - 0.006-2
- Add Cairo::GObject BR for tests
diff --git a/sources b/sources
index 3be15fd..af70fa6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-da4378f2aead7eda13e8410d735dd1c3 Glib-Object-Introspection-0.006.tar.gz
+655f1abee375598319b954b201024247 Glib-Object-Introspection-0.007.tar.gz
12 years, 1 month