Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
icli
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 8
[-]
[+]
Changed
icli.spec
@@ -7,10 +7,12 @@ License: WTFPL Source0: http://derf.homelinux.org/projects/icinga-cli/icli-%{version}.tar.bz2 Patch0: %{name}-%{version}.patch -BuildRequires: perl(Module::Build) perl-TimeDate +BuildRequires: perl(Module::Build) perl-TimeDate perl-autodie +BuildRequires: perl(Term::Size) BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch Requires: perl-autodie +Requires: perl(Term::Size) %description Command line interface to icinga. @@ -20,11 +22,18 @@ %patch0 %build -perl Build.PL INSTALLDIRS=vendor destdir=%{buildroot} +#perl Build.PL INSTALLDIRS=vendor destdir=%{buildroot} +#./Build +%{__perl} Build.PL destdir=%{buildroot} INSTALLDIRS=vendor \ + INSTALLSCRIPT=%{_prefix} \ + INSTALLVENDORSCRIPT=%{_prefix} ./Build %install -./Build install +./Build destdir=%{buildroot} INSTALLDIRS=vendor \ + INSTALLSCRIPT=%{_prefix} \ + INSTALLVENDORSCRIPT=%{_prefix} install + find %{buildroot} -name \*.orig\* -exec rm {} \; %clean