diff --git a/src/pkg-rpm/bottle/bottle.spec b/src/pkg-rpm/bottle/bottle.spec index 9f54075..ae99915 100644 --- a/src/pkg-rpm/bottle/bottle.spec +++ b/src/pkg-rpm/bottle/bottle.spec @@ -4,6 +4,7 @@ %define unmangled_version 0.13-dev %define release 5 +%global bindir /usr/bin Summary: Fast and simple WSGI-framework for small web-applications. Name: %{name} Version: %{version} @@ -39,7 +40,7 @@ License: MIT (see LICENSE for details) %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build -PATH="/usr/bin:$PATH" python setup.py build +PATH="%{bindir}:$PATH" python setup.py build %install python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES -- libgit2 0.21.2