gnuastro/0001-Reference-wcslib-by-correct-name-in-gnuastro.pc-pkgc.patch
Stefan Brüns febb2c7b44 Accepting request 747230 from home:StefanBruens:branches:science
- Fix wrong automatic pkgconfig(wcs) requires, add
  0001-Reference-wcslib-by-correct-name-in-gnuastro.pc-pkgc.patch
- Drop ghostscript BuildRequires, only needed for running tests
  (not done), the PDF exporter is built unconditionally. At runtime,
  the exporter uses a "gs" executable in PATH, so add a Recommends.
- Add bcond for running tests, keep it disabled by default.

OBS-URL: https://build.opensuse.org/request/show/747230
OBS-URL: https://build.opensuse.org/package/show/science/gnuastro?expand=0&rev=7
2019-11-13 21:14:46 +00:00

26 lines
801 B
Diff

From d4679eed85b9ee70651a54930a9cd59543c088d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Sun, 10 Nov 2019 16:03:01 +0100
Subject: [PATCH] Reference wcslib by correct name in gnuastro.pc pkgconfig
Fixes https://savannah.gnu.org/bugs/index.php?57200
---
lib/gnuastro.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gnuastro.pc.in b/lib/gnuastro.pc.in
index 3223d8f..2ffef02 100644
--- a/lib/gnuastro.pc.in
+++ b/lib/gnuastro.pc.in
@@ -27,6 +27,6 @@ Name: Gnuastro
Description: GNU Astronomy Utilities
URL: https://www.gnu.org/software/gnuastro/
Version: @VERSION@
-Requires.private: wcs cfitsio gsl
+Requires.private: wcslib cfitsio gsl
Cflags: -I${includedir}
Libs: -L${libdir} -lgnuastro @LIBS@
--
2.23.0