commit 8551f494cdd9663055ba3e8f6c1a39f04a9d1d90
Author: Jakub Bogusz <qbo...@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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to