automatic version update by autodist [release 0.010-1mamba;Sat Mar 11 2023]

This commit is contained in:
Automatic Build System 2024-01-06 09:31:04 +01:00
parent e868ae0c11
commit dc9fde6551

View File

@ -1,14 +1,14 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-PerlIO-utf8_strict
Version: 0.005
Release: 2mamba
Version: 0.010
Release: 1mamba
Summary: PerlIO::utf8_strict - Fast and correct UTF-8 IO
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
URL: https://www.cpan.org/
Source: http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/PerlIO-utf8_strict-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
@ -17,7 +17,6 @@ BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PerlIO::utf8_strict - Fast and correct UTF-8 IO.
@ -26,16 +25,14 @@ PerlIO::utf8_strict - Fast and correct UTF-8 IO.
%setup -q -n PerlIO-utf8_strict-%{version}
%build
perl Build.PL installdirs=vendor
./Build
./Build test
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install \
destdir="%{buildroot}" \
--install_path bindoc="%{_mandir}/man1" \
--install_path libdoc="%{_mandir}/man3"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -47,6 +44,8 @@ for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
find %{buildroot} -name *.so -exec chmod u+w {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -55,6 +54,9 @@ done
%doc LICENSE
%changelog
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 0.010-1mamba
- automatic version update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.005-2mamba
- rebuilt with perl 5.24