summaryrefslogtreecommitdiff
path: root/veracrypt/veracrypt.spec
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-08-11 17:42:43 +0000
committerB Stack <bgstack15@gmail.com>2020-08-11 17:42:43 +0000
commit170e69caa056057f9ddc3e74e6fcb6981ca4d3a4 (patch)
tree01d3ec2d1aabb66084e4fe51d107c6e692089dcc /veracrypt/veracrypt.spec
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentveracrypt 1.24-u7 rpm rc1 (diff)
downloadstackrpms-170e69caa056057f9ddc3e74e6fcb6981ca4d3a4.tar.gz
stackrpms-170e69caa056057f9ddc3e74e6fcb6981ca4d3a4.tar.bz2
stackrpms-170e69caa056057f9ddc3e74e6fcb6981ca4d3a4.zip
Merge branch 'veracrypt-bump' into 'master'
Veracrypt 1.24-Update7 See merge request bgstack15/stackrpms!179
Diffstat (limited to 'veracrypt/veracrypt.spec')
-rw-r--r--veracrypt/veracrypt.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/veracrypt/veracrypt.spec b/veracrypt/veracrypt.spec
index 0e30987..2948353 100644
--- a/veracrypt/veracrypt.spec
+++ b/veracrypt/veracrypt.spec
@@ -1,6 +1,6 @@
%global pname VeraCrypt
%global dummy_package 0
-%global tarballdir %{pname}_%{version}
+%global tarballdir %{pname}_%{upstream_version}
%global srcdir %{tarballdir}/src
%global indocdir %{tarballdir}/doc
%define license_files %{srcdir}/License.txt
@@ -74,17 +74,19 @@
%endif
%endif
+%define upstream_version 1.24-Update7
+
Name: veracrypt
-Version: 1.24
+Version: %( echo %{upstream_version} | tr '-' '_' )
Release: 1
Summary: Disk encryption with strong security based on TrueCrypt
Group: Applications/File
License: Apache License 2.0 and TrueCrypt License 3.0
URL: https://www.veracrypt.fr/
-Source0: https://www.veracrypt.fr/code/%{pname}/snapshot/%{pname}_%{version}.tar.gz
-#Source0: https://gitlab.com/bgstack15/big-sources/raw/master/%%{name}/%%{pname}_%%{version}.tar.gz
-#Source0: https://launchpad.net/veracrypt/trunk/%%{version}/+download/VeraCrypt_%%{version}_Source.tar.bz2
+Source0: https://www.veracrypt.fr/code/%{pname}/snapshot/%{pname}_%{upstream_version}.tar.gz
+#Source0: https://gitlab.com/bgstack15/big-sources/raw/master/%%{name}/%%{pname}_%%{upstream_version}.tar.gz
+#Source0: https://launchpad.net/veracrypt/trunk/%%{upstream_version}/+download/VeraCrypt_%%{upstream_version}_Source.tar.bz2
Patch0: vc_fedora.patch
Patch1: vc_desktop.patch
@@ -112,7 +114,7 @@ VeraCrypt is a free open source disk encryption software for Windows, Mac OSX an
%setup -q -c
# change to that directory so the patch files do not need versioned directories to be updated
-pushd %{pname}_%{version}
+pushd %{tarballdir}
%patch0 -p1
%patch1 -p1
popd
@@ -232,6 +234,10 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Tue Aug 11 2020 B Stack <bgstack15@gmail.com> 1.24_Update7-1
+- version bump
+- handle new version naming with dashes
+
* Tue Oct 08 2019 B Stack <bgstack15@gmail.com> 1.24-1
- version bump
bgstack15