Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

6 changed files with 101 additions and 25 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
SOURCES/Crypt-PasswdMD5-1.40.tgz
/Crypt-PasswdMD5-1.3.tar.gz
/Crypt-PasswdMD5-1.40.tgz
/Crypt-PasswdMD5-1.41.tgz

View File

@ -1 +1 @@
7bc5aa63adefb575462eaf1430af9812a0541295 SOURCES/Crypt-PasswdMD5-1.40.tgz
72881c66d2382022f9b11ade9ebda5f2405be095 Crypt-PasswdMD5-1.41.tgz

View File

@ -0,0 +1,11 @@
--- lib/Crypt/PasswdMD5.pm
+++ lib/Crypt/PasswdMD5.pm
@@ -3,7 +3,7 @@ package Crypt::PasswdMD5;
use strict;
use warnings;
-use Digest::MD5;
+use Digest::MD5 2.53;
use Exporter 'import';

View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error Summary\(en_US\) interoperable -> ")

View File

@ -1,29 +1,31 @@
%global cpan_version 1.40
Name: perl-Crypt-PasswdMD5
%global cpan_version 1.41
Name: perl-Crypt-PasswdMD5
# Keep 1-digit version because of history
Version: %(echo '%{cpan_version}' | sed 's/\.\(.\)/.\1./')
Release: 11%{?dist}
Summary: Provides interoperable MD5-based crypt() functions
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-PasswdMD5/
Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-%{cpan_version}.tgz
BuildArch: noarch
BuildRequires: perl-interpreter
Version: %(echo '%{cpan_version}' | sed 's/\.\(.\)/.\1./')
Release: 3%{?dist}
Summary: Provides interoperable MD5-based crypt() functions
License: GPL+ or Artistic
URL: https://metacpan.org/release/Crypt-PasswdMD5
Source0: https://cpan.metacpan.org/modules/by-module/Crypt/Crypt-PasswdMD5-%{cpan_version}.tgz
Patch0: Crypt-PasswdMD5-1.40-d:md5-version.patch
BuildArch: noarch
# Build:
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Digest::MD5) >= 2.53
BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::More) >= 1.001002
# 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
This package provides MD5-based crypt() functions.
@ -31,24 +33,82 @@ This package provides MD5-based crypt() functions.
%prep
%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
%patch0
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Crypt
%{_mandir}/man3/*
%{perl_vendorlib}/Crypt/
%{_mandir}/man3/Crypt::PasswdMD5.3*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.1-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.1-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@ -136,7 +196,7 @@ make test
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* 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
- correct license tag

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (Crypt-PasswdMD5-1.41.tgz) = eee16e08f5cdca4d5bc2056e39e18bbbeb5e8bcf403fb44eb632a9a09496fc8b34ede4b2feaffacceafef99be390e44ca49767d98c05a62a2208e1c7e7ff5430