Files
perl-Devel-Deprecations-Env…/perl-Devel-Deprecations-Environmental.spec
2025-08-12 18:13:27 +02:00

75 lines
2.7 KiB
RPMSpec

#
# spec file for package perl-Devel-Deprecations-Environmental
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Devel-Deprecations-Environmental
Name: perl-Devel-Deprecations-Environmental
Version: 1.101.0
Release: 0
# 1.101 -> normalize -> 1.101.0
%define cpan_version 1.101
License: This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
Summary: Deprecations for your code's surroundings
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Devel::CheckOS) >= 1.95
BuildRequires: perl(Devel::Hide) >= 0.0015
BuildRequires: perl(Module::Load)
BuildRequires: perl(Test::Exception) >= 0.43
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Time) >= 0.092
Requires: perl(Devel::CheckOS) >= 1.95
Requires: perl(Devel::Hide) >= 0.0015
Requires: perl(Module::Load)
Requires: perl(Test::Exception) >= 0.43
Requires: perl(Test::More) >= 0.96
Requires: perl(Test::Time) >= 0.092
Provides: perl(Devel::Deprecations::Environmental) = %{version}
Provides: perl(Devel::Deprecations::Environmental::Plugin::Int32) = 1.1.0
Provides: perl(Devel::Deprecations::Environmental::Plugin::OldPerl) = 1.1.0
%undefine __perllib_provides
%{perl_requires}
%description
A framework for managing deprecations of the environment in which your code
runs
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc CHANGELOG
%license ARTISTIC.txt GPL2.txt
%changelog