- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-TaskWeaver?expand=0&rev=6
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,13 @@
|
||||
|
||||
%define cpan_name Dist-Zilla-Plugin-TaskWeaver
|
||||
Name: perl-Dist-Zilla-Plugin-TaskWeaver
|
||||
Version: 0.101629
|
||||
Version: 0.101.629
|
||||
Release: 0
|
||||
%define cpan_version 0.101629
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: PodWeaver plugin used to build Task distributions
|
||||
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
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
@@ -55,6 +56,9 @@ Requires: perl(Pod::Weaver::Role::Dialect)
|
||||
Requires: perl(Pod::Weaver::Role::Section)
|
||||
Requires: perl(Test::More) >= 0.96
|
||||
Requires: perl(namespace::autoclean)
|
||||
Provides: perl(Dist::Zilla::Plugin::TaskWeaver) = %{version}
|
||||
Provides: perl(Pod::Weaver::Plugin::TaskWeaver) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%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.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
Reference in New Issue
Block a user