automatic version update by autodist [release 0.22-1mamba;Sat Mar 11 2023]
This commit is contained in:
parent
5f8c580bdb
commit
a2b68fc669
@ -1,24 +1,25 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Data-ObjectDriver
|
||||
Version: 0.10_1
|
||||
Version: 0.22
|
||||
Release: 1mamba
|
||||
Summary: Data::ObjectDriver - Simple, transparent data interface, with caching
|
||||
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: http://search.cpan.org/CPAN/authors/id/S/SI/SIXAPART/Data-ObjectDriver-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libperl
|
||||
BuildRequires: perl-Class-Accessor
|
||||
BuildRequires: perl-Class-Trigger
|
||||
BuildRequires: perl-DBI
|
||||
BuildRequires: perl-Scalar-List-Utils
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Data::ObjectDriver - Simple, transparent data interface, with caching.
|
||||
@ -27,14 +28,13 @@ Data::ObjectDriver - Simple, transparent data interface, with caching.
|
||||
%setup -q -n Data-ObjectDriver-%{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 | \
|
||||
@ -60,6 +60,9 @@ sed -i "/Oracle.pm/d" .packlist
|
||||
# %doc README
|
||||
|
||||
%changelog
|
||||
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 0.22-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jan 21 2015 Automatic Build System <autodist@mambasoft.it> 0.10_1-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user