public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/luminance-hdr] f44: Use various long options
@ 2026-11-10 22:17 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-10 22:17 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 22:17 [rpms/luminance-hdr] f44: Use various long options Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox