Files
perl-Module-Manifest-Skip/perl-Module-Manifest-Skip.spec
2025-08-12 18:15:34 +02:00

82 lines
2.8 KiB
RPMSpec

#
# spec file for package perl-Module-Manifest-Skip
#
# 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 Module-Manifest-Skip
Name: perl-Module-Manifest-Skip
Version: 0.230.0
Release: 0
# 0.23 -> normalize -> 0.230.0
%define cpan_version 0.23
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: MANIFEST.SKIP Manangement for Modules
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
Patch0: https://github.com/ppisar/module-manifest-skip-pm/commit/18e36d68c1c7b6db2a4fe51482e2f46107e764c6.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::ShareDir::Install) >= 0.06
BuildRequires: perl(Moo) >= 0.091013
Requires: perl(Moo) >= 0.091013
Provides: perl(Module::Manifest::Skip) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
*NOTE:* This module is mostly intended for module packaging frameworks to
share a common, up-to-date 'MANIFEST.SKIP' base. For example,
Module::Install::ManifestSkip, uses this module to get the actual SKIP
content. However this module may be useful for any module author.
CPAN module authors use a 'MANIFEST.SKIP' file to exclude certain well
known files from getting put into a generated 'MANIFEST' file, which would
cause them to go into the final distribution package.
The packaging tools try to automatically skip things for you, but if you
add one of your own entries, you have to add all the common ones yourself.
This module attempts to make all of this boring process as simple and
reliable as possible.
Module::Manifest::Skip can create or update a MANIFEST.SKIP file for you.
You can add your own entries, and it will leave them alone. You can even
tell it to *not* skip certain entries that it normally skips, although this
is rarely needed.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%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 Changes CONTRIBUTING README
%license LICENSE
%changelog