2024-07-20 19:55:02 +00:00
committed by Git OBS Bridge
parent 5402ea5c96
commit e86e508cf2

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Dancer-Plugin-Database
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,30 @@
# 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-Dancer-Plugin-Database
Version: 2.13
Release: 0
%define cpan_name Dancer-Plugin-Database
Summary: Easy Database Connections for Dancer Applications
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Dancer-Plugin-Database/
Source0: http://www.cpan.org/authors/id/B/BI/BIGPRESH/%{cpan_name}-%{version}.tar.gz
Name: perl-Dancer-Plugin-Database
Version: 2.130.0
Release: 0
# 2.13 -> normalize -> 2.130.0
%define cpan_version 2.13
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Easy database connections for Dancer applications
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Dancer) >= 1.3099
BuildRequires: perl(Dancer::Plugin::Database::Core) >= 0.16
Requires: perl(Dancer) >= 1.3099
Requires: perl(Dancer::Plugin::Database::Core) >= 0.16
BuildRequires: perl(Dancer) >= 1.309.900
BuildRequires: perl(Dancer::Plugin::Database::Core) >= 0.160
Requires: perl(Dancer) >= 1.309.900
Requires: perl(Dancer::Plugin::Database::Core) >= 0.160
Provides: perl(Dancer::Plugin::Database) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -61,14 +63,14 @@ S Trout for pointing out the previous lack of thread safety. Inspiration
was drawn from DBIx::Connector.)
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -76,7 +78,6 @@ was drawn from DBIx::Connector.)
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog