From 0b6b9cd2b648508a5298a29401b4f131fc1b08cc Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Thu, 21 Sep 2023 10:04:27 +0800 Subject: [PATCH] fix: remove unused APP_VERSION define (#297) It's no longer used. --- debian/rules | 1 - rpm/deepin-terminal.spec | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index a9d45aa9f..05359e25f 100755 --- a/debian/rules +++ b/debian/rules @@ -17,6 +17,5 @@ override_dh_auto_configure: -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SAFETYTEST_ARG="CMAKE_SAFETYTEST_ARG_OFF" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DAPP_VERSION=$(DEB_VERSION_UPSTREAM) \ -DVERSION=$(DEB_VERSION_UPSTREAM) \ LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) diff --git a/rpm/deepin-terminal.spec b/rpm/deepin-terminal.spec index 725dcaf89..676ffc524 100644 --- a/rpm/deepin-terminal.spec +++ b/rpm/deepin-terminal.spec @@ -79,7 +79,7 @@ export PATH=%{_qt5_bindir}:$PATH # cmake_minimum_required version is too high sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt") mkdir build && pushd build -%cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=%{version} -DVERSION=%{version} ../ +%cmake -DCMAKE_BUILD_TYPE=Release -DVERSION=%{version} ../ %make_build popd