Commit 7b08bcb1e506ef6986e220db22bc69ed433c5256

Authored by Ricardo
1 parent eb6bcf34
Exists in spec_refactor

Add new macro to botle

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/pkg-rpm/bottle/bottle.spec
@@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
4 %define unmangled_version 0.13-dev 4 %define unmangled_version 0.13-dev
5 %define release 5 5 %define release 5
6 6
  7 +%global bindir /usr/bin
7 Summary: Fast and simple WSGI-framework for small web-applications. 8 Summary: Fast and simple WSGI-framework for small web-applications.
8 Name: %{name} 9 Name: %{name}
9 Version: %{version} 10 Version: %{version}
@@ -39,7 +40,7 @@ License: MIT (see LICENSE for details) @@ -39,7 +40,7 @@ License: MIT (see LICENSE for details)
39 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} 40 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
40 41
41 %build 42 %build
42 -PATH="/usr/bin:$PATH" python setup.py build 43 +PATH="%{bindir}:$PATH" python setup.py build
43 44
44 %install 45 %install
45 python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES 46 python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES