|
|
56f5139 |
Name: perl-Devel-CheckOS
|
|
|
a607d9d |
Version: 1.63
|
|
|
454fcd9 |
Release: 3%{?dist}
|
|
|
56f5139 |
Summary: Check what OS we're running on
|
|
|
56f5139 |
License: GPLv2 or Artistic
|
|
|
56f5139 |
Group: Development/Libraries
|
|
|
56f5139 |
URL: http://search.cpan.org/dist/Devel-CheckOS/
|
|
|
56f5139 |
Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/Devel-CheckOS-%{version}.tar.gz
|
|
|
56f5139 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
56f5139 |
BuildArch: noarch
|
|
|
56f5139 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
56f5139 |
BuildRequires: perl(File::Find::Rule) >= 0.28
|
|
|
56f5139 |
BuildRequires: perl(Test::More) >= 0.62
|
|
|
a607d9d |
# Tests only:
|
|
|
a607d9d |
BuildRequires: perl(Data::Compare) >= 1.21
|
|
|
a607d9d |
BuildRequires: perl(File::Temp) >= 0.19
|
|
|
a607d9d |
BuildRequires: perl(Test::More) >= 0.62
|
|
|
a607d9d |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
a607d9d |
Requires: perl(Data::Compare) >= 1.21
|
|
|
56f5139 |
Requires: perl(File::Find::Rule) >= 0.28
|
|
|
56f5139 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
56f5139 |
|
|
|
a607d9d |
# Remove unversioned requires
|
|
|
a607d9d |
%filter_from_requires /perl(Data::Compare)$/d /perl(File::Find::Rule)$/d
|
|
|
a607d9d |
%filter_setup
|
|
|
a607d9d |
|
|
|
56f5139 |
%description
|
|
|
56f5139 |
Devel::CheckOS provides a more friendly interface to $^O, and also lets you
|
|
|
56f5139 |
check for various OS "families" such as "Unix", which includes things like
|
|
|
56f5139 |
Linux, Solaris, AIX etc.
|
|
|
56f5139 |
|
|
|
56f5139 |
%prep
|
|
|
56f5139 |
%setup -q -n Devel-CheckOS-%{version}
|
|
|
56f5139 |
|
|
|
56f5139 |
%build
|
|
|
56f5139 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
56f5139 |
make %{?_smp_mflags}
|
|
|
56f5139 |
|
|
|
56f5139 |
%install
|
|
|
56f5139 |
rm -rf $RPM_BUILD_ROOT
|
|
|
56f5139 |
|
|
|
56f5139 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
56f5139 |
|
|
|
56f5139 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
56f5139 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
56f5139 |
|
|
|
56f5139 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
56f5139 |
|
|
|
56f5139 |
# delete wrong tests, which breaks succesful build
|
|
|
56f5139 |
# this wasn't written whole
|
|
|
56f5139 |
rm -rf t/50-script.t
|
|
|
56f5139 |
# this is testing installation, which can't pass
|
|
|
56f5139 |
rm -rf t/XX-autodetected-linux-as-Y.t
|
|
|
56f5139 |
|
|
|
56f5139 |
%check
|
|
|
56f5139 |
make test
|
|
|
56f5139 |
|
|
|
56f5139 |
%clean
|
|
|
56f5139 |
rm -rf $RPM_BUILD_ROOT
|
|
|
56f5139 |
|
|
|
56f5139 |
%files
|
|
|
56f5139 |
%defattr(-,root,root,-)
|
|
|
56f5139 |
%doc ARTISTIC.txt CHANGES GPL2.txt README TODO
|
|
|
56f5139 |
%{_bindir}/use-devel-assertos
|
|
|
56f5139 |
%{perl_vendorlib}/*
|
|
|
56f5139 |
%{_mandir}/man1/use-devel-assertos.1.gz
|
|
|
56f5139 |
%{_mandir}/man3/*
|
|
|
56f5139 |
|
|
|
56f5139 |
%changelog
|
|
|
454fcd9 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-3
|
|
|
454fcd9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
454fcd9 |
|
|
|
83e21f3 |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.63-2
|
|
|
83e21f3 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
83e21f3 |
|
|
|
a607d9d |
* Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> - 1.63-1
|
|
|
a607d9d |
- 1.63 bump
|
|
|
a607d9d |
- Remove `dontask' patch as interactive code is not run anymore
|
|
|
a607d9d |
- Add versioned Requires, filter unversioned ones out
|
|
|
a607d9d |
|
|
|
dfb4669 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.50-7
|
|
|
dfb4669 |
- Mass rebuild with perl-5.12.0
|
|
|
dfb4669 |
|
|
|
5ec16a7 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.50-6
|
|
|
5ec16a7 |
- Mass rebuild with perl-5.12.0
|
|
|
5ec16a7 |
|
|
|
81f808e |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.50-5
|
|
|
81f808e |
- rebuild against perl 5.10.1
|
|
|
81f808e |
|
|
|
2c87103 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-4
|
|
|
2c87103 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2c87103 |
|
|
|
8f5b3ed |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-3
|
|
|
8f5b3ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
8f5b3ed |
|
|
|
56f5139 |
* Wed Dec 17 2008 Marcela Mašláňová <mmaslano@redhat.com> 1.50-2
|
|
|
56f5139 |
- remove two tests, because they can't pass in rpmbuild.
|
|
|
56f5139 |
|
|
|
56f5139 |
* Tue Dec 16 2008 Marcela Mašláňová <mmaslano@redhat.com> 1.50-1
|
|
|
56f5139 |
- Specfile autogenerated by cpanspec 1.77.
|