Name: perl-Module-Install-Repository Version: 0.06 Release: 23 Summary: Automatically sets repository URL from Svn/Svk/Git checkout License: GPL+ or Artistic URL: https://metacpan.org/release/Module-Install-Repository Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Module-Install-Repository-%{version}.tar.gz Patch0: Module-Install-Repository-0.06-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch BuildRequires: coreutils findutils make perl-interpreter >= 0:5.005 perl-generators perl(base) perl(Carp) perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) perl(File::Find) perl(File::Path) perl(FindBin) perl(strict) perl(vars) BuildRequires: perl(File::Temp) perl(Path::Class) perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This package is to automatically set repository URL from svn/svk/Git checkout. %package_help %prep %autosetup -n Module-Install-Repository-%{version} -p1 find -type f -exec chmod -x {} + %build perl Makefile.PL INSTALLDIRS=vendor %make_build %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} %{buildroot}/* %check make test %files %defattr(-,root,root) %doc README %{perl_vendorlib}/* %files help %defattr(-,root,root) %doc Changes %{_mandir}/man3/* %changelog * Fri Jan 10 2020 openEuler Buildteam - 0.06-23 - Package init