From d7906ba36854534da239c689d9556f88c0c5f7764e06575a7682e8a596a534c1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 27 Jul 2013 12:11:19 +0000 Subject: [PATCH 1/2] - 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 --- Crypt-DES-2.05.tar.gz | 3 --- Crypt-DES-2.07.tar.gz | 3 +++ perl-Crypt-DES.changes | 9 +++++++++ perl-Crypt-DES.spec | 34 +++++++--------------------------- svupgrade.patch | 21 --------------------- 5 files changed, 19 insertions(+), 51 deletions(-) delete mode 100644 Crypt-DES-2.05.tar.gz create mode 100644 Crypt-DES-2.07.tar.gz delete mode 100644 svupgrade.patch 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..b051b14 100644 --- a/perl-Crypt-DES.changes +++ b/perl-Crypt-DES.changes @@ -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 diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec index bed6890..1d911ab 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 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); - From b009011b912f8f75c9e9d92ba8b6f366c5da3971fe70ccce9430320092d5f69c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 29 Jul 2013 17:50:10 +0000 Subject: [PATCH 2/2] Accepting request 184611 from home:babelworx:ldig:branches:devel:languages:perl license update: BSD-3-Clause See Copyright OBS-URL: https://build.opensuse.org/request/show/184611 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DES?expand=0&rev=21 --- perl-Crypt-DES.changes | 6 ++++++ perl-Crypt-DES.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-Crypt-DES.changes b/perl-Crypt-DES.changes index b051b14..f443d11 100644 --- a/perl-Crypt-DES.changes +++ b/perl-Crypt-DES.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec index 1d911ab..b9fe03d 100644 --- a/perl-Crypt-DES.spec +++ b/perl-Crypt-DES.spec @@ -21,7 +21,7 @@ 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 Url: http://search.cpan.org/dist/Crypt-DES/ Source: http://www.cpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{version}.tar.gz