Group :: Development/Other
RPM: perl-Module-Manifest-Skip
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Test/Pod.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Module-Manifest-Skip
Version: 0.23
Release: alt1_19
Summary: MANIFEST.SKIP Manangement for Modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Manifest-Skip
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Module-Manifest-Skip-%{version}.tar.gz
# Adapt to changes in Moo-2.004000, bug #1826148,
# <https://github.com/ingydotnet/module-manifest-skip-pm/issues/7>
Patch0: Module-Manifest-Skip-0.23-Adapt-to-changes-in-Moo-2.004000.patch
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(File/ShareDir/Install.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Run-time:
BuildRequires: perl(File/ShareDir.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(Moo.pm)
# Tests:
BuildRequires: perl(base.pm)
BuildRequires: perl(Cwd.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
Requires: perl(File/ShareDir.pm)
Requires: perl(File/Spec.pm)
Requires: perl(Moo.pm) >= 0.091.013
Requires: perl(warnings.pm)
# Remove under-speficied dependencies
Source44: import.info
%filter_from_requires /^perl(Moo.pm)/d
%description
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.
%prep
%setup -q -n Module-Manifest-Skip-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{makeinstall_std}
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
unset RELEASE_TESTING
make test
%files
%doc --no-dereference LICENSE
%doc Changes CONTRIBUTING README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Test/Pod.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Module-Manifest-Skip
Version: 0.23
Release: alt1_19
Summary: MANIFEST.SKIP Manangement for Modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Manifest-Skip
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Module-Manifest-Skip-%{version}.tar.gz
# Adapt to changes in Moo-2.004000, bug #1826148,
# <https://github.com/ingydotnet/module-manifest-skip-pm/issues/7>
Patch0: Module-Manifest-Skip-0.23-Adapt-to-changes-in-Moo-2.004000.patch
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(File/ShareDir/Install.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Run-time:
BuildRequires: perl(File/ShareDir.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(Moo.pm)
# Tests:
BuildRequires: perl(base.pm)
BuildRequires: perl(Cwd.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
Requires: perl(File/ShareDir.pm)
Requires: perl(File/Spec.pm)
Requires: perl(Moo.pm) >= 0.091.013
Requires: perl(warnings.pm)
# Remove under-speficied dependencies
Source44: import.info
%filter_from_requires /^perl(Moo.pm)/d
%description
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.
%prep
%setup -q -n Module-Manifest-Skip-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{makeinstall_std}
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
unset RELEASE_TESTING
make test
%files
%doc --no-dereference LICENSE
%doc Changes CONTRIBUTING README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here