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

This commit is contained in:
Automatic Build System 2024-01-06 09:37:59 +01:00
parent 0763778392
commit 68de1549ae

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.14-1mamba
- automatic version update by autodist
* Wed Sep 12 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.09-1mamba
- package created using the webbuild interface