Accepting request 631723 from home:scarabeus_iv:branches:devel:languages:perl

- Version update to 1.85:
  * Removal of many deprecated calls from 1.1.x series

- Add dependency over zlib-devel, previously added by openssl devel
- Make sure all tests are run

OBS-URL: https://build.opensuse.org/request/show/631723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=39
This commit is contained in:
Dirk Stoecker 2018-08-27 12:27:14 +00:00 committed by Git OBS Bridge
parent 57cf8c8551
commit 79c418d3ca
4 changed files with 27 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00cbb6174e628b42178e1445c9fd5a3c5ae2cfd6a5a43e03610ba14786f21b7d
size 396631

3
Net-SSLeay-1.85.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d8188b9fb1cae3bd791979c20554925d5e94a138d00414f1a6814549927b0c8
size 418349

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Aug 27 09:35:57 UTC 2018 - tchvatal@suse.com
- Version update to 1.85:
* Removal of many deprecated calls from 1.1.x series
-------------------------------------------------------------------
Mon Aug 27 09:31:53 UTC 2018 - tchvatal@suse.com
- Add dependency over zlib-devel, previously added by openssl devel
- Make sure all tests are run
-------------------------------------------------------------------
Mon Aug 21 09:18:18 UTC 2017 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Net-SSLeay
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,31 +16,26 @@
#
%bcond_with test
Name: perl-Net-SSLeay
Version: 1.81
Release: 0
%define cpan_name Net-SSLeay
Name: perl-Net-SSLeay
Version: 1.85
Release: 0
Summary: Perl extension for using OpenSSL
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Net-SSLeay/
URL: http://search.cpan.org/dist/Net-SSLeay/
Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz
BuildRequires: libopenssl-devel
BuildRequires: openssl
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: zlib-devel
%{perl_requires}
%if %{with test}
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Warn)
%endif
#
%description
Net::SSLeay module contains perl bindings to openssl (http://www.openssl.org) library.
@ -52,11 +47,11 @@ Net::SSLeay module basically comprise of:
%prep
%setup -q -n %{cpan_name}-%{version}
# replace rest of /usr/local/bin/perl with /usr/bin/perl
for f in $(find . -type f -exec grep -l "/usr/local/bin/perl" {} \; ); do
sed -i -e "s@/usr/local/bin/perl@perl@g" $f
for f in $(find . -type f -exec grep -l "%{_prefix}/local/bin/perl" {} \; ); do
sed -i -e "s@%{_prefix}/local/bin/perl@perl@g" $f
done
# delete .orig files created by patches
find . -type f -name "*.orig" -delete
find . -type f -name "*.orig" -delete
# fix perm
pushd examples
chmod 0644 *.pl
@ -68,7 +63,7 @@ make %{?_smp_mflags}
%check
%if ! 0%{?qemu_user_space_build}
make test
make %{?_smp_mflags} test
%endif
%install
@ -76,11 +71,8 @@ make test
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes Credits LICENSE QuickRef README examples
%license LICENSE
%doc Changes Credits QuickRef README examples
%changelog