Prefer %global over %define
This commit is contained in:
parent
b263d126b7
commit
7030d2217d
@ -3,7 +3,7 @@
|
||||
|
||||
Name: perl-Net-SSLeay
|
||||
Version: 1.72
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl extension for using OpenSSL
|
||||
Group: Development/Libraries
|
||||
License: Artistic 2.0
|
||||
@ -63,7 +63,7 @@ chmod -c 644 examples/*
|
||||
# Remove redundant unversioned provide if we don't have rpm 4.9 or later
|
||||
%if ! %{rpm49}
|
||||
%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fvx 'perl(Net::SSLeay)'"
|
||||
%define __perl_provides %{provfilt}
|
||||
%global __perl_provides %{provfilt}
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -107,6 +107,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Net::SSLeay::Handle.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 15 2016 Paul Howarth <paul@city-fan.org> - 1.72-2
|
||||
- Prefer %%global over %%define
|
||||
|
||||
* Tue Sep 22 2015 Paul Howarth <paul@city-fan.org> - 1.72-1
|
||||
- Update to 1.72
|
||||
- Fixed a problem where SvPVx_nolen was undefined in some versions of perl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user