Commit 7b08bcb1e506ef6986e220db22bc69ed433c5256
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 | 4 | %define unmangled_version 0.13-dev |
| 5 | 5 | %define release 5 |
| 6 | 6 | |
| 7 | +%global bindir /usr/bin | |
| 7 | 8 | Summary: Fast and simple WSGI-framework for small web-applications. |
| 8 | 9 | Name: %{name} |
| 9 | 10 | Version: %{version} |
| ... | ... | @@ -39,7 +40,7 @@ License: MIT (see LICENSE for details) |
| 39 | 40 | %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} |
| 40 | 41 | |
| 41 | 42 | %build |
| 42 | -PATH="/usr/bin:$PATH" python setup.py build | |
| 43 | +PATH="%{bindir}:$PATH" python setup.py build | |
| 43 | 44 | |
| 44 | 45 | %install |
| 45 | 46 | python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | ... | ... |