Mageia Bugzilla – Attachment 14106 Details for
Bug 32449
json-devel package should be arch independent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch for noarch spec file
json_spec_noarch.patch (text/plain), 799 bytes, created by
Aurelian R
on 2023-10-26 22:41:55 CEST
(
hide
)
Description:
patch for noarch spec file
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2023-10-26 22:41:55 CEST
Size:
799 bytes
patch
obsolete
>--- json.spec 2023-10-25 22:34:09.380797227 +0300 >+++ json_new.spec 2023-10-26 23:14:18.956905911 +0300 >@@ -1,5 +1,3 @@ >-%global debug_package %{nil} >- > Name: json > Version: 3.11.2 > Release: %mkrel 1 >@@ -11,8 +9,8 @@ Group: Development/C++ > URL: https://github.com/nlohmann/%{name} > Source0: https://github.com/nlohmann/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz > >-BuildRequires: ninja >-BuildRequires: gcc-c++ >+BuildArch: noarch >+ > BuildRequires: cmake > > %description >@@ -34,7 +32,10 @@ applications that use %{name}. > %autosetup -p1 > > %build >-%cmake -G Ninja >+%cmake \ >+ -DJSON_BuildTests:BOOL=OFF \ >+ -DJSON_MultipleHeaders=ON \ >+ -DNLOHMANN_JSON_CONFIG_INSTALL_DIR="%{_datadir}/cmake/nlohmann_json" > %cmake_build > > %install
--- json.spec 2023-10-25 22:34:09.380797227 +0300 +++ json_new.spec 2023-10-26 23:14:18.956905911 +0300 @@ -1,5 +1,3 @@ -%global debug_package %{nil} - Name: json Version: 3.11.2 Release: %mkrel 1 @@ -11,8 +9,8 @@ Group: Development/C++ URL: https://github.com/nlohmann/%{name} Source0: https://github.com/nlohmann/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: ninja -BuildRequires: gcc-c++ +BuildArch: noarch + BuildRequires: cmake %description @@ -34,7 +32,10 @@ applications that use %{name}. %autosetup -p1 %build -%cmake -G Ninja +%cmake \ + -DJSON_BuildTests:BOOL=OFF \ + -DJSON_MultipleHeaders=ON \ + -DNLOHMANN_JSON_CONFIG_INSTALL_DIR="%{_datadir}/cmake/nlohmann_json" %cmake_build %install
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32449
: 14106