From 43480d6cb2fbc3044e7304899bb7109ed63ae58d4b0f92f9ab5eb2e386e9f1ac Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Fri, 26 Nov 2021 10:26:06 +0000 Subject: [PATCH] Accepting request 934018 from home:plater Remove garbage from spec file OBS-URL: https://build.opensuse.org/request/show/934018 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=170 --- audacity.spec | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/audacity.spec b/audacity.spec index c8bc995..81dd00e 100644 --- a/audacity.spec +++ b/audacity.spec @@ -134,46 +134,7 @@ export PKG_CONFIG_PATH="`echo $PWD`:%{_libdir}/pkgconfig" fi export CFLAGS="%{optflags} -fno-strict-aliasing -ggdb $(wx-config --cflags)" export CXXFLAGS="$CFLAGS -std=gnu++11" -%if 1 == 1 %cmake \ -%else - find . -name CMakeLists.txt \ - -exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\)/{s/^/#IGNORE /}' {} + - mkdir -p build - cd build - /usr/bin/cmake $OLDPWD/. \ -%if "/usr/bin/make" == "/usr/bin/make" - -G"Unix Makefiles" \ -%else - -GNinja \ -%endif - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ - -DLIB_INSTALL_DIR:PATH=/usr/lib64 \ - -DSYSCONF_INSTALL_DIR:PATH=/etc \ - -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ - -DCMAKE_INSTALL_LIBDIR:PATH=lib64 \ - -DCMAKE_INSTALL_LIBEXECDIR=/usr/libexec \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_FLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -DDEBUG" \ - -DCMAKE_CXX_FLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -DDEBUG" \ - -DCMAKE_Fortran_FLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -DDEBUG" \ - -DCMAKE_EXE_LINKER_FLAGS=" -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \ - -DCMAKE_MODULE_LINKER_FLAGS=" -Wl,--as-needed" \ - -DCMAKE_SHARED_LINKER_FLAGS=" -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \ -%if "lib64" == "lib64" - -DLIB_SUFFIX=64 \ -%endif - -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ - -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DCMAKE_BUILD_TYPE:STRING="Debug" \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DBUILD_STATIC_LIBS:BOOL=OFF \ - -DCMAKE_COLOR_MAKEFILE:BOOL=OFF \ - -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \ - -DCMAKE_MODULES_INSTALL_DIR=/usr/lib64/cmake/%{name} \ -%endif -DCMAKE_MODULE_LINKER_FLAGS:STRING="$(wx-config --libs)" \ -DCMAKE_SHARED_LINKER_FLAGS:STRING="$(wx-config --libs)" \ -Daudacity_conan_enabled=Off \