Group :: Development/Perl
RPM: perl-File-Find-Rule-VCS
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(CPAN.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(YAML/Tiny.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-File-Find-Rule-VCS
Version: 1.08
Release: alt3_25
Summary: Exclude files/directories for Version Control Systems
License: GPL+ or Artistic
URL: https://metacpan.org/release/File-Find-Rule-VCS
Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/File-Find-Rule-VCS-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(inc/Module/Install/DSL.pm)
BuildRequires: perl(Module/Install/Metadata.pm)
# Run-time
BuildRequires: perl(Carp.pm)
BuildRequires: perl(constant.pm)
BuildRequires: perl(File/Find/Rule.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Text/Glob.pm)
BuildRequires: perl(vars.pm)
# Tests
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
Many tools need to be equally useful both on ordinary files, and on code
that has been checked out from revision control systems.
%prep
%setup -q -n File-Find-Rule-VCS-%{version}
# Remove bundled libraries
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc --no-dereference LICENSE
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(CPAN.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(YAML/Tiny.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-File-Find-Rule-VCS
Version: 1.08
Release: alt3_25
Summary: Exclude files/directories for Version Control Systems
License: GPL+ or Artistic
URL: https://metacpan.org/release/File-Find-Rule-VCS
Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/File-Find-Rule-VCS-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(inc/Module/Install/DSL.pm)
BuildRequires: perl(Module/Install/Metadata.pm)
# Run-time
BuildRequires: perl(Carp.pm)
BuildRequires: perl(constant.pm)
BuildRequires: perl(File/Find/Rule.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Text/Glob.pm)
BuildRequires: perl(vars.pm)
# Tests
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
Many tools need to be equally useful both on ordinary files, and on code
that has been checked out from revision control systems.
%prep
%setup -q -n File-Find-Rule-VCS-%{version}
# Remove bundled libraries
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc --no-dereference LICENSE
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here