Files
perl-Module-Install-Manifes…/perl-Module-Install-ManifestSkip.spec
2025-08-12 18:15:33 +02:00

74 lines
2.4 KiB
RPMSpec

#
# spec file for package perl-Module-Install-ManifestSkip
#
# 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-Install-ManifestSkip
Name: perl-Module-Install-ManifestSkip
Version: 0.240.0
Release: 0
# 0.24 -> normalize -> 0.240.0
%define cpan_version 0.24
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Generate a MANIFEST.SKIP file
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
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Install) >= 1.10
BuildRequires: perl(Module::Manifest::Skip) >= 0.180
Requires: perl(Module::Install) >= 1.10
Requires: perl(Module::Manifest::Skip) >= 0.180
Provides: perl(Module::Install::ManifestSkip) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
This module generates a 'MANIFEST.SKIP' file for you (using
Module::Manifest::Skip) that contains the common files that people do not
want in their 'MANIFEST' files. The SKIP file is generated each time that
you (the module author) run 'Makefile.PL'.
You can add your own custom entries at the top of the 'MANIFEST' file. Just
put a blank line after your entries, and they will be left alone.
This module also adds 'MANIFEST' to the 'clean_files()' list so that 'make
clean' will remove your 'MANIFEST'.
%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 Changes CONTRIBUTING README
%license LICENSE
%changelog