diff --git a/perl-BSD-Resource.spec b/perl-BSD-Resource.spec index 4aef2c2..e6df330 100644 --- a/perl-BSD-Resource.spec +++ b/perl-BSD-Resource.spec @@ -1,12 +1,13 @@ Name: perl-BSD-Resource Version: 1.29.03 +%define module_version 1.2903 Release: 1%{?dist} Summary: BSD process resource limit and priority functions Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/BSD-Resource/ -Source0: http://www.cpan.org/authors/id/J/JH/JHI/BSD-Resource-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/J/JH/JHI/BSD-Resource-%{module_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) @@ -21,7 +22,7 @@ and priorities. %prep -%setup -q -n BSD-Resource-%{version} +%setup -q -n BSD-Resource-%{module_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"