From a9f86dbb192ddc3aace34c033bed0d80973185c9 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 22 Oct 2019 16:58:42 +0300 Subject: [PATCH] update spec file --- miniupnpc.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/miniupnpc.spec b/miniupnpc.spec index 4a40475..e637bdf 100644 --- a/miniupnpc.spec +++ b/miniupnpc.spec @@ -48,14 +48,7 @@ This package contains python3 interfaces to %{name}. %patch0 -p0 cp %{SOURCE1} . -sed -i "s|\(\tpython3 setup.py install\)$|\1 --root=\$(DESTDIR)/|" Makefile - -# version not updated in setup.py -sed -i 's/"1\.7"/"%{version}"/' setup.py - -# Changelog says added -ansi without reason, but that -# breaks C files (python module) using C++ comments -sed -i 's/\(CFLAGS += -ansi\)/#\1/' Makefile +sed -i "s|\(\tMAKE=\$(MAKE) python3 setup.py install\)$|\1 --root=\$(DESTDIR)/|" Makefile %build mkdir -p build