forked from perl/perl-Crypt-OpenSSL-RSA
Accepting request 517894 from home:scarabeus_iv:branches:devel:languages:perl
- Sort with spec-cleaner - Add patch openssl11.patch fixing compatibility with openssl-1.1.0 OBS-URL: https://build.opensuse.org/request/show/517894 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-OpenSSL-RSA?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
a6321d6818
commit
3a00578e66
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Crypt-OpenSSL-RSA
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -15,26 +15,24 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Crypt-OpenSSL-RSA
|
||||
%define cpan_name Crypt-OpenSSL-RSA
|
||||
Summary: RSA encoding and decoding, using the openSSL libraries
|
||||
Name: perl-Crypt-OpenSSL-RSA
|
||||
Version: 0.28
|
||||
Release: 0
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Summary: RSA encoding and decoding, using the openSSL libraries
|
||||
License: GPL-1.0+ OR Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Crypt-OpenSSL-RSA
|
||||
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-%{version}.tar.gz
|
||||
Patch: %{cpan_name}.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
Patch0: %{cpan_name}.patch
|
||||
Patch1: openssl110.patch
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Crypt::OpenSSL::Random)
|
||||
Requires: perl(Crypt::OpenSSL::Random)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Crypt::OpenSSL::RSA is an XS perl module designed to provide basic RSA
|
||||
@@ -42,26 +40,23 @@ functionality. It does this by providing a glue to the RSA functions
|
||||
in the OpenSSL library.
|
||||
|
||||
%prep
|
||||
%setup -n %{cpan_name}-%{version}
|
||||
%patch
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make %{?_smp_mflags} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-, root, root)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user