Use distribution instead of perl version to control build-time dependencies
There is no perl in minimal SRPM build root.
This commit is contained in:
parent
dfc7aa1e84
commit
819f1d3a8a
@ -2,15 +2,15 @@
|
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
|
||||
|
||||
# Select the appropriate system speller
|
||||
%if %(perl -e 'print (($] >= 5.010000) ? 1 : 0);')
|
||||
%global speller hunspell
|
||||
%else
|
||||
%if 0%{?rhel} && (0%{?rhel} < 6)
|
||||
%global speller aspell
|
||||
%else
|
||||
%global speller hunspell
|
||||
%endif
|
||||
|
||||
Name: perl-Perl-OSType
|
||||
Version: 1.010
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Map Perl operating system names to generic types
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -112,6 +112,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Perl::OSType.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 1.010-2
|
||||
- Use distribution instead of perl version to control build-time dependencies
|
||||
|
||||
* Wed Jun 22 2016 Paul Howarth <paul@city-fan.org> - 1.010-1
|
||||
- Update to 1.010
|
||||
- Added 'msys' as a Unix-type OS
|
||||
|
Loading…
Reference in New Issue
Block a user