!1 package init

Merge pull request !1 from chendingxiao/master
This commit is contained in:
openeuler-ci-bot 2020-03-10 18:46:44 +08:00 committed by Gitee
commit 3f68047701
2 changed files with 50 additions and 0 deletions

BIN
Crypt-PasswdMD5-1.40.tgz Normal file

Binary file not shown.

50
perl-Crypt-PasswdMD5.spec Normal file
View File

@ -0,0 +1,50 @@
Name: perl-Crypt-PasswdMD5
Version: 1.4.0
Release: 14
Summary: Provides interoperable MD5-based crypt() functions
License: GPL+ or Artistic
URL: https://metacpan.org/release/Crypt-PasswdMD5
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-1.40.tgz
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(strict) perl(warnings)
BuildRequires: perl(Digest::MD5) >= 2.53 perl(Exporter) perl(Test::More) >= 0.94
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Digest::MD5) >= 2.53
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::MD5\\)$
%description
This perl package provides MD5-based crypt() functions.
%package help
Summary: Documents for perl-Crypt-PasswdMD5
Requires: man info
%description help
Documents for Package perl-Crypt-PasswdMD5
%prep
%autosetup -p1 -n Crypt-PasswdMD5-1.40
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*
%check
%make_build test
%files
%{perl_vendorlib}/Crypt
%files help
%doc Changes README
%{_mandir}/man3/*
%changelog
* Mon Mar 9 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 1.4.0-14
- Package init