- updated to 3.0.3

- Resolves: RHEL-62974
This commit is contained in:
Dan Horák 2025-06-09 12:05:09 +02:00
parent 393acd8e86
commit 07600de7df
4 changed files with 20 additions and 35 deletions

5
.gitignore vendored
View File

@ -1,3 +1,2 @@
/lib-zfcp-hbaapi-2.1.tar.gz
/lib-zfcp-hbaapi-2.1.1.tar.gz
/lib-zfcp-hbaapi-2.2.0.tar.gz
/lib-zfcp-hbaapi-*.tar.gz
/libzfcphbaapi-*.tar.gz

View File

@ -23,19 +23,6 @@ index a9a040d..bddc86f 100644
bin_PROGRAMS = zfcp_ping zfcp_show
zfcp_ping_SOURCES = fc_tools/zfcp_ping.c
diff --git a/Makefile.in b/Makefile.in
index f459693..b9c7712 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -407,6 +407,8 @@ libzfcphbaapi_la_LDFLAGS = \
-Wl,-init,_initvlib,-fini,_finivlib \
-export-symbols $(SYMFILE)
+@VENDORLIB_TRUE@libzfcphbaapi_la_LDFLAGS += -module -avoid-version -release $(VERSION)
+
zfcp_ping_SOURCES = fc_tools/zfcp_ping.c
zfcp_show_SOURCES = fc_tools/zfcp_show.c
@VENDORLIB_FALSE@zfcp_ping_LDADD = -lzfcphbaapi
--
1.8.5.3

View File

@ -1,19 +1,16 @@
%global srcname lib-zfcp-hbaapi
Name: libzfcphbaapi
Summary: HBA API for the zFCP device driver
Version: 2.2.0
Release: 15%{?dist}
License: CPL
URL: http://www.ibm.com/developerworks/linux/linux390/zfcp-hbaapi.html
# http://www.ibm.com/developerworks/linux/linux390/zfcp-hbaapi-%%{hbaapiver}.html
Source0: http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/ht_src/%{srcname}-%{version}.tar.gz
Patch1: %{srcname}-2.1.1-fedora.patch
Version: 3.0.3
Release: 1%{?dist}
License: EPL-1.0
URL: https://github.com/ibm-s390-linux/libzfcphbaapi
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch1: %{name}-3.0.2-fedora.patch
ExclusiveArch: s390 s390x
BuildRequires: gcc
BuildRequires: automake
BuildRequires: automake autoconf libtool
BuildRequires: doxygen
BuildRequires: sg3_utils-devel
BuildRequires: make
@ -41,17 +38,14 @@ Documentation in HTML format for the zFCP HBA API Library.
%prep
%setup -q -n %{srcname}-%{version}
%patch1 -p1 -b .fedora
%autosetup
%build
autoreconf -vif
%configure --disable-static
# manually disable rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make EXTRA_CFLAGS="-fno-strict-aliasing"
%make_build EXTRA_CFLAGS="-fno-strict-aliasing"
%install
@ -70,7 +64,8 @@ fi
%files
%doc README COPYING ChangeLog AUTHORS LICENSE
%license LICENSE
%doc README COPYING ChangeLog AUTHORS
%{_bindir}/zfcp_ping
%{_bindir}/zfcp_show
%{_libdir}/%{name}.so.*
@ -91,6 +86,10 @@ fi
%changelog
* Tue Jun 10 2025 Dan Horák <dhorak@redhat.com> - 3.0.3-1
- updated to 3.0.3
- Resolves: RHEL-62974
* Thu Apr 14 2022 Dan Horák <dhorak@redhat.com> - 2.2.0-15
- add devel subpackage (#2069642)
- Resolves: #2069642

View File

@ -1 +1 @@
SHA512 (lib-zfcp-hbaapi-2.2.0.tar.gz) = 8abf7d774a86b75ef3074f194d2a2fc173e336e03dd808c894603e5231e702a815411b8b2a187e08bb6addc2cbbb6441b14609eec5800f6e720778c1379df206
SHA512 (libzfcphbaapi-3.0.3.tar.gz) = 3a49ec8f5d8a570bf85ae0c85901037c37822bc44c3f2e9982689aeb1d9a906fe91d17375db6f5de0f36966f7e822d4e8ab8bf724431da42f9388e7a9634c26d