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/cxxopts] epel10.3: Updated to version 3.0.0.
Date: Tue, 22 Sep 2026 01:32:20 GMT [thread overview]
Message-ID: <179004074036.1.6434539370982900199.rpms-cxxopts-082d9d5377db@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/cxxopts
Branch : epel10.3
Commit : 082d9d5377db9fc75427bcd8726fbe5a990ef483
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date : 2021-10-23T13:35:30+02:00
Stats : +11/-35 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/cxxopts/c/082d9d5377db9fc75427bcd8726fbe5a990ef483?branch=epel10.3
Log:
Updated to version 3.0.0.
---
diff --git a/.gitignore b/.gitignore
index a1a8b0c..80eddec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/cxxopts-2.2.0.tar.gz
/cxxopts-2.2.1.tar.gz
+/cxxopts-3.0.0.tar.gz
diff --git a/cxxopts-fix-installation.patch b/cxxopts-fix-installation.patch
deleted file mode 100644
index cc8042c..0000000
--- a/cxxopts-fix-installation.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1b524f7..3e9b862 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -73,8 +73,9 @@ target_include_directories(cxxopts INTERFACE
- )
-
- if(CXXOPTS_ENABLE_INSTALL)
-+ include(GNUInstallDirs)
- include(CMakePackageConfigHelpers)
-- set(CXXOPTS_CMAKE_DIR "lib/cmake/cxxopts" CACHE STRING
-+ set(CXXOPTS_CMAKE_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/cxxopts" CACHE STRING
- "Installation directory for cmake files, relative to ${CMAKE_INSTALL_PREFIX}.")
- set(version_config "${PROJECT_BINARY_DIR}/cxxopts-config-version.cmake")
- set(project_config "${PROJECT_BINARY_DIR}/cxxopts-config.cmake")
-@@ -100,8 +101,8 @@ if(CXXOPTS_ENABLE_INSTALL)
- NAMESPACE cxxopts::)
-
- # Install the header file and export the target
-- install(TARGETS cxxopts EXPORT ${targets_export_name} DESTINATION lib)
-- install(FILES ${PROJECT_SOURCE_DIR}/include/cxxopts.hpp DESTINATION include)
-+ install(TARGETS cxxopts EXPORT ${targets_export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+ install(FILES ${PROJECT_SOURCE_DIR}/include/cxxopts.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
- endif()
-
- add_subdirectory(src)
diff --git a/cxxopts.spec b/cxxopts.spec
index c4b3df1..c3cb179 100644
--- a/cxxopts.spec
+++ b/cxxopts.spec
@@ -2,20 +2,17 @@
%global debug_package %{nil}
Name: cxxopts
-Version: 2.2.1
-Release: 4%{?dist}
+Version: 3.0.0
+Release: 1%{?dist}
Summary: Lightweight C++ command line option parser
License: MIT
URL: https://github.com/jarro2783/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-# https://github.com/jarro2783/cxxopts/pull/226
-Patch100: %{name}-fix-installation.patch
-
-BuildRequires: ninja-build
-BuildRequires: gcc-c++
BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: ninja-build
%description
CXXOpts is a lightweight C++ option parser library, supporting the standard
@@ -39,7 +36,7 @@ Requires: libstdc++-devel%{?_isa}
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCXXOPTS_ENABLE_INSTALL:BOOL=ON \
- -DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF \
+ -DCXXOPTS_BUILD_EXAMPLES:BOOL=ON \
-DCXXOPTS_BUILD_TESTS:BOOL=ON
%cmake_build
@@ -54,8 +51,12 @@ Requires: libstdc++-devel%{?_isa}
%license LICENSE
%{_includedir}/%{name}.hpp
%{_libdir}/cmake/%{name}/
+%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Sat Oct 23 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 3.0.0-1
+- Updated to version 3.0.0.
+
* Wed Jul 28 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 2.2.1-4
- Provide un-arched versions of virtual Provides
diff --git a/sources b/sources
index 13c1c65..23c0fae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cxxopts-2.2.1.tar.gz) = bad2928b4e06efcfa09728dd946426e4fd39715b687c0a5c7b6308dd366cb490fdd8491c9a9778242d97d5be4a383bf9d1c209efe298c6c43bb1eb9daa103f05
+SHA512 (cxxopts-3.0.0.tar.gz) = 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c
reply other threads:[~2026-09-22 1:32 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=179004074036.1.6434539370982900199.rpms-cxxopts-082d9d5377db@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