public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/argparse] rawhide: Use the cmake declarative buildsystem
Date: Sat, 11 Jul 2026 17:30:50 GMT	[thread overview]
Message-ID: <178379105007.1.15882446920557758924.rpms-argparse-c3bc9ae538c3@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-07-11 17:30 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=178379105007.1.15882446920557758924.rpms-argparse-c3bc9ae538c3@fedoraproject.org \
    --to=loganjerry@gmail.com \
    --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