diff --git a/dynare-5.4.tar.xz b/dynare-5.4.tar.xz deleted file mode 100644 index 6677fcb..0000000 --- a/dynare-5.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c174a3ebcaf8c4566b9836abad8c04148011bec2ec610ded234f406bfbdd10f8 -size 18005284 diff --git a/dynare-5.5.tar.xz b/dynare-5.5.tar.xz new file mode 100644 index 0000000..353fd3c --- /dev/null +++ b/dynare-5.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11deae32997e79e500a9802c6408067749485ea7ef3c08bbf24141f2b0e00326 +size 17924820 diff --git a/dynare-add-missing-include.patch b/dynare-add-missing-include.patch deleted file mode 100644 index 2dea556..0000000 --- a/dynare-add-missing-include.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: dynare-5.3/preprocessor/src/CodeInterpreter.hh -=================================================================== ---- dynare-5.3.orig/preprocessor/src/CodeInterpreter.hh -+++ dynare-5.3/preprocessor/src/CodeInterpreter.hh -@@ -22,6 +22,7 @@ - - #include - #include -+#include - #include - #include - #ifdef BYTE_CODE diff --git a/dynare.changes b/dynare.changes index 4ec0c1b..8d4da25 100644 --- a/dynare.changes +++ b/dynare.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Nov 22 11:54:45 UTC 2023 - Atri Bhattacharya + +- Update to version 5.5: + * In a stochastic context, results could be incorrect if an + endogenous with a lead ⩾ 2 or an exogenous with a lead ⩾ 1 + appeared in the argument(s) of a call to a (nonlinear) + external function + * With the use_dll option of the model block, the expression + sign(x) would evaluate to ±1 instead of 0 if x=0 + * If the guess value given to the steady command was such that + the residuals were all below tolerance, except some that are + NaN, then this guess value was incorrectly accepted as the + solution to the steady state problem + * The method_of_moments command with GMM was ignoring the + analytic_standard_errors option when using mode_compute=4 + * Homotopy with the extended_path command at order=0 was broken + * The parallel_use_psexec command-line option was ignored + * With the bytecode option of the model block, using the + operators abs(), cbrt() and sign() would lead to a crash + * The fast command-line option was broken under MATLAB with + Windows + * Ramsey steady state computation could fail if an expectation + or diff operator was present in the model + * A crash could occur if some external function call was present + in an auxiliary variable + * The endogenous_prior option of the estimation command could + erroneously display a warning message about missing + observations + * The model_comparison command would crash if the .mod file name + had less than four characters + * The shock_decomposition command would overwrite previously + stored smoother results + * The x13 interface in dseries did not handle missing values, + particularly at the beginning of a series + * The x13 interface in dseries would occasionally crash under + Windows with segmentation violations + * OccBin: estimation would crash if a previous shocks(surprise) + simulation was conducted + * The internals command would not find the location of the + _results.mat file + * The prior optimize command would not work with mode_compute=5 +- Minor improvement to conditionals specifying the right version + of gcc to use. +- Drop dynare-add-missing-include.patch: upstreamed. + ------------------------------------------------------------------- Wed Apr 12 04:31:04 UTC 2023 - Atri Bhattacharya diff --git a/dynare.spec b/dynare.spec index 3a125ea..9fa578f 100644 --- a/dynare.spec +++ b/dynare.spec @@ -22,11 +22,10 @@ # Sphinx in Leap 15.x is too old %bcond_with doc %else -%define gccver %{nil} %bcond_without doc %endif Name: dynare -Version: 5.4 +Version: 5.5 Release: 0 Summary: A platform for handling a wide class of economic models License: GPL-3.0-or-later @@ -34,11 +33,9 @@ URL: https://www.dynare.org/ Source: https://www.dynare.org/release/source/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM dynare-no-return-in-non-void-function.patch badshah400@gmail.com -- Return trivial value from a function that is not declared as returning void Patch0: dynare-no-return-in-non-void-function.patch -# PATCH-FIX-UPSTREAM dynare-add-missing-include.patch -- Add missing includes, gcc 13 exposed -Patch1: dynare-add-missing-include.patch BuildRequires: fdupes -BuildRequires: gcc%{gccver}-c++ -BuildRequires: gcc%{gccver}-fortran +BuildRequires: gcc%{?gccver}-c++ +BuildRequires: gcc%{?gccver}-fortran BuildRequires: lapack-devel BuildRequires: libboost_headers-devel BuildRequires: libtool @@ -87,10 +84,7 @@ This package provides documentation for %{name} in HTML format. %build autoreconf -fvi -%if 0%{?suse_version} < 1550 -export CXX=g++-%{gccver} -export CXXFLAGS+=' -std=c++17' -%endif +export CXX=g++%{?gccver:-%{gccver}} %configure \ --docdir=%{_docdir}/%{name} \ --disable-matlab \