Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
perl-Net-Server
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Changed
perl-Net-Server.spec
@@ -5,7 +5,7 @@ Summary: Net-Server module for perl Name: perl-Net-Server -Version: 0.97 +Version: 0.99 Release: 1 License: Artistic Group: Applications/CPAN @@ -15,8 +15,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch +%if 0%{?redhat_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} || 0%{?sl_version} BuildRequires: perl >= 0:5.00503 Requires: perl >= 0:5.00503 +%else +BuildRequires: perl +Requires: perl +%endif %description Net-Server module for perl @@ -25,16 +30,17 @@ %setup -n %{real_name}-%{version} %build -CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" +CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} -%makeinstall +%__make DESTDIR=%{buildroot} install ### Clean up buildroot +### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ - %{buildroot}%{perl_vendorarch} + %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean %{__rm} -rf %{buildroot}
Added
Net-Server-0.99.tar.gz
^