public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/guidelines-support-library] epel9: Updated to version 2.1.0.
@ 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 : e64400f012469fe3e18a6e427f09e17186ef2661
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date   : 2020-02-03T18:49:47+01:00
Stats  : +24/-10 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/guidelines-support-library/c/e64400f012469fe3e18a6e427f09e17186ef2661?branch=epel9

Log:
Updated to version 2.1.0.

---
diff --git a/.gitignore b/.gitignore
index fa59656..2a7bcb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /guidelines-support-library-1c95f94.tar.gz
 /guidelines-support-library-c9e423d.tar.gz
 /guidelines-support-library-1.0.0.tar.gz
+/guidelines-support-library-2.1.0.tar.gz

diff --git a/guidelines-support-library.spec b/guidelines-support-library.spec
index 5737328..323757c 100644
--- a/guidelines-support-library.spec
+++ b/guidelines-support-library.spec
@@ -1,13 +1,18 @@
 Name: guidelines-support-library
-Summary: Guidelines Support Library
-Version: 1.0.0
-Release: 5%{?dist}
+Version: 2.1.0
+Release: 1%{?dist}
 
 License: MIT
 URL: https://github.com/Microsoft/GSL
-Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+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
+
 %description
 Header-only %{summary}.
 
@@ -20,21 +25,29 @@ Provides: %{name}-static = %{version}-%{release}
 
 %prep
 %autosetup -n GSL-%{version}
+mkdir -p %{_target_platform}
 
 %build
-# Nothing to build. Header-only library.
+pushd %{_target_platform}
+    %cmake -G Ninja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DGSL_TEST:BOOL=OFF \
+    ..
+popd
+%ninja_build -C %{_target_platform}
 
 %install
-# Installing headers...
-mkdir -p "%{buildroot}%{_includedir}/%{name}/gsl"
-cp -a include/gsl %{buildroot}%{_includedir}/%{name}
+%ninja_install -C %{_target_platform}
 
 %files devel
 %doc README.md CONTRIBUTING.md
 %license LICENSE ThirdPartyNotices.txt
-%{_includedir}/%{name}
+%{_includedir}/gsl/
 
 %changelog
+* Mon Feb 03 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2.1.0-1
+- Updated to version 2.1.0.
+
 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
 

diff --git a/sources b/sources
index ce7a615..73670b4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (guidelines-support-library-1.0.0.tar.gz) = cde55df9540fd08ca8d29a74b2cff360686aa75b01ee1c48bd9782a2d70d1b6eae712a51eaf9b60453f859e466df00345b0a2893137d16490cea8ee54362f7da
+SHA512 (guidelines-support-library-2.1.0.tar.gz) = 4382b8feadf4608b06b66a78ca51b0f60a6e8b41b183aec6ac8f8e2e9f0b39705dea513fd708012ed8390c1a4f88d7df454f05166b76bee24ae843835cd4a2ca

^ 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: Updated to version 2.1.0 Vitaly Zaitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox