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