8
0

Compare commits

2 Commits

2 changed files with 27 additions and 20 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 3 14:02:36 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 20 05:05:00 UTC 2017 - coolo@suse.com Thu Jul 20 05:05:00 UTC 2017 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Authen-DecHpwd # spec file for package perl-Authen-DecHpwd
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 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,33 +12,35 @@
# 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/
# #
Name: perl-Authen-DecHpwd
Version: 2.007
Release: 0
#Upstream: GPL-1.0+
%define cpan_name Authen-DecHpwd %define cpan_name Authen-DecHpwd
Name: perl-Authen-DecHpwd
Version: 2.7.0
Release: 0
# 2.007 -> normalize -> 2.7.0
%define cpan_version 2.007
#Upstream: GPL-1.0-or-later
License: GPL-2.0-or-later
Summary: DEC VMS password hashing Summary: DEC VMS password hashing
License: GPL-2.0+ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/Authen-DecHpwd/
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Data::Integer) >= 0.003 BuildRequires: perl(Data::Integer) >= 0.3
BuildRequires: perl(Digest::CRC) >= 0.14 BuildRequires: perl(Digest::CRC) >= 0.140
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: perl(Scalar::String) BuildRequires: perl(Scalar::String)
BuildRequires: perl(parent) BuildRequires: perl(parent)
Requires: perl(Data::Integer) >= 0.003 Requires: perl(Data::Integer) >= 0.3
Requires: perl(Digest::CRC) >= 0.14 Requires: perl(Digest::CRC) >= 0.140
Requires: perl(Scalar::String) Requires: perl(Scalar::String)
Requires: perl(parent) Requires: perl(parent)
Provides: perl(Authen::DecHpwd) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -50,21 +52,20 @@ The password hashing function is implemented in XS, with a hideously slow
pure Perl backup version for systems that can't handle XS. pure Perl backup version for systems that can't handle XS.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
%build %build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" perl Build.PL --installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags} ./Build build --flags=%{?_smp_mflags}
%check %check
./Build test ./Build test
%install %install
./Build install destdir=%{buildroot} create_packlist=0 ./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%changelog %changelog