diff --git a/perl-Struct-Dumb.spec b/perl-Struct-Dumb.spec index b1eaa1f..22f263d 100644 --- a/perl-Struct-Dumb.spec +++ b/perl-Struct-Dumb.spec @@ -1,23 +1,22 @@ %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Struct-Dumb -Version: 0.09 +Version: 0.14 Release: 1mamba Summary: Struct::Dumb - make simple lightweight record-like structures Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.cpan.org +URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Struct-Dumb-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN -BuildRequires: libperl +BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl-devel Requires: perl >= %perl_major_ver -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Struct::Dumb - make simple lightweight record-like structures. @@ -26,14 +25,13 @@ Struct::Dumb - make simple lightweight record-like structures. %setup -q -n Struct-Dumb-%{version} %build -%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" - -%make -%make test +%{__perl} Build.PL installdirs=vendor +./Build +./Build test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall_perl +./Build install --destdir=%{buildroot} packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ @@ -51,9 +49,10 @@ done %files -f .packlist %defattr(-,root,root) %doc LICENSE -## note: eventually add the remaining documents (if any) -# %doc README %changelog +* Sat Mar 11 2023 Automatic Build System 0.14-1mamba +- automatic version update by autodist + * Wed Sep 12 2018 Silvan Calarco 0.09-1mamba - package created using the webbuild interface