8
0
Stephan Kulow
2015-04-20 05:21:36 +00:00
committed by Git OBS Bridge
parent 654af9a615
commit 6076f79ab3
4 changed files with 26 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-Format-MySQL
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -16,24 +16,25 @@
#
Name: perl-DateTime-Format-MySQL
Version: 0.04
Release: 1
License: GPL+ or Artistic
%define cpan_name DateTime-Format-MySQL
Version: 0.05
Release: 0
%define cpan_name DateTime-Format-MySQL
Summary: Parse and format MySQL dates and times
Url: http://search.cpan.org/dist/DateTime-Format-MySQL/
License: GPL-2.0+ or Artistic-1.0+
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-MySQL-0.04.tar.gz
# Source: %{cpan_name}-%{version}.tar.bz2
Url: http://search.cpan.org/dist/DateTime-Format-MySQL/
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRequires: perl(DateTime)
BuildRequires: perl(DateTime::Format::Builder) >= 0.6
BuildRequires: perl(Module::Build) >= 0.42
# looks like requiring perl(Module::Build) alone is not enough, the resolver
# still uses the old, included version from Perl package instead in that case
BuildRequires: perl-Module-Build >= 0.42
Requires: perl(DateTime)
Requires: perl(DateTime::Format::Builder) >= 0.6
%{perl_requires}