2024-03-12 17:17:29 +00:00
committed by Git OBS Bridge
parent 2348ef3f76
commit 2b5a7549e4
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:37 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Sun Jan 1 03:11:11 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-MooseX-Storage-Format-JSONpm
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -18,12 +18,13 @@
%define cpan_name MooseX-Storage-Format-JSONpm
Name: perl-MooseX-Storage-Format-JSONpm
Version: 0.093094
Version: 0.93.94
Release: 0
%define cpan_version 0.093094
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Format role for MooseX::Storage using JSON.pm
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -38,13 +39,15 @@ Requires: perl(JSON) >= 2
Requires: perl(MooseX::Role::Parameterized)
Requires: perl(MooseX::Storage)
Requires: perl(namespace::autoclean)
Provides: perl(MooseX::Storage::Format::JSONpm) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
a format role for MooseX::Storage using JSON.pm
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor