Accepting request 1156146 from home:DocB:Orthanc
- fix build for Leap < 15.6 OBS-URL: https://build.opensuse.org/request/show/1156146 OBS-URL: https://build.opensuse.org/package/show/graphics/orthanc?expand=0&rev=68
This commit is contained in:
parent
835c139d2c
commit
e3c8f82055
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 7 20:21:58 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- fix build for Leap < 15.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 15:13:59 UTC 2024 - Max Lin <mlin@suse.com>
|
Thu Mar 7 15:13:59 UTC 2024 - Max Lin <mlin@suse.com>
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ BuildRequires: curl-devel
|
|||||||
BuildRequires: dcmtk
|
BuildRequires: dcmtk
|
||||||
BuildRequires: dcmtk-devel
|
BuildRequires: dcmtk-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150200
|
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500
|
||||||
BuildRequires: gcc13-c++
|
BuildRequires: gcc13-c++
|
||||||
%else
|
%else
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -131,8 +131,7 @@ Group: Development/Sources
|
|||||||
This package includes the source files for Orthanc. Use it in conjunction with the -devel package
|
This package includes the source files for Orthanc. Use it in conjunction with the -devel package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Orthanc-%{version}
|
%autosetup -p1 -n Orthanc-%{version}
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
cp %{S:1} %{S:2} .
|
cp %{S:1} %{S:2} .
|
||||||
|
|
||||||
@ -145,7 +144,7 @@ mkdir -p OrthancServer/ThirdPartyDownloads
|
|||||||
cp %{S:10} %{S:11} %{S:12} %{S:13} OrthancServer/ThirdPartyDownloads/.
|
cp %{S:10} %{S:11} %{S:12} %{S:13} OrthancServer/ThirdPartyDownloads/.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150200
|
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500
|
||||||
export CC=gcc-13
|
export CC=gcc-13
|
||||||
export CXX=g++-13
|
export CXX=g++-13
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user