Update to 0.47 and clean up spec file.

This commit is contained in:
Emmanuel Seyman 2011-10-30 23:43:40 +01:00
parent 03948403f7
commit f0f44cb64b
3 changed files with 8 additions and 10 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ Variable-Magic-0.43.tar.gz
/Variable-Magic-0.44.tar.gz
/Variable-Magic-0.45.tar.gz
/Variable-Magic-0.46.tar.gz
/Variable-Magic-0.47.tar.gz

View File

@ -1,12 +1,11 @@
Name: perl-Variable-Magic
Version: 0.46
Release: 3%{?dist}
Version: 0.47
Release: 1%{?dist}
Summary: Associate user-defined magic to variables from Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Variable-Magic/
Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/Variable-Magic-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
@ -32,8 +31,6 @@ you can add your own magic to any variable without the pain of the C API.
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 {} \;
@ -45,17 +42,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Variable*
%{_mandir}/man3/*
%changelog
* Sun Oct 30 2011 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.47-1
- Update to 0.47
- Clean up spec file
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.46-3
- Perl mass rebuild

View File

@ -1 +1 @@
1e3c169cf8392e5c96e826e44fdeda6d Variable-Magic-0.46.tar.gz
ee8b101120e7971d6232aac339fb3472 Variable-Magic-0.47.tar.gz