Upstream update.
Spec file modernization. Fix perl_bootstrap handling.
This commit is contained in:
parent
d246763edd
commit
28206a980f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
Class-Inspector-1.24.tar.gz
|
||||
/Class-Inspector-1.25.tar.gz
|
||||
/Class-Inspector-1.27.tar.gz
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
Name: perl-Class-Inspector
|
||||
Version: 1.25
|
||||
Release: 3%{?dist}
|
||||
Version: 1.27
|
||||
Release: 1%{?dist}
|
||||
Summary: Get information about a class and its structure
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Class-Inspector/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
@ -35,17 +34,13 @@ provide an easier, more friendly interface to this information.
|
||||
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/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
%if 0%{?perl_bootstrap}
|
||||
%if !%{defined perl_bootstrap}
|
||||
make test AUTOMATED_TESTING=1
|
||||
%endif
|
||||
|
||||
@ -56,6 +51,11 @@ make test AUTOMATED_TESTING=1
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 27 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.27-1
|
||||
- Upstream update.
|
||||
- Spec file modernization.
|
||||
- Fix perl_bootstrap handling.
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user