public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/openscad] rawhide: Ensure 3MF support is enabled
Date: Fri, 30 Oct 2026 11:20:05 GMT [thread overview]
Message-ID: <179335920520.1.1701857960118182810.rpms-openscad-5fc47b6c0847@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/openscad
Branch : rawhide
Commit : 5fc47b6c084759e557e1d0db40e0224d1b7551e6
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-10-29T13:51:16+01:00
Stats : +6/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/openscad/c/5fc47b6c084759e557e1d0db40e0224d1b7551e6?branch=rawhide
Log:
Ensure 3MF support is enabled
- Fixes: rhbz#2561538
Assisted-By: Claude Sonnet 5
---
diff --git a/openscad.spec b/openscad.spec
index 9b839c9..b06a11b 100644
--- a/openscad.spec
+++ b/openscad.spec
@@ -75,7 +75,7 @@ Requires: font(liberationserif)
Requires: hicolor-icon-theme
Recommends: %{name}-MCAD = %{version}-%{release}
-%bcond_without 3mf
+%bcond 3mf 1
%if %{with 3mf}
BuildRequires: lib3mf-devel
%endif
@@ -209,6 +209,11 @@ done
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%if %{with 3mf}
+ldd %{buildroot}%{_bindir}/%{name} | grep -q 'lib3mf\.so' || \
+ { echo "error: %{name} binary is not linked against lib3mf, but 3MF support was requested (%%bcond 3mf)" >&2; exit 1; }
+%endif
+
# tests
cd tests
xwfb-run -c mutter -- ctest %{?_smp_mflags} || : # let the tests fail, as they probably won't work in Koji
reply other threads:[~2026-10-30 11:20 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=179335920520.1.1701857960118182810.rpms-openscad-5fc47b6c0847@fedoraproject.org \
--to=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