upgrade to version 0.31

This commit is contained in:
leeffo 2023-07-19 14:16:26 +08:00
parent eca8ebd5e4
commit 1009e72386
4 changed files with 10 additions and 19 deletions

Binary file not shown.

BIN
FFI-CheckLib-0.31.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
%global _empty_manifest_terminate_build 0
Name: perl-FFI-CheckLib
Version: 0.28
Version: 0.31
Release: 1
Summary: FFI::CheckLib Perl module
License: GPL+ or Artistic
@ -55,37 +55,24 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
pushd %{buildroot}
touch filelist.lst
if [ -d usr/bin ];then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ];then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ];then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib ];then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files -f filelist.lst
%files
%defattr(-,root,root,-)
%doc Changes META.json README
%{perl_vendorlib}/*
%files help
%{_mandir}/*
%changelog
* Wed Jul 19 2023 leeffo <liweiganga@uniontech.com> - 0.31-1
- upgrade to version 0.31
* Tue Jul 20 2021 Xu Jin <jinxu@kylinos.cn> - 0.28-1
- Update package to 0.28

4
perl-FFI-CheckLib.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: FFI-CheckLib
tag_prefix: ^v
separator: .