Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
ncid
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
ncid.spec
@@ -80,8 +80,13 @@ %setup -q -n %{name} %build +%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS" \ STRIP= prefix=/usr prefix2= local fedoradir +%else +make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS" \ + STRIP= prefix=/usr prefix2= +%endif %install rm -rf ${RPM_BUILD_ROOT} @@ -90,7 +95,7 @@ prefix2=${RPM_BUILD_ROOT} \ prefix3=${RPM_BUILD_ROOT} %else -make install package-install prefix=${RPM_BUILD_ROOT}/%{_prefix} \ +make install package-install prefix=${RPM_BUILD_ROOT}/%{_prefix} prefix2=${RPM_BUILD_ROOT} \ prefix3=${RPM_BUILD_ROOT} %endif