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:
parent
a7aed14e1f
commit
6835ff342e
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user