Name: perl-Readonly Version: 2.05 Release: 8 Summary: Facility for creating read-only scalars, arrays, hashes License: GPL+ or Artistic URL: https://metacpan.org/release/Readonly Source0: https://cpan.metacpan.org/authors/id/S/SA/SANKO/Readonly-%{version}.tar.gz Patch0: replace-shebang.patch BuildArch: noarch BuildRequires: coreutils perl-interpreter perl-generators BuildRequires: perl(Module::Build::Tiny) >= 0.035 Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) Requires: perl(Carp) perl(Storable) %description This is a facility for creating non-modifiable variables. This is useful for configuration files, headers, etc. It can also be useful as a development and debugging tool for catching updates to variables that should not be changed. %package_help %prep %autosetup -n Readonly-%{version} -p1 %build perl Build.PL --installdirs=vendor ./Build %install ./Build install --destdir=%{buildroot} --create_packlist=0 %check ./Build test %files %license LICENSE %{perl_vendorlib}/Readonly.pm %files help %doc Changes README.md t/ %{_mandir}/man3/Readonly.3* %changelog * Fri Feb 28 2020 openEuler Buildteam - 2.05-8 - Package init