2024-03-12 17:14:33 +00:00
committed by Git OBS Bridge
parent 47d923c4cc
commit 628bf71c91
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:23 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:08:14 UTC 2023 - Tina Müller <timueller+perl@suse.de> Sun Jan 1 03:08:14 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Dist-Zilla-Plugin-TaskWeaver # spec file for package perl-Dist-Zilla-Plugin-TaskWeaver
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,13 @@
%define cpan_name Dist-Zilla-Plugin-TaskWeaver %define cpan_name Dist-Zilla-Plugin-TaskWeaver
Name: perl-Dist-Zilla-Plugin-TaskWeaver Name: perl-Dist-Zilla-Plugin-TaskWeaver
Version: 0.101629 Version: 0.101.629
Release: 0 Release: 0
%define cpan_version 0.101629
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: PodWeaver plugin used to build Task distributions Summary: PodWeaver plugin used to build Task distributions
URL: https://metacpan.org/release/%{cpan_name} 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
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
@@ -55,6 +56,9 @@ Requires: perl(Pod::Weaver::Role::Dialect)
Requires: perl(Pod::Weaver::Role::Section) Requires: perl(Pod::Weaver::Role::Section)
Requires: perl(Test::More) >= 0.96 Requires: perl(Test::More) >= 0.96
Requires: perl(namespace::autoclean) Requires: perl(namespace::autoclean)
Provides: perl(Dist::Zilla::Plugin::TaskWeaver) = %{version}
Provides: perl(Pod::Weaver::Plugin::TaskWeaver) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -89,7 +93,7 @@ reason without giving a version. If a reason is given, it will be included
in the Pod to explain why the specific version is required. in the Pod to explain why the specific version is required.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor