Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-IDEA?expand=0&rev=12
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Crypt-IDEA
|
# spec file for package perl-Crypt-IDEA
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,53 +12,50 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname Crypt-IDEA
|
%define cpan_name Crypt-IDEA
|
||||||
|
Name: perl-Crypt-IDEA
|
||||||
Name: perl-%{modname}
|
Version: 1.100.0
|
||||||
Version: 1.10
|
|
||||||
Release: 0
|
Release: 0
|
||||||
|
# 1.10 -> normalize -> 1.100.0
|
||||||
|
%define cpan_version 1.10
|
||||||
|
License: ). The IDEA algorithm is patented in Europe and the United States by Ascom-Tech AG. Module altered between 1999 and 2005 to allow added functionality with perl -MCPAN, Changes by Dave Paris (edited lib paths, endian issues, new tests). Thank you to contributors for endian patches and new test suite!
|
||||||
Summary: Perl interface to IDEA block cipher
|
Summary: Perl interface to IDEA block cipher
|
||||||
License: Other License(s), see package
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
Source: %{modname}-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This perl extension is an implementation of the IDEA block cipher algorithm.
|
This perl extension is an implementation of the IDEA block cipher
|
||||||
The module implements the Crypt::BlockCipher interface.
|
algorithm. The module implements the Crypt::BlockCipher interface, which
|
||||||
|
has the following methods
|
||||||
|
|
||||||
Authors:
|
* blocksize
|
||||||
--------
|
=item keysize
|
||||||
Systemics Ltd. <http://www.systemics.com/>
|
=item encrypt
|
||||||
|
=item decrypt
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf %{buildroot}
|
%doc changes COPYRIGHT README
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc README COPYRIGHT changes
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorarch}/Crypt
|
|
||||||
%{perl_vendorarch}/auto/Crypt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user