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/luminance-hdr] f44: Use various long options
Date: Tue, 10 Nov 2026 22:17:57 GMT [thread overview]
Message-ID: <179434907716.1.13898862798735832079.rpms-luminance-hdr-1de0a1caabf7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/luminance-hdr
Branch : f44
Commit : 1de0a1caabf786db3ef32a2a4fe21b04fae9487e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-18T12:49:36+01:00
Stats : +23/-19 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/luminance-hdr/c/1de0a1caabf786db3ef32a2a4fe21b04fae9487e?branch=f44
Log:
Use various long options
---
diff --git a/luminance-hdr.spec b/luminance-hdr.spec
index 5047c3f..4fd152b 100644
--- a/luminance-hdr.spec
+++ b/luminance-hdr.spec
@@ -274,31 +274,34 @@ translations.
%autosetup -n LuminanceHDR-v.%{version} -p1
# Just in case the bundled librtprocess shows up in the tarball:
-rm -rf librtprocess
+rm --recursive --force --verbose librtprocess
# https://github.com/LuminanceHDR/LuminanceHDR/pull/236
-sed -r -i \
- -e 's/(TARGET_LINK_LIBRARIES\(TestPoissonSolver\b.*pfstmo)'\
-'[[:blank:]]*$/\1 common/' \
+sed --regexp-extended --in-place \
+ --expression='s/(TARGET_LINK_LIBRARIES'\
+'\(TestPoissonSolver\b.*pfstmo)[[:blank:]]*$/\1 common/' \
test/CMakeLists.txt
# https://github.com/LuminanceHDR/LuminanceHDR/pull/237
-sed -r -i \
- -e 's/(TARGET_LINK_LIBRARIES\(pfstmo[[:blank:]]+)(Qt5::)/\1pfs \2/' \
+sed --regexp-extended --in-place \
+ --expression='s/(TARGET_LINK_LIBRARIES\(pfstmo[[:blank:]]+)'\
+'(Qt5::)/\1pfs \2/' \
src/TonemappingOperators/CMakeLists.txt
# https://github.com/LuminanceHDR/LuminanceHDR/issues/240
# https://github.com/LuminanceHDR/LuminanceHDR/pull/238
-sed -r -i \
- -e 's/(TARGET_LINK_LIBRARIES\(pfs[[:blank:]]+)(Qt5::)/\1rtprocess \2/' \
+sed --regexp-extended --in-place \
+ --expression='s/(TARGET_LINK_LIBRARIES\(pfs[[:blank:]]+)'\
+'(Qt5::)/\1rtprocess \2/' \
src/Libpfs/CMakeLists.txt
# Remove bundled copy of hdrhtml from pfstools package; let the build system
# install an empty directory, then replace it with a symbolic link to the
# pfstools copy.
-rm -rf hdrhtml/*
+rm --recursive --force --verbose hdrhtml/*
# build error against boost 1.88 due to outdated C++ std version
# https://github.com/LuminanceHDR/LuminanceHDR/issues/291
-sed -r -i 's/\b(CMAKE_CXX_STANDARD[[:blank:]]+)11\b/\114/' \
+sed --regexp-extended --in-place \
+ 's/\b(CMAKE_CXX_STANDARD[[:blank:]]+)11\b/\114/' \
build_files/Modules/CompilerSettings.cmake
@@ -321,11 +324,11 @@ export LDFLAGS="${LDFLAGS} $(pkgconf --libs eigen3)"
# Upstream installs AUTHORS, Changelog, LICENSE, and README.md. We install
# documentation and license files with the %%doc and %%license macros instead,
# putting them in the usual locations favored by Fedora.
-rm -rvf '%{buildroot}%{_datadir}/luminance-hdr/doc'
+rm --recursive --force --verbose '%{buildroot}%{_datadir}/luminance-hdr/doc'
# Install mimeinfo file
-install -t '%{buildroot}/%{_datadir}/mime/packages' -D -p -m 0644 \
- luminance-hdr.xml
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}/%{_datadir}/mime/packages' luminance-hdr.xml
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications \
%{app_id}.desktop
@@ -334,8 +337,8 @@ desktop-file-install --dir=%{buildroot}/%{_datadir}/applications \
# rename the file from upstream using the legacy .appdata.xml name to the
# current .metainfo.xml used for AppData. See
# https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/.
-install -d '%{buildroot}%{_metainfodir}'
-mv -v '%{buildroot}%{_datadir}/appdata/%{app_id}.appdata.xml' \
+install --directory '%{buildroot}%{_metainfodir}'
+mv '%{buildroot}%{_datadir}/appdata/%{app_id}.appdata.xml' \
'%{buildroot}%{_metainfodir}/%{app_id}.metainfo.xml'
# Still required by guidelines for now
# (https://pagure.io/packaging-committee/issue/1053):
@@ -345,13 +348,14 @@ appstream-util validate-relax --nonet \
appstreamcli validate --no-net --explain \
'%{buildroot}%{_metainfodir}/%{app_id}.metainfo.xml'
-install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \
- '%{SOURCE1}' '%{SOURCE2}'
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{_mandir}/man1' '%{SOURCE1}' '%{SOURCE2}'
%find_lang lang --with-qt
-rm -rvf '%{buildroot}%{_datadir}/luminance-hdr/hdrhtml'
-ln -s ../pfstools '%{buildroot}%{_datadir}/luminance-hdr/hdrhtml'
+rm --recursive --force --verbose \
+ '%{buildroot}%{_datadir}/luminance-hdr/hdrhtml'
+ln --symbolic ../pfstools '%{buildroot}%{_datadir}/luminance-hdr/hdrhtml'
%check
reply other threads:[~2026-11-10 22:17 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=179434907716.1.13898862798735832079.rpms-luminance-hdr-1de0a1caabf7@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