epel9
Petr Písař 14 years ago
parent f9884a9cff
commit 7c8ba051cd

1
.gitignore vendored

@ -1 +1,2 @@
Class-Unload-0.06.tar.gz Class-Unload-0.06.tar.gz
/Class-Unload-0.07.tar.gz

@ -1,12 +1,11 @@
Name: perl-Class-Unload Name: perl-Class-Unload
Version: 0.06 Version: 0.07
Release: 2%{?dist} Release: 1%{?dist}
Summary: Unload given Class Summary: Unload given Class
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Class-Unload/ URL: http://search.cpan.org/dist/Class-Unload/
Source0: http://www.cpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl >= 0:5.005 BuildRequires: perl >= 0:5.005
BuildRequires: perl(Class::Inspector) BuildRequires: perl(Class::Inspector)
@ -22,32 +21,30 @@ from INC.
%setup -q -n Class-Unload-%{version} %setup -q -n Class-Unload-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=perl
make %{?_smp_mflags} make %{?_smp_mflags}
%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 -depth -type d -exec rmdir {} 2>/dev/null \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $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
%{perl_vendorlib}/* %{perl_privlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Thu Jan 27 2011 Petr Pisar <ppisar@redhat.com> - 0.07-1
- 0.07 bump
- Install into perl core directory
- Remove BuildRoot stuff
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-2 * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-2
- 661697 rebuild for fixing problems with vendorach/lib - 661697 rebuild for fixing problems with vendorach/lib

@ -1 +1 @@
72a3f18e578ae2e776383ed5cc4a76a3 Class-Unload-0.06.tar.gz c6a7fd628bf7a48c3374747257eb90ad Class-Unload-0.07.tar.gz

Loading…
Cancel
Save