%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-YAML-LibYAML Version: 0.85 Release: 1mamba Summary: An XS Wrapper Module of libyaml Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org Source: https://cpan.metacpan.org/modules/by-module/YAML/YAML-LibYAML-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libperl BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl-devel Requires: perl >= %perl_major_ver %description An XS Wrapper Module of libyaml. %prep %setup -q -n YAML-LibYAML-%{version} #%patch0 -p1 %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %make %make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm -f $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done # Fix error on strip chmod 644 %{buildroot}%{perl_vendorarch}/auto/YAML/XS/LibYAML/LibYAML.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f .packlist %defattr(-,root,root) %doc README %changelog * Wed Sep 14 2022 Automatic Build System 0.85-1mamba - automatic version update by autodist * Tue Sep 06 2022 Automatic Build System 0.84-1mamba - automatic version update by autodist * Sun May 09 2021 Automatic Build System 0.83-1mamba - automatic version update by autodist * Wed Feb 24 2021 Automatic Build System 0.82-1mamba - automatic version update by autodist * Sat May 02 2020 Automatic Build System 0.74-1mamba - automatic update by autodist * Sat Oct 28 2017 Automatic Build System 0.63_001-1mamba - automatic update by autodist * Wed Nov 09 2016 Silvan Calarco 0.62_002-2mamba - rebuilt with perl 5.24 * Mon Aug 29 2016 Automatic Build System 0.62_002-1mamba - automatic update by autodist * Sun Feb 15 2015 Automatic Build System 0.59-1mamba - automatic update by autodist * Fri Jan 16 2015 Automatic Build System 0.56-1mamba - automatic update by autodist * Fri Dec 12 2014 Automatic Build System 0.54-1mamba - automatic update by autodist * Sat Sep 20 2014 Automatic Build System 0.52-1mamba - automatic update by autodist * Thu Jul 31 2014 Automatic Build System 0.44-1mamba - automatic update by autodist * Tue Mar 19 2013 Automatic Build System 0.41-1mamba - automatic version update by autodist * Thu Feb 21 2013 Automatic Build System 0.39-1mamba - automatic version update by autodist * Sun Nov 11 2012 Silvan Calarco 0.38-2mamba - perl 5.16 mass rebuild * Wed Apr 25 2012 Automatic Build System 0.38-1mamba - automatic version update by autodist * Sun May 22 2011 Automatic Build System 0.35-1mamba - automatic update by autodist * Mon Mar 21 2011 Silvan Calarco 0.34-1mamba - package created by autospec