public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/argparse] rawhide: Use the cmake declarative buildsystem
@ 2026-07-11 17:30 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-11 17:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/argparse
            Branch : rawhide
            Commit : c3bc9ae538c37681eb54510708fb8dc93ba3f727
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-11T11:30:33-06:00
            Stats  : +7/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/argparse/c/c3bc9ae538c37681eb54510708fb8dc93ba3f727?branch=rawhide

            Log:
            Use the cmake declarative buildsystem

- Add a SourceLicense tag

---
diff --git a/argparse.spec b/argparse.spec
index dd2965b..080b7cf 100644
--- a/argparse.spec
+++ b/argparse.spec
@@ -6,15 +6,17 @@ Version:        3.2
 Release:        %autorelease
 Summary:        Argument parser for modern C++
 
-# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
-ExcludeArch:    %{ix86}
-
 License:        MIT
+# BSL-1.0: portions of test/doctest.hpp
+SourceLicense:  MIT AND BSL-1.0
 URL:            https://github.com/p-ranav/argparse
 VCS:            git:%{url}.git
 Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 
-BuildRequires:  cmake
+# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
+ExcludeArch:    %{ix86}
+BuildSystem:    cmake
+
 BuildRequires:  gcc-c++
 
 %description
@@ -31,7 +33,7 @@ Argparse is an argument parser for C++17 in a single header file.
 %prep
 %autosetup
 
-%conf
+%conf -p
 # Install into the noarch directory
 # https://github.com/p-ranav/argparse/pull/323
 sed -i 's/CMAKE_INSTALL_LIBDIR/CMAKE_INSTALL_DATADIR/' CMakeLists.txt
@@ -41,13 +43,6 @@ sed -i.orig 's/\r//' README.md
 touch -r README.md.orig README.md
 rm README.md.orig
 
-%build
-%cmake
-%cmake_build
-
-%install
-%cmake_install
-
 %check
 %{_vpath_builddir}/test/tests
 

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

only message in thread, other threads:[~2026-07-11 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 17:30 [rpms/argparse] rawhide: Use the cmake declarative buildsystem Jerry James

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