Update to 0.61
This commit is contained in:
parent
85d1a8f022
commit
e87b096b46
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
Sys-CPU-0.51.tar.gz
|
||||
/Sys-CPU-0.52.tar.gz
|
||||
/Sys-CPU-0.54.tar.gz
|
||||
/Sys-CPU-0.61.tar.gz
|
||||
|
@ -1,31 +1,35 @@
|
||||
diff -up Sys-CPU-0.54/t/Sys-CPU.t.disable Sys-CPU-0.54/t/Sys-CPU.t
|
||||
--- Sys-CPU-0.54/t/Sys-CPU.t.disable 2013-04-14 09:43:26.547961803 +0530
|
||||
+++ Sys-CPU-0.54/t/Sys-CPU.t 2013-04-14 09:51:02.107120338 +0530
|
||||
--- Sys-CPU-0.54/t/Sys-CPU.t.disable 2013-04-14 09:43:26.547961803 +0530
|
||||
+++ Sys-CPU-0.54/t/Sys-CPU.t 2013-04-14 09:51:02.107120338 +0530
|
||||
@@ -6,7 +6,7 @@
|
||||
# Change 1..1 below to 1..last_test_to_print .
|
||||
# (It may become useful if the test is moved to ./t subdirectory.)
|
||||
|
||||
-BEGIN { $| = 1; print "1..4\n"; }
|
||||
+BEGIN { $| = 1; print "1..3\n"; }
|
||||
+BEGIN { $| = 1; print "1..2\n"; }
|
||||
END {print "not ok 1\n" unless $loaded;}
|
||||
use Sys::CPU;
|
||||
$loaded = 1;
|
||||
@@ -28,12 +28,12 @@ if (defined($speed)) {
|
||||
print "not ok 3 (cpu_clock undefined (ok if Win9x))\n";
|
||||
@@ -19,22 +19,6 @@ if (defined($number)) {
|
||||
print "not ok 2 (cpu_count failed)\n";
|
||||
}
|
||||
|
||||
-$speed = &Sys::CPU::cpu_clock();
|
||||
-if (defined($speed)) {
|
||||
- print "ok 3 (CPU Speed : $speed)\n";
|
||||
-} elsif ( $^O eq 'MSWin32'){
|
||||
- print "ok 3 (CPU Speed: test skipped on MSWin32)\n";
|
||||
-} else {
|
||||
- print "not ok 3 (cpu_clock undefined (ok if Win9x))\n";
|
||||
-}
|
||||
-
|
||||
-$type = &Sys::CPU::cpu_type();
|
||||
-if (defined($type)) {
|
||||
- print "ok 4 (CPU Type : $type)\n";
|
||||
-} else {
|
||||
- print "not ok 5 (cpu_type unavailable)\n";
|
||||
- print "not ok 4 (cpu_type unavailable)\n";
|
||||
-}
|
||||
+# $type = &Sys::CPU::cpu_type();
|
||||
+# if (defined($type)) {
|
||||
+# print "ok 4 (CPU Type : $type)\n";
|
||||
+# } else {
|
||||
+# print "not ok 5 (cpu_type unavailable)\n";
|
||||
+# }
|
||||
|
||||
-
|
||||
######################### End of black magic.
|
||||
|
||||
# Insert your test code below (better if it prints "ok 13"
|
||||
|
@ -1,13 +1,13 @@
|
||||
Name: perl-Sys-CPU
|
||||
Version: 0.54
|
||||
Release: 5%{?dist}
|
||||
Version: 0.61
|
||||
Release: 1%{?dist}
|
||||
Summary: Getting CPU information
|
||||
Group: Development/Libraries
|
||||
|
||||
# Some code was copied from Unix::Processors, which is LGPLv3 or Artistic 2.0
|
||||
# The rest of the code is under the standard Perl license (GPL+ or Artistic).
|
||||
# See <https://bugzilla.redhat.com/show_bug.cgi?id=585336>.
|
||||
License: (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0)
|
||||
URL: http://search.cpan.org/~mkoderer/Sys-CPU/
|
||||
URL: http://search.cpan.org/~mzsanford/Sys-CPU/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MZ/MZSANFORD/Sys-CPU-%{version}.tar.gz
|
||||
Patch0: Sys-CPU-0.54-disable-cpu-type.patch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
@ -48,6 +48,12 @@ find %{buildroot} -type f -name CPU.bs -exec rm -f {} ';'
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 23 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.61-1
|
||||
- Update to 0.61
|
||||
- Drop unneeded macros
|
||||
- Fix incorrect dates in changelog
|
||||
- Disable test 3 (which fails on arm)
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.54-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
@ -78,7 +84,7 @@ find %{buildroot} -type f -name CPU.bs -exec rm -f {} ';'
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Oct 05 2011 Shakthi Kannan <shakthimaan@fedoraproject.org> - 0.51-7
|
||||
* Wed Oct 05 2011 Shakthi Kannan <shakthimaan@fedoraproject.org> - 0.51-7
|
||||
- Used perl_vendorarch/auto, perl_vendorarch/Sys in files section.
|
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.51-6
|
||||
|
Loading…
Reference in New Issue
Block a user