public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitaly Zaitsev <vitaly@easycoding.org>
To: git-commits@fedoraproject.org
Subject: [rpms/guidelines-support-library] epel9: Updated to version 4.0.0.
Date: Sun, 06 Sep 2026 05:05:53 GMT [thread overview]
Message-ID: <178867115341.1.9255802179211755024.rpms-guidelines-support-library-0dde754a51c1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/guidelines-support-library
Branch : epel9
Commit : 0dde754a51c13b115368e74859786d47738bec10
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date : 2022-01-28T14:51:44+01:00
Stats : +17/-39 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/guidelines-support-library/c/0dde754a51c13b115368e74859786d47738bec10?branch=epel9
Log:
Updated to version 4.0.0.
---
diff --git a/.gitignore b/.gitignore
index d5f5a70..6c30b27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/guidelines-support-library-3.0.0.tar.gz
/guidelines-support-library-3.0.1.tar.gz
/guidelines-support-library-3.1.0.tar.gz
+/guidelines-support-library-4.0.0.tar.gz
diff --git a/guidelines-support-library-fix-noarch.patch b/guidelines-support-library-fix-noarch.patch
deleted file mode 100644
index 34e8470..0000000
--- a/guidelines-support-library-fix-noarch.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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 c05646a..1f7dd01 100644
--- a/guidelines-support-library.spec
+++ b/guidelines-support-library.spec
@@ -1,23 +1,21 @@
%undefine __cmake_in_source_build
Name: guidelines-support-library
-Version: 3.1.0
-Release: 6%{?dist}
+Version: 4.0.0
+Release: 1%{?dist}
License: MIT
URL: https://github.com/Microsoft/GSL
Summary: Guidelines Support Library
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-BuildArch: noarch
-
-BuildRequires: ninja-build
-BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: ninja-build
-# https://github.com/microsoft/GSL/pull/893
-Patch100: %{name}-fix-noarch.patch
+BuildArch: noarch
%description
Header-only %{summary}.
@@ -31,16 +29,21 @@ Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release}
%prep
%autosetup -n GSL-%{version} -p1
+sed -e '/-Werror/d' -i tests/CMakeLists.txt
%build
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
- -DGSL_TEST:BOOL=OFF
+ -DGSL_INSTALL:BOOL=ON \
+ -DGSL_TEST:BOOL=ON
%cmake_build
%install
%cmake_install
+%check
+%ctest
+
%files devel
%doc README.md CONTRIBUTING.md
%license LICENSE ThirdPartyNotices.txt
@@ -48,6 +51,9 @@ Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release}
%{_includedir}/gsl/
%changelog
+* Fri Jan 28 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 4.0.0-1
+- Updated to version 4.0.0.
+
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index dde58a9..d3e40d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (guidelines-support-library-3.1.0.tar.gz) = 2916df9ee165fc803ffae0a56518f2ba92870e279984913ff591559e1459943c3ffbc1f5a0d819ad8233f0c9034012de3616aa4e10557d87c7285d8425d10696
+SHA512 (guidelines-support-library-4.0.0.tar.gz) = 50a6a362e401ca1744f0719e521a38c32d54e4cc7ee9b0a601dd018e00e7a08a83062183411f34d5254dd49ce76ba9acc1037f5301a5f4e0f8c337608eb78110
reply other threads:[~2026-09-06 5:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178867115341.1.9255802179211755024.rpms-guidelines-support-library-0dde754a51c1@fedoraproject.org \
--to=vitaly@easycoding.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox