From f6c884774a61405bfc47c03a1d2ae40726acb73dde15ff88ca8aff5c4861145f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 10 Apr 2024 06:00:42 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jurand?expand=0&rev=12 --- jurand.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/jurand.spec b/jurand.spec index a896a36..1285347 100644 --- a/jurand.spec +++ b/jurand.spec @@ -32,13 +32,9 @@ Source0: https://github.com/fedora-java/jurand/archive/refs/tags/%{versio Patch0: jurand-cxx20.patch BuildRequires: %{rb_default_ruby_suffix}-rubygem-asciidoctor BuildRequires: diffutils +BuildRequires: gcc%{?with_gcc}-c++ BuildRequires: make BuildRequires: xmlto -%if 0%{?with_gcc:1} -BuildRequires: gcc%{with_gcc}-c++ -%else -BuildRequires: gcc-c++ -%endif %description The tool can be used for patching .java sources in cases where using sed is @@ -51,7 +47,7 @@ rather than applying simple regular expressions on the source code. %build -%if 0%{?with_gcc:1} +%if 0%{?with_gcc} export CXX=g++-%{with_gcc} export CC=gcc-%{with_gcc} %endif @@ -66,7 +62,7 @@ export mandir=%{_mandir}/man7 ./install.sh %check -%if 0%{?with_gcc:1} +%if 0%{?with_gcc} export CXX=g++-%{with_gcc} export CC=gcc-%{with_gcc} %endif From 21fd5bd9bfc9cf21a71f4881750254764d9d86ffaee47c34b429f2c253d5980a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 10 Apr 2024 06:02:09 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jurand?expand=0&rev=13 --- jurand.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jurand.changes b/jurand.changes index 5c3d804..296542b 100644 --- a/jurand.changes +++ b/jurand.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 10 06:01:59 UTC 2024 - Fridrich Strba + +- Simplify a bit the g++ BuildRequires + ------------------------------------------------------------------- Wed Feb 21 14:01:27 UTC 2024 - Fridrich Strba