65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
Name: perl-Module-Runtime
|
|
Version: 0.014
|
|
Release: 1%{?org_tag}%{?dist}
|
|
Summary: Runtime module handling
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Module-Runtime/
|
|
Source0: http://localhost/cpan//authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl >= 0:5.006
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(Params::Classify)
|
|
BuildRequires: perl(parent)
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(Params::Classify)
|
|
Requires: perl(parent)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Autoreq: no
|
|
|
|
%description
|
|
The functions exported by this module deal with runtime handling of Perl
|
|
modules, which are normally handled at compile time.
|
|
|
|
%prep
|
|
%setup -q -n Module-Runtime-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes META.json README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Jul 14 2023 BogusDateBot
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
|
by assuming the date is correct and changing the weekday.
|
|
|
|
* Wed Jul 23 2014 Gavin Carr <gavin@openfusion.com.au> 0.014-1
|
|
- Update to version 0.014.
|
|
|
|
* Thu Apr 26 2012 Gavin Carr <gavin@openfusion.com.au> 0.013-1
|
|
- Update to version 0.013.
|
|
|
|
* Sun Dec 11 2011 Gavin Carr <gavin@openfusion.com.au> 0.011-1
|
|
- Specfile autogenerated by cpanspec 1.79.
|