Fix the VCS field

This commit is contained in:
Jerry James 2024-07-17 14:36:57 -06:00
parent a0d06cdb62
commit 11ba5a2c03

View File

@ -10,6 +10,8 @@
# solver support, build the solvers, then do a non-bootstrap build.
%bcond bootstrap 0
%global giturl https://github.com/scipopt/papilo/
Name: papilo
Version: 2.3.0
Release: %autorelease
@ -21,17 +23,17 @@ Summary: Parallel presolve for integer and linear optimization
# MIT: the bundled fmt project
License: LGPL-3.0-or-later AND BSL-1.0 AND Zlib AND MIT
URL: https://www.scipopt.org/
VCS: https://github.com/scipopt/papilo/
Source0: %{vcs}/archive/v%{version}/%{name}-%{version}.tar.gz
VCS: git:%{giturl}.git
Source: %{giturl}/archive/v%{version}/%{name}-%{version}.tar.gz
# Unbundle catch, LUSOL, pdqsort, and ska
Patch0: %{name}-unbundle.patch
Patch: %{name}-unbundle.patch
# Build a shared library instead of a static library
Patch1: %{name}-shared.patch
Patch: %{name}-shared.patch
# The list of tests in CMakeLists.txt doesn't match the actual tests
Patch2: %{name}-test.patch
Patch: %{name}-test.patch
# Avoid out-of-bounds vector access
# https://github.com/scipopt/papilo/pull/48
Patch3: %{name}-vector-bounds.patch
Patch: %{name}-vector-bounds.patch
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}