!2 Cleanup spec file & Fix build issues

From: @misaka00251 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-10-10 09:26:53 +00:00 committed by Gitee
commit ae5f1e56a4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,14 @@
%global _empty_manifest_terminate_build 0
Name: perl-Digest-MD4
Version: 1.9
Release: 1
Release: 2
Summary: Perl interface to the MD4 Algorithm
License: perl License
Group: Development/Libraries
URL: http://search.cpan.org/dist/Digest-MD4/
Source0: http://www.cpan.org/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-%{version}.tar.gz
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
@ -20,7 +22,7 @@ input a message of arbitrary length and produces as output a 128-bit
"fingerprint" or "message digest" of the input.
%package help
Summary : Perl interface to the MD4 Algorithm
Summary: Perl interface to the MD4 Algorithm
Provides: perl-Digest-MD4-doc
%description help
@ -65,6 +67,7 @@ if [ -d usr/lib ];then
fi
popd
mv %{buildroot}/filelist.lst .
%check
make test
@ -76,9 +79,13 @@ rm -rf $RPM_BUILD_ROOT
%doc Changes META.json README rfc1320.txt
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Digest*
%files help
%{_mandir}/*
%changelog
* Mon Oct 10 2022 misaka00251 <misaka00251@misakanet.cn> - 1.9-2
- Cleanup spec file & Fix build issues
* Mon Jul 12 2021 Perl_Bot <Perl_Bot@openeuler.org> 1.9-1
- Specfile autogenerated by Perl_Bot