2024-03-12 17:13:56 +00:00
committed by Git OBS Bridge
parent bb3952894e
commit 1fac68eb6a
2 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:21 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Sat May 1 03:07:40 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -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