[perl-Sys-Statistics-Linux] Update to 0.66, various cleanups

Emmanuel Seyman eseyman at fedoraproject.org
Sat Oct 6 20:11:21 UTC 2012


commit a890d11401e554c5f48b44ff255ebb1e7970eb79
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sat Oct 6 22:11:16 2012 +0200

    Update to 0.66, various cleanups

 .gitignore                     |    1 +
 perl-Sys-Statistics-Linux.spec |   18 ++++++++----------
 sources                        |    2 +-
 3 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9fafe7c..f67b080 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Sys-Statistics-Linux-0.59.tar.gz
+/Sys-Statistics-Linux-0.66.tar.gz
diff --git a/perl-Sys-Statistics-Linux.spec b/perl-Sys-Statistics-Linux.spec
index 8607cc4..cccdb5c 100644
--- a/perl-Sys-Statistics-Linux.spec
+++ b/perl-Sys-Statistics-Linux.spec
@@ -1,12 +1,11 @@
 Name:           perl-Sys-Statistics-Linux
-Version:        0.59
-Release:        8%{?dist}
+Version:        0.66
+Release:        1%{?dist}
 Summary:        Front-end module to collect system statistics
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Sys-Statistics-Linux/
 Source0:        http://www.cpan.org//authors/id/B/BL/BLOONIX/Sys-Statistics-Linux-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(UNIVERSAL::require)
@@ -17,6 +16,7 @@ BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Time::HiRes)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
 
 %description
 Sys::Statistics::Linux is a front-end module and gather different linux
@@ -35,8 +35,6 @@ modules to get more information about all possible statistics.
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -47,18 +45,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 ./Build test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog LICENCE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 
 %changelog
+* Sat Oct 06 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.66-1
+- Update to 0.66
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.59-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 37fa2d6..72fc311 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-591c8c05bd79aa98e65174b2150375b9  Sys-Statistics-Linux-0.59.tar.gz
+7bfc6ce644df994fdcefc3b63d529778  Sys-Statistics-Linux-0.66.tar.gz


More information about the scm-commits mailing list