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) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Struct-Dumb Name: perl-Struct-Dumb
Version: 0.09 Version: 0.14
Release: 1mamba Release: 1mamba
Summary: Struct::Dumb - make simple lightweight record-like structures Summary: Struct::Dumb - make simple lightweight record-like structures
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: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Struct-Dumb-%{version}.tar.gz Source: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Struct-Dumb-%{version}.tar.gz
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-devel 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
Struct::Dumb - make simple lightweight record-like structures. 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} %setup -q -n Struct-Dumb-%{version}
%build %build
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__perl} Build.PL installdirs=vendor
./Build
%make ./Build test
%make test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl ./Build install --destdir=%{buildroot}
packlist=`find %{buildroot} -name .packlist` packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \ [ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -51,9 +49,10 @@ done
%files -f .packlist %files -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE %doc LICENSE
## note: eventually add the remaining documents (if any)
# %doc README
%changelog %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 * Wed Sep 12 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.09-1mamba
- package created using the webbuild interface - package created using the webbuild interface