[perl-Color-Calc] Update to 1.072 && clean up specfile

Emmanuel Seyman eseyman at fedoraproject.org
Fri Dec 9 10:41:39 UTC 2011


commit 2197d0367dd4573f18b9a641c285b65fc2e879b3
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Fri Dec 9 11:41:24 2011 +0100

    Update to 1.072 && clean up specfile

 .gitignore           |    1 +
 perl-Color-Calc.spec |   15 ++++++---------
 sources              |    2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6fa94e9..515701d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Color-Calc-1.061.tar.gz
 /Color-Calc-1.070.tar.gz
 /Color-Calc-1.071.tar.gz
+/Color-Calc-1.072.tar.gz
diff --git a/perl-Color-Calc.spec b/perl-Color-Calc.spec
index e358b1e..ed8546e 100644
--- a/perl-Color-Calc.spec
+++ b/perl-Color-Calc.spec
@@ -1,12 +1,11 @@
 Name:           perl-Color-Calc
-Version:        1.071
-Release:        2%{?dist}
+Version:        1.072
+Release:        1%{?dist}
 Summary:        Simple calculations with RGB colors
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Color-Calc/
 Source0:        http://www.cpan.org/authors/id/C/CF/CFAERBER/Color-Calc-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Graphics::ColorNames)
@@ -34,8 +33,6 @@ mv README.utf-8 README
 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 {} \;
@@ -46,16 +43,16 @@ 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_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Dec  9 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 1.072-1
+- Update to 1.072
+- Spec clean up
+
 * Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 1.071-2
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 39eee7e..f3338ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-96adc525668ff10f3ebc9d339f21080e  Color-Calc-1.071.tar.gz
+a056998edcb1b55e71fa7f023dd682c5  Color-Calc-1.072.tar.gz



More information about the perl-devel mailing list