From 737eed2a91a75d6ba7af6339927a5e326363c67f Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Tue, 26 Mar 2024 13:20:08 +0100 Subject: [PATCH] automatic update by autodist [release 4.4.0-1mamba;Tue Mar 26 2024] --- libcfitsio-3.270-pkgconfig.patch | 9 --------- libcfitsio-3.340-sharedlibs.patch | 22 ---------------------- libcfitsio.spec | 12 +++++------- 3 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 libcfitsio-3.270-pkgconfig.patch delete mode 100644 libcfitsio-3.340-sharedlibs.patch diff --git a/libcfitsio-3.270-pkgconfig.patch b/libcfitsio-3.270-pkgconfig.patch deleted file mode 100644 index e8537d6..0000000 --- a/libcfitsio-3.270-pkgconfig.patch +++ /dev/null @@ -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 diff --git a/libcfitsio-3.340-sharedlibs.patch b/libcfitsio-3.340-sharedlibs.patch deleted file mode 100644 index 245658b..0000000 --- a/libcfitsio-3.340-sharedlibs.patch +++ /dev/null @@ -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 diff --git a/libcfitsio.spec b/libcfitsio.spec index 48f2620..fd5dd88 100644 --- a/libcfitsio.spec +++ b/libcfitsio.spec @@ -2,7 +2,7 @@ Name: libcfitsio Epoch: 1 -Version: 4.3.1 +Version: 4.4.0 Release: 1mamba Summary: A FITS File Subroutine Library Group: System/Libraries @@ -11,8 +11,6 @@ Distribution: openmamba Packager: Silvan Calarco 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 -Patch0: %{name}-3.340-sharedlibs.patch -Patch1: %{name}-3.270-pkgconfig.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -48,8 +46,6 @@ This package contains the tools provided with %{name}. %prep %setup -q -n cfitsio-%{version} -#%patch0 -p1 -#%patch1 -p1 %build %configure \ @@ -72,7 +68,7 @@ This package contains the tools provided with %{name}. %files %defattr(-,root,root) %{_libdir}/libcfitsio.so.* -%doc License.txt +%doc licenses/NASA_Open_Source_Agreement_1.3.txt %files devel %defattr(-,root,root) @@ -81,13 +77,15 @@ This package contains the tools provided with %{name}. %{_libdir}/libcfitsio.a %{_libdir}/libcfitsio.so %{_libdir}/pkgconfig/cfitsio.pc -%doc README %files -n cfitsio %defattr(-,root,root) %{_bindir}/* %changelog +* Tue Mar 26 2024 Automatic Build System 4.4.0-1mamba +- automatic update by autodist + * Mon Feb 12 2024 Automatic Build System 4.3.1-1mamba - automatic update by autodist