Dominique Leuenberger 2017-11-03 15:27:41 +00:00 committed by Git OBS Bridge
commit 82a71260b7
5 changed files with 20 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:204bb179484d08f3114deff0279099a231accb39034aa9e4e658ef7923cd8442
size 4581968

3
2.1.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:462d902393a7d17637846debcd7205478f46465d418fe3359a450168ad8810e0
size 4595203

View File

@ -1,13 +0,0 @@
Index: cadabra2-2.1.4/CMakeLists.txt
===================================================================
--- cadabra2-2.1.4.orig/CMakeLists.txt
+++ cadabra2-2.1.4/CMakeLists.txt
@@ -17,7 +17,7 @@ endif()
if(GIT_COMMIT_DATE)
set(CADABRA_VERSION_DATE "${GIT_COMMIT_DATE}")
else()
- execute(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
+ execute_process(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
set(CADABRA_VERSION_DATE "${THE_DATE}")
endif()
message("-- Building ${CADABRA_VERSION_MAJOR}.${CADABRA_VERSION_MINOR}.${CADABRA_VERSION_PATCH}")

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Nov 2 09:19:33 UTC 2017 - badshah400@gmail.com
- Update to version 2.1.5:
* Interim release to get a number of bug fixes out to everyone,
and to use as basis for binary packages for several new
distributions.
- Drop cadabra2-cmake-error.patch; fixed upstream.
- Fix Group for cadabra2-doc-pdf: Documentation/PDF doesn't exist,
use Documentation/Other
- Change hashbang "/usr/bin/env python3" to "/usr/bn/python3".
-------------------------------------------------------------------
Wed Oct 11 12:04:47 UTC 2017 - badshah400@gmail.com

View File

@ -17,7 +17,7 @@
Name: cadabra2
Version: 2.1.5
Version: 2.1.6
Release: 0
Summary: A computer algebra system for solving problems in field theory
License: GPL-3.0+
@ -26,8 +26,6 @@ Url: http://cadabra.science/
Source0: https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz
Source1: %{name}-rpmlintrc
Source2: %{name}-gtk.appdata.xml
# PATCH-FIX-UPSTREAM cadabra2-cmake-error.patch badshah400@gmail.com -- Cmake needs to call "execute_process" instead of "execute"; fixes build failures
Patch0: cadabra2-cmake-error.patch
BuildRequires: appstream-glib
BuildRequires: cmake
BuildRequires: doxygen
@ -153,8 +151,7 @@ This package provides html documentation for %{name}.
%package doc-pdf
Summary: A computer algebra system for solving problems in field theory
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Documentation/PDF
Group: Documentation/Other
%description doc-pdf
Cadabra2 is a computer algebra system (CAS) designed specifically for
@ -164,7 +161,6 @@ This package provides documentation in the form of a PDF file for %{name}.
%prep
%setup -q
%patch0 -p1
%build
mkdir build && pushd build
@ -195,6 +191,9 @@ popd
# INSTALL APPDATA TO /usr/share/metainfo
install -D -m0644 %{S:2} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xml
# Replace "/usr/bin/env python3" hashbang by "/usr/bin/python3"
sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2
%post
%{_bindir}/texhash
/sbin/ldconfig