public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/Pencil2D] rawhide: Use various long options
Date: Mon, 07 Sep 2026 18:11:42 GMT	[thread overview]
Message-ID: <178880470230.1.9251694254543141877.rpms-Pencil2D-f1c5759528c6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/Pencil2D
Branch : rawhide
Commit : f1c5759528c673c95ad030b414bc8978aad5f6ef
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-07T19:11:08+01:00
Stats  : +9/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/Pencil2D/c/f1c5759528c673c95ad030b414bc8978aad5f6ef?branch=rawhide

Log:
Use various long options

---
diff --git a/Pencil2D.spec b/Pencil2D.spec
index 1c207bd..5e02e9b 100644
--- a/Pencil2D.spec
+++ b/Pencil2D.spec
@@ -332,15 +332,16 @@ Pencil2D是适用于Mac OS X,Windows和Linux的动画/绘图软件。它允许
 %autosetup -n pencil-%{version} -p1
 
 # Unbundle miniz
-rm -v core_lib/src/miniz.h core_lib/src/miniz.cpp
-sed -r -i '/\bminiz\.(h|cpp)/d' core_lib/core_lib.pro
-echo "LIBS_PRIVATE += $(pkgconf --libs miniz)" | tee -a */*.pro >/dev/null
-echo "INCLUDEPATH += $(pkgconf --variable=includedir miniz)" | tee -a */*.pro >/dev/null
+rm core_lib/src/miniz.h core_lib/src/miniz.cpp
+sed --regexp-extended --in-place '/\bminiz\.(h|cpp)/d' core_lib/core_lib.pro
+printf 'LIBS_PRIVATE += %s\nINCLUDEPATH += %s\n' \
+    "$(pkgconf --libs miniz)" "$(pkgconf --variable=includedir miniz)" |
+  tee --append */*.pro >/dev/null
 
 # Unbundle catch2, using version 3.x
 # https://catch2-temp.readthedocs.io/en/latest/migrate-v2-to-v3.html
-echo '#include <catch2/catch_all.hpp>' > tests/src/catch.hpp
-echo "LIBS += $(pkgconf --libs catch2)" >> tests/tests.pro
+printf '#include <%s>\n' 'catch2/catch_all.hpp' > tests/src/catch.hpp
+printf 'LIBS += %s\n' "$(pkgconf --libs catch2)" >> tests/tests.pro
 
 
 %conf
@@ -368,7 +369,8 @@ QT_QPA_PLATFORM=offscreen help2man --no-info --output=pencil2d.1 ./app/pencil2d
 %install
 %make_install INSTALL_ROOT='%{buildroot}'
 
-install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 pencil2d.1
+install -D --target='%{buildroot}%{_mandir}/man1' \
+    --preserve-timestamp --mode=0644 pencil2d.1
 
 
 %check

                 reply	other threads:[~2026-09-07 18:11 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=178880470230.1.9251694254543141877.rpms-Pencil2D-f1c5759528c6@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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