|
|
27a8cf |
Name: perl-Sys-CPU
|
|
|
27a8cf |
Version: 0.61
|
|
|
27a8cf |
Release: 14%{?dist}
|
|
|
27a8cf |
Summary: Getting CPU information
|
|
|
27a8cf |
|
|
|
27a8cf |
# Some code was copied from Unix::Processors, which is LGPLv3 or Artistic 2.0
|
|
|
27a8cf |
# The rest of the code is under the standard Perl license (GPL+ or Artistic).
|
|
|
27a8cf |
# See <https://bugzilla.redhat.com/show_bug.cgi?id=585336>.
|
|
|
27a8cf |
License: (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0)
|
|
|
27a8cf |
URL: http://search.cpan.org/~mzsanford/Sys-CPU/
|
|
|
27a8cf |
Source0: http://search.cpan.org/CPAN/authors/id/M/MZ/MZSANFORD/Sys-CPU-%{version}.tar.gz
|
|
|
27a8cf |
# Support cpu_type on ARM and AArch64, bug #1093266, CPAN RT#95400
|
|
|
27a8cf |
Patch0: Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch
|
|
|
27a8cf |
# Accept undefined cpu_clock on ARM and AArch64, bug #1093266, CPAN RT#95400
|
|
|
27a8cf |
Patch1: Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch
|
|
|
27a8cf |
BuildRequires: perl-devel
|
|
|
27a8cf |
BuildRequires: perl-generators
|
|
|
27a8cf |
BuildRequires: perl(Config)
|
|
|
27a8cf |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
27a8cf |
# Run-time:
|
|
|
27a8cf |
BuildRequires: perl(DynaLoader)
|
|
|
27a8cf |
BuildRequires: perl(Exporter)
|
|
|
27a8cf |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
27a8cf |
|
|
|
27a8cf |
%{?perl_default_filter}
|
|
|
27a8cf |
|
|
|
27a8cf |
%description
|
|
|
27a8cf |
Perl extension for getting CPU information.
|
|
|
27a8cf |
Currently only number of CPU's supported.
|
|
|
27a8cf |
|
|
|
27a8cf |
%prep
|
|
|
27a8cf |
%setup -q -n Sys-CPU-%{version}
|
|
|
27a8cf |
%patch0 -p1
|
|
|
27a8cf |
%patch1 -p1
|
|
|
27a8cf |
sed -i 's/\r//' Changes README
|
|
|
27a8cf |
|
|
|
27a8cf |
%build
|
|
|
27a8cf |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
27a8cf |
make %{?_smp_mflags}
|
|
|
27a8cf |
|
|
|
27a8cf |
%check
|
|
|
27a8cf |
make test TEST_VERBOSE=1
|
|
|
27a8cf |
|
|
|
27a8cf |
%install
|
|
|
27a8cf |
make pure_install DESTDIR=%{buildroot}
|
|
|
27a8cf |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
27a8cf |
find %{buildroot} -type f -name CPU.bs -exec rm -f {} ';'
|
|
|
27a8cf |
%{_fixperms} %{buildroot}/*
|
|
|
27a8cf |
|
|
|
27a8cf |
%files
|
|
|
27a8cf |
%doc Changes README
|
|
|
27a8cf |
%{perl_vendorarch}/auto/*
|
|
|
27a8cf |
%{perl_vendorarch}/Sys/*
|
|
|
27a8cf |
%{_mandir}/man3/*.3*
|
|
|
27a8cf |
|
|
|
27a8cf |
|
|
|
27a8cf |
%changelog
|
|
|
27a8cf |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.61-14
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.61-13
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.61-12
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.61-11
|
|
|
27a8cf |
- Perl 5.26 rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.61-10
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.61-9
|
|
|
27a8cf |
- Perl 5.24 rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.61-8
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-7
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.61-6
|
|
|
27a8cf |
- Perl 5.22 rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.61-5
|
|
|
27a8cf |
- Perl 5.20 rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-4
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Thu Jul 17 2014 Petr Pisar <ppisar@redhat.com> - 0.61-3
|
|
|
27a8cf |
- Support cpu_type on ARM and AArch64 (bug #1093266)
|
|
|
27a8cf |
- Accept undefined cpu_clock on ARM and AArch64 (bug #1093266)
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-2
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sun Feb 23 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.61-1
|
|
|
27a8cf |
- Update to 0.61
|
|
|
27a8cf |
- Drop unneeded macros
|
|
|
27a8cf |
- Fix incorrect dates in changelog
|
|
|
27a8cf |
- Disable test 3 (which fails on arm)
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.54-5
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.54-4
|
|
|
27a8cf |
- Perl 5.18 rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Fri Apr 19 2013 Shakthi Kannan <shakthimaan@fedoraproject.org> - 0.54-3
|
|
|
27a8cf |
- Disable cpu_type test
|
|
|
27a8cf |
|
|
|
27a8cf |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.54-2
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 0.54-1
|
|
|
27a8cf |
- 0.54 bump
|
|
|
27a8cf |
|
|
|
27a8cf |
* Mon Nov 05 2012 Petr Pisar <ppisar@redhat.com> - 0.52-2
|
|
|
27a8cf |
- Add support for s390 (CPAN RT #80633)
|
|
|
27a8cf |
|
|
|
27a8cf |
* Fri Nov 02 2012 Petr Pisar <ppisar@redhat.com> - 0.52-1
|
|
|
27a8cf |
- 0.52 bump
|
|
|
27a8cf |
|
|
|
27a8cf |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-10
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.51-9
|
|
|
27a8cf |
- Perl 5.16 rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-8
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Wed Oct 05 2011 Shakthi Kannan <shakthimaan@fedoraproject.org> - 0.51-7
|
|
|
27a8cf |
- Used perl_vendorarch/auto, perl_vendorarch/Sys in files section.
|
|
|
27a8cf |
|
|
|
27a8cf |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.51-6
|
|
|
27a8cf |
- Perl mass rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-5
|
|
|
27a8cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
27a8cf |
|
|
|
27a8cf |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.51-4
|
|
|
27a8cf |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
27a8cf |
|
|
|
27a8cf |
* Sun Jun 27 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 0.51-3
|
|
|
27a8cf |
- Rebuild for perl-5.12.1.
|
|
|
27a8cf |
|
|
|
27a8cf |
* Mon May 03 2010 Shakthi Kannan <shakthimaan [AT] gmail dot com> 0.51-2
|
|
|
27a8cf |
- Updated license to (GPL+ or Artistic) and (LGPLv3 or Artistic 2.0)
|
|
|
27a8cf |
|
|
|
27a8cf |
* Fri Apr 23 2010 Shakthi Kannan <shakthimaan [AT] gmail dot com> 0.51-1
|
|
|
27a8cf |
- Initial Fedora RPM version
|