[packages/asymptote] - obsolete -doc when building without, release 3

qboosh qboosh at pld-linux.org
Sun Jun 16 15:03:54 CEST 2024


commit 8551f494cdd9663055ba3e8f6c1a39f04a9d1d90
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 16 14:19:55 2024 +0200

    - obsolete -doc when building without, release 3

 asymptote.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/asymptote.spec b/asymptote.spec
index 201d8c5..934d0d6 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -10,7 +10,7 @@ Summary(hu.UTF-8):	Asymptote egy leíró vektorgrafikus nyelv technikai rajzokho
 Summary(pl.UTF-8):	Język opisu grafiki wektorowej do rysunków technicznych
 Name:		asymptote
 Version:	2.89
-Release:	2
+Release:	3
 # uses GPL libraries (gsl, readline), so final license is GPL
 License:	GPL v3+ (LGPL v3+ code)
 Group:		Applications/Science
@@ -61,6 +61,9 @@ Suggests:	ImageMagick-coder-jpeg
 Suggests:	ImageMagick-coder-png
 # e.g. "label" command needs latex
 Suggests:	texlive-latex
+%if %{without doc}
+Obsoletes:	asymptote-doc < %{version}-%{release}
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define texmfdist %{_datadir}/texmf-dist
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/asymptote.git/commitdiff/8551f494cdd9663055ba3e8f6c1a39f04a9d1d90



More information about the pld-cvs-commit mailing list