From 8140a550b508ff206c0b6f71ca5b55d511890041 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 23 Jun 2021 20:56:20 +0200 Subject: [PATCH] - updated to 1.15 - removed obsolete types patch --- perl-Crypt-Rijndael-types.patch | 21 --------------------- perl-Crypt-Rijndael.spec | 14 ++++++-------- 2 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 perl-Crypt-Rijndael-types.patch diff --git a/perl-Crypt-Rijndael-types.patch b/perl-Crypt-Rijndael-types.patch deleted file mode 100644 index 74b7535..0000000 --- a/perl-Crypt-Rijndael-types.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- Crypt-Rijndael-1.07_02/rijndael.h.orig 2009-06-17 19:02:15.877534003 +0200 -+++ Crypt-Rijndael-1.07_02/rijndael.h 2009-06-17 19:03:40.370784249 +0200 -@@ -27,6 +27,7 @@ - #if !defined(RIJNDAEL_H) - #define RIJNDAEL_H - -+#include - #include - #include - -@@ -41,8 +42,8 @@ - */ - #if defined(_SGIAPI) || defined( __sgi ) - #define _CRYPT_RIJNDAEL_H_TYPES -- typedef __uint32_t UINT32; -- typedef unsigned char UINT8; -+ typedef uint32_t UINT32; -+ typedef uint8_t UINT8; - #endif - - /* Solaris has sys/types.h, but doesn't act like everyone else diff --git a/perl-Crypt-Rijndael.spec b/perl-Crypt-Rijndael.spec index d190ddd..c283021 100644 --- a/perl-Crypt-Rijndael.spec +++ b/perl-Crypt-Rijndael.spec @@ -7,19 +7,18 @@ Summary: Crypt::Rijndael Perl module - Rijndael encryption algorithm Summary(pl.UTF-8): Moduł Perla Crypt::Rijndael - algorytm szyfrowania Rijndael Name: perl-Crypt-Rijndael -Version: 1.13 -Release: 3 +Version: 1.15 +Release: 1 License: LGPL v2+ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: 2af117c9ab4052cec05cf6737c5f3f45 -Patch0: %{name}-types.patch -URL: http://search.cpan.org/dist/Crypt-Rijndael/ +# Source0-md5: 5a26457e9f6a747896234773140a4f58 +URL: https://metacpan.org/dist/Crypt-Rijndael BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.745 %if %{with tests} -BuildRequires: perl-Test-Manifest >= 1.21 -BuildRequires: perl-Test-Simple +BuildRequires: perl-Test-Simple >= 0.94 %endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -34,7 +33,6 @@ szyfrowania (AES). %prep %setup -q -n %{pdir}-%{pnam}-%{version} -%patch0 -p1 %build %{__perl} Makefile.PL \ -- 2.44.0