automatic version update by autodist [release 0.006-1mamba;Sat Mar 11 2023]
This commit is contained in:
parent
03f5dc1746
commit
f724b2bcd4
@ -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-Class-Mix
|
Name: perl-Class-Mix
|
||||||
Version: 0.005
|
Version: 0.006
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Class::Mix - dynamic class mixing
|
Summary: Class::Mix - dynamic class mixing
|
||||||
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/Z/ZE/ZEFRAM/Class-Mix-%{version}.tar.gz
|
Source: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Class-Mix-%{version}.tar.gz
|
||||||
License: GPL, Artistic
|
License: GPL, Artistic
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
@ -16,7 +16,6 @@ BuildRequires: perl-Params-Classify
|
|||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: perl >= %perl_major_ver
|
Requires: perl >= %perl_major_ver
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Class::Mix - dynamic class mixing.
|
Class::Mix - dynamic class mixing.
|
||||||
@ -25,14 +24,13 @@ Class::Mix - dynamic class mixing.
|
|||||||
%setup -q -n Class-Mix-%{version}
|
%setup -q -n Class-Mix-%{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 | \
|
||||||
@ -50,9 +48,9 @@ done
|
|||||||
%files -f .packlist
|
%files -f .packlist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
## note: eventually add the remaining documents (if any)
|
|
||||||
# %doc README
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 0.006-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Jan 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.005-1mamba
|
* Thu Jan 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.005-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user