[packages/audit] fix build without python
    atler 
    atler at pld-linux.org
       
    Wed Apr 29 17:50:05 CEST 2020
    
    
  
commit 995724137cd27a49c0af1dd85534b08d7768c7a4
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 29 15:49:51 2020 +0000
    fix build without python
 audit.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/audit.spec b/audit.spec
index 6f562a6..b937d47 100644
--- a/audit.spec
+++ b/audit.spec
@@ -202,8 +202,8 @@ Interfejs Pythona 3.x do biblioteki libaudit.
 %patch7 -p1
 
 %if %{without python}
-sed 's#swig/Makefile ##' -i configure.ac
-sed 's/swig//' -i Makefile.am
+sed 's#[^ ]*swig/[^ ]*/Makefile ##g' -i configure.ac
+sed 's/swig//' -i bindings/Makefile.am
 %endif
 
 %build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/audit.git/commitdiff/995724137cd27a49c0af1dd85534b08d7768c7a4
    
    
More information about the pld-cvs-commit
mailing list