public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/asymptote] rawhide: address issue where asy-faq.html changed from directory to file, fix missing BR (glslang-devel)
@ 2026-09-25 18:06 Tom spot Callaway
0 siblings, 0 replies; only message in thread
From: Tom spot Callaway @ 2026-09-25 18:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/asymptote
Branch : rawhide
Commit : e5e8d3c04d66fff16393bb464882c5560a623d1b
Author : Tom spot Callaway <spotaws@amazon.com>
Date : 2026-09-25T14:06:22-04:00
Stats : +14/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/asymptote/c/e5e8d3c04d66fff16393bb464882c5560a623d1b?branch=rawhide
Log:
address issue where asy-faq.html changed from directory to file, fix missing BR (glslang-devel)
---
diff --git a/asymptote.spec b/asymptote.spec
index 65acf68..a1ba017 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -1,6 +1,6 @@
Name: asymptote
Version: 3.13
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Descriptive vector graphics language
# LGPL-3.0-or-later: the project as a whole
@@ -83,7 +83,7 @@ BuildRequires: mesa-compat-libOSMesa-devel
BuildRequires: mesa-libOSMesa-devel
%endif
BuildRequires: ghostscript-tools-dvipdf
-BuildRequires: glm-devel
+BuildRequires: glm-devel, glslang-devel
BuildRequires: boost-devel, rapidjson-devel
BuildRequires: cmake, make, python3-qt5
BuildRequires: vulkan-headers, glfw-devel
@@ -192,6 +192,14 @@ ln -s ../share/%{name}/GUI/xasy.py xasy
# Fix executable bits
chmod 755 %{buildroot}%{_datadir}/%{name}/{asy-kate.sh,asymptote.py}
+# This file used to be split out (in a directory named asy-faq.html)
+# but now it's just a single file called asy-faq.html.
+# We can do lua tricks, but since no one cares what this thing is called
+# we'll just check if it's a file, and if it is, rename it.
+if [ ! -d "%{buildroot}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/asy-faq.html" ]; then
+ mv %{buildroot}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/asy-faq.html %{buildroot}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/asy-faq-full.html
+fi
+
%files
%doc %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}/}
%license LICENSE LICENSE.LESSER
@@ -210,6 +218,10 @@ chmod 755 %{buildroot}%{_datadir}/%{name}/{asy-kate.sh,asymptote.py}
%{_emacs_sitelispdir}/%{name}/
%changelog
+* Fri Sep 25 2026 Tom Callaway <spot@fedoraproject.org> - 3.13-2
+- address issue where asy-faq.html changed from directory to file
+- fix missing BR (glslang-devel)
+
* Fri Aug 28 2026 Tom Callaway <spot@fedoraproject.org> - 3.13-1
- update to 3.13
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 18:06 [rpms/asymptote] rawhide: address issue where asy-faq.html changed from directory to file, fix missing BR (glslang-devel) Tom spot Callaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox