[packages/cspice] Rel 67
arekm
arekm at pld-linux.org
Thu May 21 14:54:16 CEST 2026
commit c8e37a8af5f7a863787ef4067f1400040cbd0378
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 21 14:53:58 2026 +0200
Rel 67
cspice.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/cspice.spec b/cspice.spec
index 27e810f..e404cf3 100644
--- a/cspice.spec
+++ b/cspice.spec
@@ -2,13 +2,13 @@
Summary: ANSI C version of the SPICE Toolkit
Summary(pl.UTF-8): Wersja oprogramowania SPICE Toolkit dla ANSI C
Name: cspice
-Version: 66
-Release: 2
+Version: 67
+Release: 1
License: NASA/CalTech
Group: Libraries
# couldn't find pure source distribution, but binary package contains sources as well
-Source0: http://naif.jpl.nasa.gov/pub/naif/toolkit/C/PC_Linux_GCC_32bit/packages/cspice.tar.Z
-# Source0-md5: 35a5e7f8e9501b503b18d94ca8a9da47
+Source0: https://naif.jpl.nasa.gov/pub/naif/toolkit/C/PC_Linux_GCC_32bit/packages/cspice.tar.Z
+# Source0-md5: dbefb47133b98c511c3a499dae0be968
URL: https://naif.jpl.nasa.gov/naif/toolkit.html
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,8 +63,9 @@ Dokumentacja do CSPICE.
%build
cd src/cspice
+# upstream uses -ansi; K&R-style f2c sources require pre-C99 semantics (implicit int, no proto)
for f in *.c ; do
- libtool --mode=compile %{__cc} %{rpmcflags} %{rpmcppflags} -c $f
+ libtool --mode=compile %{__cc} %{rpmcflags} %{rpmcppflags} -std=gnu89 -c $f
done
libtool --mode=link %{__cc} %{rpmldflags} %{rpmcflags} -o libcspice.la -lm -rpath %{_libdir} *.lo
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cspice.git/commitdiff/c8e37a8af5f7a863787ef4067f1400040cbd0378
More information about the pld-cvs-commit
mailing list