]> git.pld-linux.org Git - packages/audit.git/commitdiff
fix build without python
authorJan Palus <atler@pld-linux.org>
Wed, 29 Apr 2020 15:49:51 +0000 (15:49 +0000)
committerJan Palus <atler@pld-linux.org>
Wed, 29 Apr 2020 15:49:51 +0000 (15:49 +0000)
audit.spec

index 6f562a69b256a2ac804c67c0e4438e7219b0485b..b937d47113fda62dd21b90924ca44e8ef7096003 100644 (file)
@@ -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
This page took 0.187925 seconds and 4 git commands to generate.