- Revert previous, incorrect change. gflags_shared is a CMake

target name, not a filename. Unfortunately no context was
  provided, making it impossible to know what was actually
  wanted.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gflags?expand=0&rev=15
This commit is contained in:
Dirk Mueller 2024-08-21 11:35:32 +00:00 committed by Git OBS Bridge
parent 4ce3a7617d
commit 2b3683c591
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Aug 17 17:23:59 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Revert previous, incorrect change. gflags_shared is a CMake
target name, not a filename. Unfortunately no context was
provided, making it impossible to know what was actually
wanted.
-------------------------------------------------------------------
Mon Jul 29 08:27:28 UTC 2024 - Christian Goll <cgoll@suse.com>

View File

@ -103,9 +103,6 @@ sed -i -e 's@libdir=.*@libdir=%{_libdir}@' cmake/package.pc.in
%if "%{flavor}" == "static"
rm %{buildroot}%{_bindir}/%{pname}_completions.sh
mv %{buildroot}%{_libdir}/pkgconfig/%{pname}{,_static}.pc
%else
ln -s %{_libdir}/libgflags.so %{buildroot}%{_libdir}/libgflags_shared.so
ln -s %{_libdir}/libgflags_nothreads.so %{buildroot}%{_libdir}/libgflags_nothreads_shared.so
%endif
# Installs a file on $HOME, remove it
@ -133,8 +130,6 @@ export LD_LIBRARY_PATH=`pwd`/%{__builddir}/lib
%{_includedir}/%{pname}/
%{_libdir}/libgflags.so
%{_libdir}/libgflags_nothreads.so
%{_libdir}/libgflags_shared.so
%{_libdir}/libgflags_nothreads_shared.so
%{_libdir}/cmake/%{pname}/
%{_libdir}/pkgconfig/%{pname}.pc
%endif