Add _bindir to $PATH.

This commit is contained in:
Ralf Corsepius
2008-03-24 15:52:15 +00:00
parent 833820844d
commit 6d71a6f345
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