Name: perl-Crypt-CBC Version: 2.33 Release: 22 Summary: Encrypt Data with Cipher Block Chaining Mode License: GPL+ or Artistic URL: https://metacpan.org/release/Crypt-CBC Source0: https://cpan.metacpan.org/authors/id/L/LD/LDS/Crypt-CBC-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators perl(bytes) perl(constant) perl(Digest::MD5) >= 2.00 BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is Crypt::CBC, a Perl-only implementation of the cryptographic cipher block chaining mode (CBC). In combination with a block cipher such as Crypt::DES or Crypt::IDEA, you can encrypt and decrypt messages of arbitrarily long length. The encrypted messages are compatible with the encryption format used by SSLeay. %package help Summary: Help documentation of %{name} package %description help Help documentation of %{name} package. %prep %autosetup -n Crypt-CBC-%{version} -p1 chmod 644 eg/*.pl %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT %check make test %files %doc Changes README eg/ %{perl_vendorlib}/Crypt/ %files help %{_mandir}/man3/* %changelog * Thu Mar 12 2020 daiqianwen - 2.33-22 - Delete useless buildrequire. * Thu Mar 12 2020 daiqianwen - 2.33-21 - Package init