Add _bindir to PATH.

This commit is contained in:
Ralf Corsepius
2008-03-25 07:26:09 +00:00
parent 1187fce8b8
commit bf33c69e2f
2 changed files with 6 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
%build
%if "%{_prefix}" != "/usr"
export PATH="%{_bindir}:${PATH}"
%endif
mkdir -p build
cd build
CFLAGS="$RPM_OPT_FLAGS" \

View File

@@ -1,4 +1,7 @@
%install
%if "%{_prefix}" != "/usr"
export PATH="%{_bindir}:${PATH}"
%endif
rm -rf $RPM_BUILD_ROOT
cd build