File isa-l.spec of Package failed_isa-l

```spec
#
# spec file for package isa-l
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2017-2021 Intel Corporation
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

Name:           isa-l
Version:        2.31.0
Release:        1.1
Summary:        Gzip backed by the ISA-L deflate library
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
URL:            https://github.com/intel/isa-l
Source:         https://github.com/intel/isa-l/archive/v%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  pkg-config

%description
ISA-L is a collection of optimized low-level functions targeting storage
applications. It includes:

* Erasure codes - Fast block Reed Solomon encoding, decoding, and recovery.
* CRC - Fast implementations of cyclic redundancy check algorithms.
* Compression - Fast implementations of DEFLATE compression/decompression.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
This package contains libraries and header files for developing applications
that use %{name}.

%prep
%setup -q

%build
autoreconf -fi
export CFLAGS="%{optflags} -ffat-lto-objects"
export CXXFLAGS="%{optflags} -ffat-lto-objects"
%configure --disable-static
make %{?_smp_mflags} V=1 VERBOSE=1

%install
%make_install

%files
%license LICENSE
%doc README.md
%{_bindir}/igzip
%{_mandir}/man1/igzip.1*

%files devel
%{_includedir}/isa-l/
%{_libdir}/libisal.so
%{_libdir}/pkgconfig/libisal.pc

%changelog
* Fri Aug  8 2025 lalala123 <lalala123@example.com> - 2.31.0-1.1
- Initial package for openSUSE
```

### Explanation of Changes

1. **Added `-ffat-lto-objects` to Compiler Flags**:
   - The `CFLAGS` and `CXXFLAGS` environment variables are updated to include `-ffat-lto-objects`. This ensures that the static library retains the necessary object file sections for debugging and linking.

2. **Disabled Static Library Build**:
   - The `--disable-static` flag is passed to `%configure` to prevent the creation of static libraries (`libisal.a`). This avoids the issue of static libraries lacking debuginfo and resolves the `lto-no-text-in-archive` error.

3. **Preserved Dynamic Library**:
   - The dynamic library (`libisal.so`) is retained in the `%files devel` section, as it is sufficient for development purposes and avoids the pitfalls of static libraries.

4. **Removed Static Library from `%files`**:
   - The static library (`libisal.a`) is no longer included in the package, as it is not needed and caused the reported errors.

### Additional Notes

- The `rpmlint` warning about the missing `%check` section is informational and does not affect the build. If the package has a test suite, it can be enabled in the `%check` section.
- The `summary-not-capitalized` warning is minor and can be ignored unless strict adherence to capitalization is required.

After applying these changes, rebuild the package to verify that the issues are resolved.
openSUSE Build Service is sponsored by