public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cxxopts] epel10.2: Updated to version 3.0.0.
@ 2026-09-22  1:31 Vitaly Zaitsev
  0 siblings, 0 replies; only message in thread
From: Vitaly Zaitsev @ 2026-09-22  1:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cxxopts
Branch : epel10.2
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.2

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-22  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22  1:31 [rpms/cxxopts] epel10.2: Updated to version 3.0.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