2024-07-19 22:34:17 +00:00
committed by Git OBS Bridge
parent e59e3a4b6c
commit 403d30e6c9

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Convert-Base32
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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/
#
Name: perl-Convert-Base32
Version: 0.06
Release: 0
%define cpan_name Convert-Base32
Name: perl-Convert-Base32
Version: 0.60.0
Release: 0
# 0.06 -> normalize -> 0.60.0
%define cpan_version 0.06
License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
Summary: Encoding and decoding of base32 strings
License: CHECK(GPL-1.0+ or Artistic-1.0)
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Convert-Base32/
Source0: http://www.cpan.org/authors/id/I/IK/IKEGAMI/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/I/IK/IKEGAMI/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Exception)
Requires: perl(Test::Exception)
Provides: perl(Convert::Base32) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -42,14 +44,14 @@ non-ASCII characters in DNS-compatible host name parts.
See http://tools.ietf.org/html/draft-ietf-idn-race-03 for more details.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -57,7 +59,6 @@ See http://tools.ietf.org/html/draft-ietf-idn-race-03 for more details.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog