diff --git a/qclib.changes b/qclib.changes index 21fbf1f..0cbe6f7 100644 --- a/qclib.changes +++ b/qclib.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Mon May 29 07:41:35 UTC 2023 - Nikolay Gueorguiev +Tue May 30 06:23:30 UTC 2023 - Nikolay Gueorguiev - Upgrade to version 2.4.0 (jsc#PED-3284, jsc#PED-3285) * Changes: @@ -7,8 +7,6 @@ Mon May 29 07:41:35 UTC 2023 - Nikolay Gueorguiev - zname: Add support for option --json - qc_dump: Add trace and JSON dump to .tgz - Amended the .spec file for the error "static-library-without-debuginfo" - * Added a line: rm %buildroot/%_libdir/*.a - * Removed the line: %{_libdir}/libqc.a from %files devel-static * Removed the line: gzip -9 %{buildroot}/%{_mandir}/man8/* ------------------------------------------------------------------- diff --git a/qclib.spec b/qclib.spec index 3cbd668..d3ddf74 100644 --- a/qclib.spec +++ b/qclib.spec @@ -16,6 +16,8 @@ # +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects + Name: qclib Version: 2.4.0 Release: 0 @@ -28,7 +30,7 @@ Source1: %{name}-rpmlintrc BuildRequires: doxygen BuildRequires: gcc-c++ ExclusiveArch: s390 s390x -%if 0%{?suse_version} > 1300 +%if 0%{?suse_version} > 1500 BuildRequires: glibc-devel-static %else BuildRequires: glibc-devel @@ -109,8 +111,6 @@ MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=) %make_install V=1 make installdoc DESTDIR=%{buildroot} V=1 -rm %buildroot/%_libdir/*.a - %post -n libqc2 -p /sbin/ldconfig %postun -n libqc2 -p /sbin/ldconfig @@ -135,5 +135,6 @@ rm %buildroot/%_libdir/*.a %files devel-static %defattr(-,root,root) +%{_libdir}/libqc.a %changelog