|
|
@ -1,13 +1,13 @@
|
|
|
|
Name: perl-UNIVERSAL-moniker
|
|
|
|
Name: perl-UNIVERSAL-moniker
|
|
|
|
Version: 0.08
|
|
|
|
Version: 0.08
|
|
|
|
Release: 19%{?dist}
|
|
|
|
Release: 20%{?dist}
|
|
|
|
Summary: Real world naming for classes
|
|
|
|
Summary: Real world naming for classes
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/UNIVERSAL-moniker/
|
|
|
|
URL: http://search.cpan.org/dist/UNIVERSAL-moniker/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/UNIVERSAL-moniker-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/UNIVERSAL-moniker-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Test::More), perl(Lingua::EN::Inflect)
|
|
|
|
BuildRequires: perl(Test::More), perl(Lingua::EN::Inflect)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
@ -21,16 +21,11 @@ guess at what they would be called in the real world.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n UNIVERSAL-moniker-%{version}
|
|
|
|
%setup -q -n UNIVERSAL-moniker-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
|
|
|
|
|
|
|
|
%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
|
|
|
|
|
|
|
|
%define __perl_provides %{provfilt}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$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 f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
@ -39,9 +34,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
@ -50,6 +42,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Feb 26 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.08-20
|
|
|
|
|
|
|
|
- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914323).
|
|
|
|
|
|
|
|
- Modernize spec.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-19
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|