[perl-Variable-Magic] Update to 0.47 and clean up spec file.

Emmanuel Seyman eseyman at fedoraproject.org
Sun Oct 30 22:43:45 UTC 2011


commit f0f44cb64b993ddde57e1e649a17d5af32e085a5
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Oct 30 23:43:40 2011 +0100

    Update to 0.47 and clean up spec file.

 .gitignore               |    1 +
 perl-Variable-Magic.spec |   15 ++++++---------
 sources                  |    2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6954eab..2f3ef13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-Variable-Magic.spec b/perl-Variable-Magic.spec
index 3f38fb0..151014f 100644
--- a/perl-Variable-Magic.spec
+++ b/perl-Variable-Magic.spec
@@ -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 at club-internet.fr> - 0.47-1
+- Update to 0.47
+- Clean up spec file
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 0.46-3
 - Perl mass rebuild
 
diff --git a/sources b/sources
index ebaccfc..be2bedd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1e3c169cf8392e5c96e826e44fdeda6d  Variable-Magic-0.46.tar.gz
+ee8b101120e7971d6232aac339fb3472  Variable-Magic-0.47.tar.gz



More information about the perl-devel mailing list