Commit 57aee7c16ec7dd18802ea39e4d4a2c1ab85496a5
1 parent
c24abe94
Exists in
master
and in
79 other branches
mailman-api: workaround wrong python path
See https://bugzilla.redhat.com/show_bug.cgi?id=1117878
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
mailman-api/mailman-api.spec
1 | %define name mailman-api | 1 | %define name mailman-api |
2 | %define version 0.3c1 | 2 | %define version 0.3c1 |
3 | %define unmangled_version 0.3c1 | 3 | %define unmangled_version 0.3c1 |
4 | -%define release 1 | 4 | +%define release 2 |
5 | 5 | ||
6 | Summary: REST API daemon to interact with Mailman 2 | 6 | Summary: REST API daemon to interact with Mailman 2 |
7 | Name: %{name} | 7 | Name: %{name} |
@@ -58,7 +58,7 @@ with this program; if not, write to the Free Software Foundation, Inc., | @@ -58,7 +58,7 @@ with this program; if not, write to the Free Software Foundation, Inc., | ||
58 | %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} | 58 | %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} |
59 | 59 | ||
60 | %build | 60 | %build |
61 | -python setup.py build | 61 | +PATH="/usr/bin:$PATH" python setup.py build |
62 | 62 | ||
63 | %install | 63 | %install |
64 | python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | 64 | python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |