remove obsolete python sections

epel9
Fabian Affolter 10 years ago
parent 2cc7bc758d
commit cc588e7c75

@ -49,22 +49,15 @@ export CFLAGS="%{optflags}"
export LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed" export LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed"
make all %{?_smp_mflags} make all %{?_smp_mflags}
pushd lib/python
%{__python2} setup.py build
%install %install
%if "%{_lib}" == "lib64" %if "%{_lib}" == "lib64"
export LIB_SUFFIX=64 export LIB_SUFFIX=64
%endif %endif
%make_install %make_install
pushd lib/python
%{__python2} setup.py install --skip-build --root %{buildroot}
popd
cat > mosquitto.service << FOE cat > mosquitto.service << FOE
[Unit] [Unit]
Description=Mosquitto MQTTv3.1 Broker Description=Mosquitto MQTT v3.1/v3.1.1 Broker
Documentation=man:mosquitto.conf(5) man:mosquitto(8) Documentation=man:mosquitto.conf(5) man:mosquitto(8)
[Service] [Service]

Loading…
Cancel
Save