diff --git a/papilo.spec b/papilo.spec index d1b061e..683a645 100644 --- a/papilo.spec +++ b/papilo.spec @@ -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}