forked from pool/perl-Specio-Library-Path-Tiny
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
d17726bb4e | |||
77a15e8d17 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 10 23:21:15 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 21 03:08:38 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
Tue Jun 21 03:08:38 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Specio-Library-Path-Tiny
|
# spec file for package perl-Specio-Library-Path-Tiny
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 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,20 +18,22 @@
|
|||||||
|
|
||||||
%define cpan_name Specio-Library-Path-Tiny
|
%define cpan_name Specio-Library-Path-Tiny
|
||||||
Name: perl-Specio-Library-Path-Tiny
|
Name: perl-Specio-Library-Path-Tiny
|
||||||
Version: 0.05
|
Version: 0.50.0
|
||||||
Release: 0
|
Release: 0
|
||||||
|
# 0.05 -> normalize -> 0.50.0
|
||||||
|
%define cpan_version 0.05
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Summary: Path::Tiny types and coercions for Specio
|
Summary: Path::Tiny types and coercions for Specio
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(File::Temp) >= 0.18
|
BuildRequires: perl(File::Temp) >= 0.18
|
||||||
BuildRequires: perl(File::pushd)
|
BuildRequires: perl(File::pushd)
|
||||||
BuildRequires: perl(Path::Tiny) >= 0.087
|
BuildRequires: perl(Path::Tiny) >= 0.87.0
|
||||||
BuildRequires: perl(Specio) >= 0.29
|
BuildRequires: perl(Specio) >= 0.290
|
||||||
BuildRequires: perl(Specio::Declare)
|
BuildRequires: perl(Specio::Declare)
|
||||||
BuildRequires: perl(Specio::Exporter)
|
BuildRequires: perl(Specio::Exporter)
|
||||||
BuildRequires: perl(Specio::Library::Builtins)
|
BuildRequires: perl(Specio::Library::Builtins)
|
||||||
@@ -40,13 +42,15 @@ BuildRequires: perl(Test::Fatal)
|
|||||||
BuildRequires: perl(Test::More) >= 0.96
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
BuildRequires: perl(Test::Specio)
|
BuildRequires: perl(Test::Specio)
|
||||||
BuildRequires: perl(parent)
|
BuildRequires: perl(parent)
|
||||||
Requires: perl(Path::Tiny) >= 0.087
|
Requires: perl(Path::Tiny) >= 0.87.0
|
||||||
Requires: perl(Specio) >= 0.29
|
Requires: perl(Specio) >= 0.290
|
||||||
Requires: perl(Specio::Declare)
|
Requires: perl(Specio::Declare)
|
||||||
Requires: perl(Specio::Exporter)
|
Requires: perl(Specio::Exporter)
|
||||||
Requires: perl(Specio::Library::Builtins)
|
Requires: perl(Specio::Library::Builtins)
|
||||||
Requires: perl(Specio::PartialDump)
|
Requires: perl(Specio::PartialDump)
|
||||||
Requires: perl(parent)
|
Requires: perl(parent)
|
||||||
|
Provides: perl(Specio::Library::Path::Tiny) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -55,8 +59,9 @@ These types can be used with Moose, Moo, Params::ValidationCompiler, and
|
|||||||
other modules.
|
other modules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
||||||
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
@@ -71,7 +76,7 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user