]> git.pld-linux.org Git - packages/digidoc4-client.git/commitdiff
fix broken relase tarball
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Dec 2018 09:03:05 +0000 (11:03 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Dec 2018 09:03:27 +0000 (11:03 +0200)
https://github.com/open-eid/DigiDoc4-Client/issues/407

cmake.patch [new file with mode: 0644]
digidoc4-client.spec

diff --git a/cmake.patch b/cmake.patch
new file mode 100644 (file)
index 0000000..cd7c054
--- /dev/null
@@ -0,0 +1,17 @@
+https://github.com/open-eid/DigiDoc4-Client/issues/407
+
+--- digidoc4-client-4.2.0.43/cmake/modules/VersionInfo.cmake   2018-11-29 16:48:25.000000000 +0200
++++ DigiDoc4-Client/cmake/modules/VersionInfo.cmake    2018-12-10 10:54:15.962704711 +0200
+@@ -1,9 +1,9 @@
+ if( $ENV{BUILD_NUMBER} )
+-      set( BUILD_VER #{ENV["BUILD_NUMBER"]} )
++      set( BUILD_VER $ENV{BUILD_NUMBER} )
+ elseif(PROJECT_VERSION_TWEAK)
+-      set( BUILD_VER #{ENV["BUILD_NUMBER"]} )
++      set( BUILD_VER ${PROJECT_VERSION_TWEAK} )
+ else()
+-      set( BUILD_VER #{ENV["BUILD_NUMBER"]} )
++      set( BUILD_VER 0 )
+ endif()
+ if(NOT BUILD_DATE)
+       string(TIMESTAMP BUILD_DATE "%d.%m.%Y")
index 4f52dde04dee9fdbd6c193b91edf91c3bffa15c1..e92665f4ea4b3b501b54c4aa4dc909253e473556 100644 (file)
@@ -8,6 +8,7 @@ License:        LGPL v2+
 Group:         X11/Applications
 Source0:       https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.2.0/qdigidoc4_%{version}.orig.tar.xz
 # Source0-md5: 69008db6002270e981b0685e4330511c
+Patch0:                cmake.patch
 URL:           https://github.com/open-eid/DigiDoc4-Client
 BuildRequires: Qt5ScriptTools-devel
 BuildRequires: Qt5Svg-devel
@@ -24,6 +25,7 @@ ID-card - change pin codes, update certificates etc.
 
 %prep
 %setup -qc
+%patch0 -p1
 
 %build
 install -d build
This page took 0.303943 seconds and 4 git commands to generate.