projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.7.7
[platform/upstream/libsolv.git]
/
package
/
libsolv.spec.in
diff --git
a/package/libsolv.spec.in
b/package/libsolv.spec.in
index
63d8f38
..
cd56c67
100644
(file)
--- a/
package/libsolv.spec.in
+++ b/
package/libsolv.spec.in
@@
-24,7
+24,7
@@
%bcond_with bz2
%bcond_with xz
%endif
%bcond_with bz2
%bcond_with xz
%endif
-%if 0%{?is_opensuse} && (
0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
)
+%if 0%{?is_opensuse} && (
0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
)
%bcond_without zstd
%else
%bcond_with zstd
%bcond_without zstd
%else
%bcond_with zstd
@@
-207,6
+207,7
@@
Perl bindings for libsolv.
%setup -q
%build
%setup -q
%build
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
@@
-221,7
+222,7
@@
CMAKE_FLAGS="-DMAGEIA=1"
CMAKE_FLAGS="-DSUSE=1"
%endif
CMAKE_FLAGS="-DSUSE=1"
%endif
-cmake $CMAKE_FLAGS \
+cmake
.
$CMAKE_FLAGS \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
@@
-257,10
+258,6
@@
ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh
%py3_compile %{buildroot}/%{python3_sitearch}
%endif
%endif
%py3_compile %{buildroot}/%{python3_sitearch}
%endif
%endif
-%if %{with static}
-# we want to leave the .a file untouched
-export NO_BRP_STRIP_DEBUG=true
-%endif
%check
make ARGS=--output-on-failure test
%check
make ARGS=--output-on-failure test