public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/guidelines-support-library] epel9: Added patch with architecture independent fixes.
@ 2026-09-06 5:05 Vitaly Zaitsev
0 siblings, 0 replies; only message in thread
From: Vitaly Zaitsev @ 2026-09-06 5:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/guidelines-support-library
Branch : epel9
Commit : 0fcc98134e71865c47d29955f2d8737f534d4a25
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date : 2020-06-06T20:59:19+02:00
Stats : +32/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/guidelines-support-library/c/0fcc98134e71865c47d29955f2d8737f534d4a25?branch=epel9
Log:
Added patch with architecture independent fixes.
---
diff --git a/guidelines-support-library-fix-noarch.patch b/guidelines-support-library-fix-noarch.patch
new file mode 100644
index 0000000..34e8470
--- /dev/null
+++ b/guidelines-support-library-fix-noarch.patch
@@ -0,0 +1,29 @@
+From 50a834c72b9b2d4bad3860aff4f94e1db37483ff Mon Sep 17 00:00:00 2001
+From: Vitaly Zaitsev <vitaly@easycoding.org>
+Date: Sat, 6 Jun 2020 20:42:51 +0200
+Subject: [PATCH] Added ARCH_INDEPENDENT parameter to
+ write_basic_package_version_file().
+
+Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
+---
+ CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4151f1d0..eab54cf0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.3...3.16)
++cmake_minimum_required(VERSION 3.14...3.16)
+
+ project(GSL VERSION 3.1.0 LANGUAGES CXX)
+
+@@ -100,6 +100,7 @@ include(CMakePackageConfigHelpers)
+ write_basic_package_version_file(
+ ${CMAKE_CURRENT_BINARY_DIR}/Microsoft.GSLConfigVersion.cmake
+ COMPATIBILITY SameMajorVersion
++ ARCH_INDEPENDENT
+ )
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Microsoft.GSLConfigVersion.cmake DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/Microsoft.GSL)
+
diff --git a/guidelines-support-library.spec b/guidelines-support-library.spec
index 24e9ad3..57fbba9 100644
--- a/guidelines-support-library.spec
+++ b/guidelines-support-library.spec
@@ -14,6 +14,9 @@ BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: gcc
+# https://github.com/microsoft/GSL/pull/893
+Patch100: %{name}-fix-noarch.patch
+
%description
Header-only %{summary}.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-06 5:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-06 5:05 [rpms/guidelines-support-library] epel9: Added patch with architecture independent fixes Vitaly Zaitsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox