[perl-Eval-Context] update and clean spec

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Jan 27 09:38:44 UTC 2012


commit 1e1bf6f1137ba1d88a79f7a1634b7d2c4df0a5d2
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Fri Jan 27 10:38:36 2012 +0100

    update and clean spec

 .gitignore             |    1 +
 perl-Eval-Context.spec |   14 +++++---------
 sources                |    2 +-
 3 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a771f09..7b7e91c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Eval-Context-0.07.tar.gz
+/Eval-Context-0.09.11.tar.gz
diff --git a/perl-Eval-Context.spec b/perl-Eval-Context.spec
index b6c8362..9f8376a 100644
--- a/perl-Eval-Context.spec
+++ b/perl-Eval-Context.spec
@@ -1,13 +1,12 @@
 Name:       perl-Eval-Context 
-Version:    0.07 
-Release:    11%{?dist}
+Version:    0.09.11 
+Release:    1%{?dist}
 # see lib/Eval/Context.pm
 License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Evalute perl code in context wraper 
 Source:     http://search.cpan.org/CPAN/authors/id/N/NK/NKH/Eval-Context-%{version}.tar.gz 
 Url:        http://search.cpan.org/dist/Eval-Context
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
 
@@ -58,8 +57,6 @@ perl -pi -e 's/^#~ //' t/003*
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -71,16 +68,15 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 # exercise functionality
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
 %doc README Changes Todo.txt 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Jan 27 2012 Marcela Maslanova <mmaslano at redhat.com> - 0.09.11-1
+- update and clean spec
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.07-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index cde0520..1fb9bf7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7989ee29343f562f6c37b17ed68df373  Eval-Context-0.07.tar.gz
+d13cabeb22d73d755634004b612f5cee  Eval-Context-0.09.11.tar.gz


More information about the scm-commits mailing list