- updated to 2.07
SvUPGRADE was changed to a statement. a minor bug in META.yml was fixed. - remove old svupgrade.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DES?expand=0&rev=20
This commit is contained in:
parent
3bd4c18c44
commit
d7906ba368
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b7be9e4113eea37554a33c4d738a9226662c3ee53a5f0f281e1b1974569822f0
|
|
||||||
size 15369
|
|
BIN
Crypt-DES-2.07.tar.gz
(Stored with Git LFS)
Normal file
BIN
Crypt-DES-2.07.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 27 11:58:30 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.07
|
||||||
|
SvUPGRADE was changed to a statement.
|
||||||
|
a minor bug in META.yml was fixed.
|
||||||
|
- remove old svupgrade.patch
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 21 09:02:52 UTC 2013 - coolo@suse.com
|
Fri Jun 21 09:02:52 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -17,21 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Crypt-DES
|
Name: perl-Crypt-DES
|
||||||
|
Version: 2.07
|
||||||
|
Release: 0
|
||||||
%define cpan_name Crypt-DES
|
%define cpan_name Crypt-DES
|
||||||
Summary: Perl DES encryption module
|
Summary: Perl DES encryption module
|
||||||
License: Artistic-1.0
|
License: Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Version: 2.05
|
|
||||||
Release: 0
|
|
||||||
Url: http://search.cpan.org/dist/Crypt-DES/
|
Url: http://search.cpan.org/dist/Crypt-DES/
|
||||||
#Source: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-2.05.tar.gz
|
Source: http://www.cpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
|
||||||
Patch0: svupgrade.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Crypt::CBC)
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The module implements the Crypt::CBC interface, which has the following
|
The module implements the Crypt::CBC interface, which has the following
|
||||||
@ -42,16 +39,12 @@ methods
|
|||||||
=item encrypt
|
=item encrypt
|
||||||
=item decrypt
|
=item decrypt
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Eric Young (eay@mincom.oz.au)
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0 -p1
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -59,24 +52,11 @@ Authors:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
### since 11.4 perl_process_packlist
|
|
||||||
### removes .packlist, perllocal.pod files
|
|
||||||
%if 0%{?suse_version} > 1130
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%else
|
|
||||||
# do not perl_process_packlist
|
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/Crypt/DES/.packlist
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
|
||||||
%endif
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc COPYRIGHT README
|
%doc COPYRIGHT README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
Description: update for SvUPGRADE()
|
|
||||||
Origin: CPAN RT
|
|
||||||
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=82943
|
|
||||||
Bug-Debian: http://bugs.debian.org/708468
|
|
||||||
Forwarded: not-needed
|
|
||||||
Author: Zefram <zefram [...] fysh.org>
|
|
||||||
Reviewed-by: gregor herrmann <gregoa@debian.org>
|
|
||||||
Last-Update: 2013-05-17
|
|
||||||
|
|
||||||
--- a/DES.xs
|
|
||||||
+++ b/DES.xs
|
|
||||||
@@ -64,8 +64,7 @@
|
|
||||||
output = sv_newmortal();
|
|
||||||
output_len = 8;
|
|
||||||
|
|
||||||
- if (!SvUPGRADE(output, SVt_PV))
|
|
||||||
- croak("cannot use output argument as lvalue");
|
|
||||||
+ (void) SvUPGRADE(output, SVt_PV);
|
|
||||||
|
|
||||||
perl_des_crypt(input, SvGROW(output, output_len), (i32 *)ks, enc_flag);
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user