dissolve %tar_version

OBS-URL: https://build.opensuse.org/package/show/graphics/librecad?expand=0&rev=77
This commit is contained in:
Jan Engelhardt 2023-09-04 10:55:24 +00:00 committed by Git OBS Bridge
parent 268c4c9561
commit 5af2a8bfb3

View File

@ -16,8 +16,6 @@
#
%define tar_version 2.2.0.2
Name: librecad
Version: 2.2.0.2
Release: 0
@ -27,7 +25,7 @@ Group: Productivity/Graphics/CAD
URL: http://librecad.org/
#Git-Web: https://github.com/LibreCAD/LibreCAD
Source: https://github.com/LibreCAD/LibreCAD/archive/%tar_version.tar.gz
Source: https://github.com/LibreCAD/LibreCAD/archive/%version.tar.gz
# Version is actually 8, not 3 (it is 3 in the filename due to how MediaWiki
# works -- see http://wiki.librecad.org/index.php/File:Architect3-LCAD.zip)
Source2: https://wiki.librecad.org/images/d/d9/Architect3-LCAD.zip
@ -75,7 +73,7 @@ Collection of parts for LibreCAD, a Qt application to design 2D
CAD drawings.
%prep
%setup -qn LibreCAD-%tar_version -a2 -a3 -a4
%setup -qn LibreCAD-%version -a2 -a3 -a4
%autopatch -p1
pc="libdxfrw"