From 1fac68eb6ac2e7aa8f5e5eae5d402bfcc6ad4ffe7986289ffd9ca9258101bcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Tue, 12 Mar 2024 17:13:56 +0000 Subject: [PATCH] - 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-InstallGuide?expand=0&rev=12 --- perl-Dist-Zilla-Plugin-InstallGuide.changes | 6 ++++++ perl-Dist-Zilla-Plugin-InstallGuide.spec | 14 +++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/perl-Dist-Zilla-Plugin-InstallGuide.changes b/perl-Dist-Zilla-Plugin-InstallGuide.changes index 3b60998..ff3d19f 100644 --- a/perl-Dist-Zilla-Plugin-InstallGuide.changes +++ b/perl-Dist-Zilla-Plugin-InstallGuide.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 12 17:02:21 UTC 2024 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + ------------------------------------------------------------------- Sat May 1 03:07:40 UTC 2021 - Tina Müller diff --git a/perl-Dist-Zilla-Plugin-InstallGuide.spec b/perl-Dist-Zilla-Plugin-InstallGuide.spec index f73b60f..fbe989d 100644 --- a/perl-Dist-Zilla-Plugin-InstallGuide.spec +++ b/perl-Dist-Zilla-Plugin-InstallGuide.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Dist-Zilla-Plugin-InstallGuide # -# Copyright (c) 2021 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-InstallGuide Name: perl-Dist-Zilla-Plugin-InstallGuide -Version: 1.200014 +Version: 1.200.14 Release: 0 -Summary: Build an INSTALL file +%define cpan_version 1.200014 License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Build an INSTALL file URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl @@ -34,6 +35,7 @@ BuildRequires: perl(Dist::Zilla::Role::FileMunger) BuildRequires: perl(Dist::Zilla::Role::ModuleMetadata) BuildRequires: perl(Dist::Zilla::Role::TextTemplate) BuildRequires: perl(List::Util) >= 1.33 +BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(Module::Metadata) BuildRequires: perl(Moose) @@ -49,6 +51,8 @@ Requires: perl(Dist::Zilla::Role::TextTemplate) Requires: perl(List::Util) >= 1.33 Requires: perl(Moose) Requires: perl(namespace::autoclean) +Provides: perl(Dist::Zilla::Plugin::InstallGuide) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -61,7 +65,7 @@ distribution you are building and which installation instructions are appropriate. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build perl Build.PL --installdirs=vendor