From bda4f46bd0b665a1872aad272481fd562f13ff2e Mon Sep 17 00:00:00 2001
From: Tim Orling <ticot...@gmail.com>
Date: Mon, 2 May 2016 06:32:40 -0700
Subject: 0.111 bump

- Drop patch, renenabling user_data tests, upstream has fixed (rt#107241)
---
 .gitignore                                         |  3 +-
 ...atgrab-0.109-Disable-get_user_stats-tests.patch | 32 ----------------------
 perl-Unix-Statgrab.spec                            | 11 ++++----
 sources                                            |  2 +-
 4 files changed, 8 insertions(+), 40 deletions(-)
 delete mode 100644 Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch

diff --git a/.gitignore b/.gitignore
index fd472b2..72ec8a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Unix-Statgrab-0.04.tar.gz
-/Unix-Statgrab-0.109.tar.gz
+/Unix-Statgrab-0.111.tar.gz
diff --git a/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch 
b/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
deleted file mode 100644
index a5c9331..0000000
--- a/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/t/01-methods.t b/t/01-methods.t
-index af1a48a..773f6e3 100644
---- a/t/01-methods.t
-+++ b/t/01-methods.t
-@@ -77,7 +77,6 @@ my %funcs = (
-           voluntary_context_switches involuntary_context_switches proc_size
-           proc_resident start_time time_spent cpu_percent nice state systime/
-     ],
--    get_user_stats => [qw/login_name record_id device hostname pid login_time 
systime/],
-             );
- 
- my %errs = ( get_error => [qw/error error_name error_value error_arg 
strperror/], );
-@@ -111,6 +110,7 @@ foreach my $func ( sort 
@{$Unix::Statgrab::EXPORT_TAGS{stats}} )
- {
-   SKIP:
-     {
-+        skip("get_user_stats is broken :(") if $func eq "get_user_stats";
-         my $sub = Unix::Statgrab->can($func);
-         ok( $sub, "Unix::Statgrab->can('$func')" ) or skip("Can't invoke 
unknow stats-call $func");
-         my $o = &{$sub}();
-diff --git a/t/03-leak.t b/t/03-leak.t
-index 84b46f4..75b3d55 100644
---- a/t/03-leak.t
-+++ b/t/03-leak.t
-@@ -23,7 +23,6 @@ my %funcs = (
-     get_network_iface_stats => [],
-     get_page_stats          => [qw/get_page_stats_diff/],
-     get_process_stats       => [],
--    get_user_stats          => [],
- );
- 
- my %errs = (
diff --git a/perl-Unix-Statgrab.spec b/perl-Unix-Statgrab.spec
index efb5726..bd92bad 100644
--- a/perl-Unix-Statgrab.spec
+++ b/perl-Unix-Statgrab.spec
@@ -1,12 +1,10 @@
 Name:           perl-Unix-Statgrab
-Version:        0.109
-Release:        2%{?dist}
+Version:        0.111
+Release:        1%{?dist}
 Summary:        Perl extension for collecting information about the machine
 License:        LGPLv2+
 URL:            http://search.cpan.org/dist/Unix-Statgrab/
 Source0:        
http://www.cpan.org/authors/id/R/RE/REHSACK/Unix-Statgrab-%{version}.tar.gz
-# rt#107241
-Patch0:         Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
 # Build
 BuildRequires:  coreutils
 BuildRequires:  findutils
@@ -48,7 +46,6 @@ operating system, CPU, memory usage, network interfaces, 
hard-disks etc.
 
 %prep
 %setup -q -n Unix-Statgrab-%{version}
-%patch0 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
@@ -69,6 +66,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon May 02 2016 Tim Orling <ticot...@gmail.com> - 0.111-1
+- Drop patch, renenabling user_data tests, upstream has fixed rt#10721
+- Upgrade to version 0.111
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.109-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 4438f9b..a3e121c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e1a084a220d7c7cb46cb1e06957fab3f  Unix-Statgrab-0.109.tar.gz
+5e9734ef1f90ae3c085e88426d145e7a  Unix-Statgrab-0.111.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Unix-Statgrab.git/commit/?h=master&id=bda4f46bd0b665a1872aad272481fd562f13ff2e
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to