From 7b08bcb1e506ef6986e220db22bc69ed433c5256 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Wed, 28 Oct 2015 15:48:16 -0200 Subject: [PATCH] Add new macro to botle --- src/pkg-rpm/bottle/bottle.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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