%global pkg_name SelfLoader %global pkg_version 1.24 %global rpm_pkg_version 1.24 %global rpm_pkg_release 1.n0i.1 Summary: Load functions only on demand Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: https://metacpan.org/release/%{pkg_name} Source0: https://cpan.metacpan.org/authors/id/SelfLoader/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %description This module tells its users that functions in the FOOBAR package are to be autoloaded from after the "__DATA__" token. See also "Autoloading" in perlsub. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{perl_install} %files %defattr(-,root,root,-) %{perl_files} %doc Artistic Changes Copying README %changelog * Fri Jul 13 2018 Marius Feraru - 1.24-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 1.24