diff --git a/Crypt-DES-2.05.tar.gz b/Crypt-DES-2.05.tar.gz deleted file mode 100644 index 70bda8d..0000000 --- a/Crypt-DES-2.05.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7be9e4113eea37554a33c4d738a9226662c3ee53a5f0f281e1b1974569822f0 -size 15369 diff --git a/Crypt-DES-2.07.tar.gz b/Crypt-DES-2.07.tar.gz new file mode 100644 index 0000000..7fcd6f7 --- /dev/null +++ b/Crypt-DES-2.07.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2db1ebb5837b4cb20051c0ee5b733b4453e3137df0a92306034c867621edd7e7 +size 16720 diff --git a/perl-Crypt-DES.changes b/perl-Crypt-DES.changes index d016df5..f443d11 100644 --- a/perl-Crypt-DES.changes +++ b/perl-Crypt-DES.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Jul 29 12:11:49 UTC 2013 - cfarrell@suse.com + +- license update: BSD-3-Clause + See Copyright + +------------------------------------------------------------------- +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 diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec index bed6890..b9fe03d 100644 --- a/perl-Crypt-DES.spec +++ b/perl-Crypt-DES.spec @@ -17,21 +17,18 @@ Name: perl-Crypt-DES +Version: 2.07 +Release: 0 %define cpan_name Crypt-DES Summary: Perl DES encryption module -License: Artistic-1.0 +License: BSD-3-Clause Group: Development/Libraries/Perl -Version: 2.05 -Release: 0 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: %{cpan_name}-%{version}.tar.gz -Patch0: svupgrade.patch +Source: http://www.cpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Crypt::CBC) +%{perl_requires} %description The module implements the Crypt::CBC interface, which has the following @@ -42,16 +39,12 @@ methods =item encrypt =item decrypt -Authors: --------- - Eric Young (eay@mincom.oz.au) - %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 +find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check @@ -59,24 +52,11 @@ Authors: %install %perl_make_install -### since 11.4 perl_process_packlist -### removes .packlist, perllocal.pod files -%if 0%{?suse_version} > 1130 %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 -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc COPYRIGHT README %changelog diff --git a/svupgrade.patch b/svupgrade.patch deleted file mode 100644 index 632de79..0000000 --- a/svupgrade.patch +++ /dev/null @@ -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 -Reviewed-by: gregor herrmann -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); -