|
|
@ -1,31 +1,29 @@
|
|
|
|
%global cpan_version 1.42
|
|
|
|
%global cpan_version 1.40
|
|
|
|
|
|
|
|
Name: perl-Crypt-PasswdMD5
|
|
|
|
Name: perl-Crypt-PasswdMD5
|
|
|
|
|
|
|
|
# Keep 1-digit version because of history
|
|
|
|
# Keep 1-digit version because of history
|
|
|
|
Version: %(echo '%{cpan_version}' | sed 's/\.\(.\)/.\1./')
|
|
|
|
Version: %(echo '%{cpan_version}' | sed 's/\.\(.\)/.\1./')
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Summary: Provides interoperable MD5-based crypt() functions
|
|
|
|
Summary: Provides interoperable MD5-based crypt() functions
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Crypt-PasswdMD5
|
|
|
|
Group: Development/Libraries
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Crypt/Crypt-PasswdMD5-%{cpan_version}.tgz
|
|
|
|
URL: http://search.cpan.org/dist/Crypt-PasswdMD5/
|
|
|
|
Patch0: Crypt-PasswdMD5-1.42-d:md5-version.patch
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-%{cpan_version}.tgz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build:
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Digest::MD5) >= 2.53
|
|
|
|
BuildRequires: perl(Digest::MD5) >= 2.53
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Test::More) >= 1.001002
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
# Dependencies:
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(Digest::MD5) >= 2.53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Filer under-specified dependencies
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::MD5\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This package provides MD5-based crypt() functions.
|
|
|
|
This package provides MD5-based crypt() functions.
|
|
|
@ -33,113 +31,26 @@ This package provides MD5-based crypt() functions.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Crypt-PasswdMD5-%{cpan_version}
|
|
|
|
%setup -q -n Crypt-PasswdMD5-%{cpan_version}
|
|
|
|
|
|
|
|
|
|
|
|
# Specify version requirement for Digest::MD5
|
|
|
|
|
|
|
|
# This avoids the need to add an explicit dependency in the spec file
|
|
|
|
|
|
|
|
# and the need to filter the underspecified auto-generated dependency
|
|
|
|
|
|
|
|
%patch -P0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/Crypt/
|
|
|
|
%{perl_vendorlib}/Crypt
|
|
|
|
%{_mandir}/man3/Crypt::PasswdMD5.3*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Dec 23 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.4.2-7
|
|
|
|
* Tue Dec 12 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.4.0-11
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 03 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.4.2-4
|
|
|
|
|
|
|
|
- Update license to SPDX format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 13 2022 Paul Howarth <paul@city-fan.org> - 1.4.2-1
|
|
|
|
|
|
|
|
- Update to 1.42
|
|
|
|
|
|
|
|
- Handle the case where the password has the utf8 bit set (GH#1)
|
|
|
|
|
|
|
|
- Update t/basic.t to use Encode and to test the utf8 bit setting
|
|
|
|
|
|
|
|
- Very slightly reformat the source code of PasswdMD5.pm and basic.t
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.1-5
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.1-2
|
|
|
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 1 2021 Paul Howarth <paul@city-fan.org> - 1.4.1-1
|
|
|
|
|
|
|
|
- Update to 1.41
|
|
|
|
|
|
|
|
- Adopt new repo structure - see:
|
|
|
|
|
|
|
|
http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html
|
|
|
|
|
|
|
|
- Reformat Makefile.PL
|
|
|
|
|
|
|
|
- Add t/00.*
|
|
|
|
|
|
|
|
- Update POD to change RT to GitHub
|
|
|
|
|
|
|
|
- Package new LICENSE file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-20
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.0-19
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-18
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 18 2019 Paul Howarth <paul@city-fan.org> - 1.4.0-17
|
|
|
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
|
|
|
- Specify all build dependencies
|
|
|
|
|
|
|
|
- Simplify Digest::MD5 versioned dependency generation using a patch
|
|
|
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-16
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.0-15
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.0-12
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-11
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
@ -228,7 +139,7 @@ make test
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-3.1
|
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-3.1
|
|
|
|
- Rebuild for new perl
|
|
|
|
Rebuild for new perl
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-2.1
|
|
|
|
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-2.1
|
|
|
|
- correct license tag
|
|
|
|
- correct license tag
|
|
|
|