forked from pool/perl-SQL-Translator
Accepting request 706424 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/706424 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Translator?expand=0&rev=29
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-SQL-Translator
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,19 +12,19 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-SQL-Translator
|
||||
Version: 0.11024
|
||||
Version: 1.60
|
||||
Release: 0
|
||||
#Upstream: Artistic-1.0 or GPL-1.0+
|
||||
#Upstream: Artistic-1.0 or GPL-1.0-or-later
|
||||
%define cpan_name SQL-Translator
|
||||
Summary: Manipulate Structured Data Definitions (Sql and More)
|
||||
License: (Artistic-1.0 or GPL-1.0+) and GPL-2.0
|
||||
Summary: Manipulate structured data definitions (SQL and more)
|
||||
License: (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-only
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/SQL-Translator/
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
@@ -35,7 +35,8 @@ BuildRequires: perl(Carp::Clan)
|
||||
BuildRequires: perl(DBI) >= 1.54
|
||||
BuildRequires: perl(Digest::SHA)
|
||||
BuildRequires: perl(File::ShareDir) >= 1.0
|
||||
BuildRequires: perl(JSON) >= 2.0
|
||||
BuildRequires: perl(File::ShareDir::Install)
|
||||
BuildRequires: perl(JSON::MaybeXS) >= 1.003003
|
||||
BuildRequires: perl(Moo) >= 1.000003
|
||||
BuildRequires: perl(Package::Variant) >= 1.001001
|
||||
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
||||
@@ -89,11 +90,11 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/'
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -103,5 +104,6 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/'
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc AUTHORS Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user