|
|
87e8ab |
Name: perl-Readonly-XS
|
|
|
87e8ab |
Version: 1.05
|
|
|
b54aad |
Release: 15%{?dist}
|
|
|
87e8ab |
Summary: Companion module for Readonly
|
|
|
87e8ab |
Group: Development/Libraries
|
|
|
87e8ab |
License: GPL+ or Artistic
|
|
|
87e8ab |
URL: http://search.cpan.org/dist/Readonly-XS/
|
|
|
87e8ab |
Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-%{version}.tar.gz
|
|
|
87e8ab |
Patch0: Readonly-XS-1.05-prereq.patch
|
|
|
87e8ab |
Patch1: Readonly-XS-1.05-interpreter.patch
|
|
|
87e8ab |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
87e8ab |
# Build
|
|
|
87e8ab |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
87e8ab |
# Module
|
|
|
87e8ab |
BuildRequires: perl(Carp)
|
|
|
87e8ab |
BuildRequires: perl(strict)
|
|
|
87e8ab |
BuildRequires: perl(vars)
|
|
|
87e8ab |
BuildRequires: perl(warnings)
|
|
|
87e8ab |
BuildRequires: perl(XSLoader)
|
|
|
87e8ab |
# Test suite
|
|
|
87e8ab |
BuildRequires: perl(Test::More)
|
|
|
87e8ab |
# Runtime
|
|
|
87e8ab |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
87e8ab |
Requires: perl(Carp)
|
|
|
87e8ab |
Requires: perl(Readonly) >= 1.02
|
|
|
87e8ab |
|
|
|
87e8ab |
# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
|
|
|
87e8ab |
Obsoletes: perl-Readonly-XS-tests < %{version}-%{release}
|
|
|
87e8ab |
Provides: perl-Readonly-XS-tests = %{version}-%{release}
|
|
|
87e8ab |
|
|
|
87e8ab |
# Don't provide the private XS.so() lib
|
|
|
87e8ab |
%{?perl_default_filter}
|
|
|
87e8ab |
|
|
|
87e8ab |
%description
|
|
|
87e8ab |
Readonly::XS is a companion module for Readonly, to speed up read-only
|
|
|
87e8ab |
scalar variables.
|
|
|
87e8ab |
|
|
|
87e8ab |
%prep
|
|
|
87e8ab |
%setup -q -n Readonly-XS-%{version}
|
|
|
87e8ab |
|
|
|
87e8ab |
# Build process does not actually need perl(Readonly)
|
|
|
87e8ab |
%patch0
|
|
|
87e8ab |
|
|
|
87e8ab |
# Fix script interpreter for test suite since we're packaging it
|
|
|
87e8ab |
%patch1
|
|
|
87e8ab |
|
|
|
87e8ab |
# Avoid doc-file dependencies from tests if we don't have %%perl_default_filter
|
|
|
87e8ab |
%global perl_reqfilt /bin/sh -c "%{__perl_requires} | grep -Fvx 'perl(Test::More)'"
|
|
|
87e8ab |
%define __perl_requires %{perl_reqfilt}
|
|
|
87e8ab |
|
|
|
87e8ab |
%build
|
|
|
87e8ab |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
87e8ab |
make %{?_smp_mflags}
|
|
|
87e8ab |
|
|
|
87e8ab |
%install
|
|
|
87e8ab |
rm -rf %{buildroot}
|
|
|
87e8ab |
make pure_install DESTDIR=%{buildroot}
|
|
|
87e8ab |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
87e8ab |
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
87e8ab |
%{_fixperms} %{buildroot}
|
|
|
87e8ab |
|
|
|
87e8ab |
%check
|
|
|
87e8ab |
make test
|
|
|
87e8ab |
|
|
|
87e8ab |
%clean
|
|
|
87e8ab |
rm -rf %{buildroot}
|
|
|
87e8ab |
|
|
|
87e8ab |
%files
|
|
|
87e8ab |
%defattr(-,root,root,-)
|
|
|
87e8ab |
%doc README Changes t/
|
|
|
87e8ab |
%{perl_vendorarch}/auto/Readonly/
|
|
|
87e8ab |
%{perl_vendorarch}/Readonly/
|
|
|
87e8ab |
%{_mandir}/man3/Readonly::XS.3pm*
|
|
|
87e8ab |
|
|
|
87e8ab |
%changelog
|
|
|
b54aad |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.05-15
|
|
|
b54aad |
- Mass rebuild 2014-01-24
|
|
|
b54aad |
|
|
|
b54aad |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.05-14
|
|
|
b54aad |
- Mass rebuild 2013-12-27
|
|
|
b54aad |
|
|
|
87e8ab |
* Thu Aug 16 2012 Petr Pisar <ppisar@redhat.com> - 1.05-13
|
|
|
87e8ab |
- Specify all dependencies
|
|
|
87e8ab |
|
|
|
87e8ab |
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1.05-12.1
|
|
|
87e8ab |
- Rebuild for perl 5.16
|
|
|
87e8ab |
|
|
|
87e8ab |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-12
|
|
|
87e8ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.05-11
|
|
|
87e8ab |
- Perl 5.16 rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu Mar 1 2012 Paul Howarth <paul@city-fan.org> - 1.05-10
|
|
|
87e8ab |
- Drop -tests subpackage (general lack of interest in this), but include
|
|
|
87e8ab |
them as documentation for the main package
|
|
|
87e8ab |
- Don't use macros for commands
|
|
|
87e8ab |
- No need to remove empty directories from buildroot
|
|
|
87e8ab |
- Add buildreqs for Perl core modules that might be dual-lived
|
|
|
87e8ab |
- Rename makefile patch to include module name and version
|
|
|
87e8ab |
- Fix script interpreter for test suite since we're packaging it
|
|
|
87e8ab |
- Add filter for doc-file dependencies if we don't have %%perl_default_filter
|
|
|
87e8ab |
- Make %%files list more explicit
|
|
|
87e8ab |
- Use tabs
|
|
|
87e8ab |
|
|
|
87e8ab |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-9
|
|
|
87e8ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-8
|
|
|
87e8ab |
- Perl mass rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-7
|
|
|
87e8ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-6
|
|
|
87e8ab |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-5
|
|
|
87e8ab |
- Mass rebuild with perl-5.12.0
|
|
|
87e8ab |
|
|
|
87e8ab |
* Sun Feb 21 2010 Chris Weyl <cweyl@alumni.drew.edu> - 1.05-4
|
|
|
87e8ab |
- Add perl_default_filter, etc
|
|
|
87e8ab |
- PERL_INSTALL_ROOT => DESTDIR
|
|
|
87e8ab |
|
|
|
87e8ab |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.05-3
|
|
|
87e8ab |
- Rebuild against perl 5.10.1
|
|
|
87e8ab |
|
|
|
87e8ab |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
|
|
|
87e8ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Fri Feb 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.05-1
|
|
|
87e8ab |
- Update to 1.05
|
|
|
87e8ab |
- Filter our provides to prevent private lib from showing up
|
|
|
87e8ab |
- Drop patch1; incorporated upstream as of 1.05
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-12
|
|
|
87e8ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-11
|
|
|
87e8ab |
- Rebuild for perl 5.10 (again)
|
|
|
87e8ab |
|
|
|
87e8ab |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.04-10.2
|
|
|
87e8ab |
- Autorebuild for GCC 4.3
|
|
|
87e8ab |
|
|
|
87e8ab |
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-9.2
|
|
|
87e8ab |
- Patch Carp::croak call for new perl
|
|
|
87e8ab |
|
|
|
87e8ab |
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-9
|
|
|
87e8ab |
- Rebuild for new perl
|
|
|
87e8ab |
|
|
|
87e8ab |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-8.2
|
|
|
87e8ab |
- Add BR: perl(Test::More)
|
|
|
87e8ab |
|
|
|
87e8ab |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-8.1
|
|
|
87e8ab |
- Correct license tag
|
|
|
87e8ab |
- Add BR: perl(ExtUtils::MakeMaker)
|
|
|
87e8ab |
|
|
|
87e8ab |
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> - 1.04-8
|
|
|
87e8ab |
- Bump
|
|
|
87e8ab |
|
|
|
87e8ab |
* Fri Oct 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.04-7
|
|
|
87e8ab |
- Bump for missing patch...
|
|
|
87e8ab |
|
|
|
87e8ab |
* Fri Oct 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.04-6
|
|
|
87e8ab |
- Drop br on perl(Readonly), patch Makefile.PL as well
|
|
|
87e8ab |
- Rework spec to use macros
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> - 1.04-5
|
|
|
87e8ab |
- Rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
87e8ab |
|
|
|
87e8ab |
* Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.04-4
|
|
|
87e8ab |
- Bump for mass rebuild
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.04-3
|
|
|
87e8ab |
- Proper version on perl(Readonly) BuildRequires & Requires
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.04-1
|
|
|
87e8ab |
- New Version
|
|
|
87e8ab |
- BuildRequires perl(Readonly), remove explicit requires on
|
|
|
87e8ab |
perl-Readonly version
|
|
|
87e8ab |
|
|
|
87e8ab |
* Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.03-2
|
|
|
87e8ab |
- Fix license and BuildRequires
|
|
|
87e8ab |
|
|
|
87e8ab |
* Sat Nov 12 2005 Michael A. Peters <mpeters@mac.com> - 1.03-1
|
|
|
87e8ab |
- Created spec file
|