Accepting request 1091111 from home:slbtongying:branches:Education

- Drop the version.txt patch

OBS-URL: https://build.opensuse.org/request/show/1091111
OBS-URL: https://build.opensuse.org/package/show/Education/goldendict-ng?expand=0&rev=8
This commit is contained in:
Atri Bhattacharya 2023-06-06 16:08:14 +00:00 committed by Git OBS Bridge
parent a7aed14e1f
commit 6835ff342e
3 changed files with 5 additions and 20 deletions

View File

@ -1,19 +0,0 @@
--- ./goldendict.pro 2023-06-05 07:46:03.433741407 -0400
+++ ./goldendict.pro.orgi 2023-06-05 08:14:30.474500795 -0400
@@ -7,15 +7,9 @@
# rebuilt; and doing it here is required too since any other way the RCC
# compiler would complain if version.txt wouldn't exist (fresh checkouts).
-system(git describe --tags --always --dirty): hasGit=1
-
-!isEmpty(hasGit){
- GIT_HASH=$$system(git rev-parse --short=8 HEAD )
-}
-
!exists( version.txt ) {
message( "generate version.txt...." )
- system(echo $${VERSION}.$${GIT_HASH} on $${_DATE_} > version.txt)
+ system(echo "openSUSE" > version.txt)
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 6 15:03:42 UTC 2023 - slb <shenlebantongying@gmail.com>
- Drop the version.txt patch
-------------------------------------------------------------------
Mon Jun 5 12:31:28 UTC 2023 - shenlebantongying <shenlebantongying@gmail.com>

View File

@ -25,7 +25,6 @@ License: GPL-3.0-or-later
Group: Productivity/Office/Dictionary
URL: https://xiaoyifang.github.io/goldendict-ng/
Source0: %{name}-%{version}.tar.xz
Patch0: %{name}-replace-version-txt-generation.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: git