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/zstr] rawhide: Use the cmake declarative buildsystem
Date: Wed, 15 Jul 2026 01:35:00 GMT	[thread overview]
Message-ID: <178407930066.1.3654723313230479624.rpms-zstr-429d557e7520@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/zstr
Branch : rawhide
Commit : 429d557e7520942e090f869591cee05c25a4a8bb
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-07-14T19:34:48-06:00
Stats  : +5/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/zstr/c/429d557e7520942e090f869591cee05c25a4a8bb?branch=rawhide

Log:
Use the cmake declarative buildsystem

---
diff --git a/zstr.spec b/zstr.spec
index 1147d21..37676d8 100644
--- a/zstr.spec
+++ b/zstr.spec
@@ -1,6 +1,9 @@
 # There are no ELF objects in this package, so turn off debuginfo generation.
 %global debug_package %{nil}
 
+# Whether to run tests
+%bcond ctest 1
+
 Name:           zstr
 Version:        1.1.0
 Release:        %autorelease
@@ -13,7 +16,8 @@ Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 # Use zlib-ng directly rather than via the compatibility interface
 Patch:          %{name}-zlib-ng.patch
 
-BuildRequires:  cmake
+BuildSystem:    cmake
+
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig(zlib-ng)
 
@@ -44,18 +48,11 @@ Provides:       %{name}-static = %{version}-%{release}
 %prep
 %autosetup -p1
 
-%build
-%cmake
-%cmake_build
-
 %install
 #%%cmake_install does nothing, so install manually
 mkdir -p %{buildroot}%{_includedir}/zstr
 install -m 0644 -p src/*.hpp %{buildroot}%{_includedir}/zstr
 
-%check
-%ctest
-
 %files devel
 %doc README.org
 %license LICENSE

                 reply	other threads:[~2026-07-15  1:35 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=178407930066.1.3654723313230479624.rpms-zstr-429d557e7520@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