automatic update by autodist [release 4.4.0-1mamba;Tue Mar 26 2024]

This commit is contained in:
Automatic Build System 2024-03-26 13:20:08 +01:00
parent 0d8f9e09bd
commit 737eed2a91
3 changed files with 5 additions and 38 deletions

View File

@ -1,9 +0,0 @@
diff -Nru cfitsio.patch//cfitsio.pc.in cfitsio/cfitsio.pc.in
--- cfitsio.patch//cfitsio.pc.in 2011-03-02 22:56:18.000000000 +0100
+++ cfitsio/cfitsio.pc.in 2011-03-26 15:47:46.818755096 +0100
@@ -8,4 +8,4 @@
Version: 3.27
Libs: -L${libdir} -lcfitsio @LIBS@
Libs.private: -lm
-Cflags: -I${includedir}
+Cflags: -I${includedir}/cfitsio

View File

@ -1,22 +0,0 @@
diff -Nru cfitsio.orig/configure cfitsio/configure
--- cfitsio.orig/configure 2013-03-20 21:02:48.000000000 +0100
+++ cfitsio/configure 2013-04-15 16:02:10.868839677 +0200
@@ -3932,7 +3932,8 @@
SHLIB_SUFFIX=".sl"
;;
lnx)
- SHLIB_LD=":"
+ SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
+ SHLIB_SUFFIX=".so.0"
;;
osf)
SHLIB_LD="ld -shared -expect_unresolved '*'"
@@ -3953,7 +3954,7 @@
# Darwin uses gcc (=cc), but needs different flags (see above)
if test "x$EXT" != xdarwin && test "x$EXT" != xcygwin && test "x$EXT" != xmingw32; then
if test "x$GCC" = xyes; then
- SHLIB_LD="$CC -shared"
+ SHLIB_LD="$CC -shared -Wl,-soname,libcfitsio.so.0"
lhea_shlib_cflags='-fPIC'
fi
fi

View File

@ -2,7 +2,7 @@
Name: libcfitsio Name: libcfitsio
Epoch: 1 Epoch: 1
Version: 4.3.1 Version: 4.4.0
Release: 1mamba Release: 1mamba
Summary: A FITS File Subroutine Library Summary: A FITS File Subroutine Library
Group: System/Libraries Group: System/Libraries
@ -11,8 +11,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html URL: https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
Source: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-%{version}.tar.gz Source: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-%{version}.tar.gz
Patch0: %{name}-3.340-sharedlibs.patch
Patch1: %{name}-3.270-pkgconfig.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -48,8 +46,6 @@ This package contains the tools provided with %{name}.
%prep %prep
%setup -q -n cfitsio-%{version} %setup -q -n cfitsio-%{version}
#%patch0 -p1
#%patch1 -p1
%build %build
%configure \ %configure \
@ -72,7 +68,7 @@ This package contains the tools provided with %{name}.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libcfitsio.so.* %{_libdir}/libcfitsio.so.*
%doc License.txt %doc licenses/NASA_Open_Source_Agreement_1.3.txt
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -81,13 +77,15 @@ This package contains the tools provided with %{name}.
%{_libdir}/libcfitsio.a %{_libdir}/libcfitsio.a
%{_libdir}/libcfitsio.so %{_libdir}/libcfitsio.so
%{_libdir}/pkgconfig/cfitsio.pc %{_libdir}/pkgconfig/cfitsio.pc
%doc README
%files -n cfitsio %files -n cfitsio
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 4.4.0-1mamba
- automatic update by autodist
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 4.3.1-1mamba * Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 4.3.1-1mamba
- automatic update by autodist - automatic update by autodist