SHA256
1
0
forked from pool/apfel
apfel/apfel-fix-project-version.patch
Atri Bhattacharya 7579445922 Accepting request 1128096 from home:badshah400:branches:science
* Update to version 3.1.0.
* Add apfel-fix-project-version.patch -- Use the correct version in defining project in CMakeLists.txt
* Add apfel-dont-set-default-reltype.patch -- Don't assume 'RELEASE' as the release type, this should be set at the cmake command line.
* Build static lib and install it as part of a -devel-static package; upstream cmake does not allow disabling static libs and it ends up everywhere in the cmake files, so cannot just ignore it either.
* Use cmake for build in keeping with upstream; BuildRequires: cmake >= 3.15.
* Add BuildRequires: swig needed to generate python wrappings.

OBS-URL: https://build.opensuse.org/request/show/1128096
OBS-URL: https://build.opensuse.org/package/show/science/apfel?expand=0&rev=36
2023-11-29 10:32:36 +00:00

21 lines
624 B
Diff

Index: apfel-3.1.0/CMakeLists.txt
===================================================================
--- apfel-3.1.0.orig/CMakeLists.txt
+++ apfel-3.1.0/CMakeLists.txt
@@ -8,11 +8,11 @@ cmake_policy(SET CMP0078 OLD)
# define project name, version and its languages
project(apfel LANGUAGES C CXX Fortran)
-set(apfel_VERSION 3.0.7)
-set(PROJECT_VERSION 3.0.7)
+set(apfel_VERSION 3.1.0)
+set(PROJECT_VERSION 3.1.0)
SET(APFEL_VERSION_MAJOR 3)
-SET(APFEL_VERSION_MINOR 0)
-SET(APFEL_VERSION_PATCH 7)
+SET(APFEL_VERSION_MINOR 1)
+SET(APFEL_VERSION_PATCH 0)
set(CMAKE_VERBOSE_MAKEFILE OFF)
include("GNUInstallDirs")