From: Christian Herdtweck Date: Wed, 5 Nov 2014 15:38:55 +0000 (+0100) Subject: added /usr/intranator prefix to spec file X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=b3071234f11a15126f50fd2c69700011b03c4eaf;p=pingcheck added /usr/intranator prefix to spec file --- diff --git a/pingcheck.spec b/pingcheck.spec index b1530f8..c7650e7 100644 --- a/pingcheck.spec +++ b/pingcheck.spec @@ -6,9 +6,11 @@ License: GPLv2 + linking exception. Some parts under boost license. Group: Intranator Vendor: Intra2net AG Source: %{name}-%{version}.tar.gz +Prefix: /usr/intranator BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: cmake +%define _prefix %{prefix} %description Pingcheck @@ -26,7 +28,7 @@ cd build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" -cmake -DCMAKE_INSTALL_PREFIX="%{_prefix}" ../ +cmake -DCMAKE_INSTALL_PREFIX="%{prefix}" ../ make %{_smp_mflags}