Accepting request 966833 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/966833 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=22
This commit is contained in:
parent
c34b7faf21
commit
5eab08eec9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 4 11:37:33 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Implement shlib packaging policy
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 4 09:42:26 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
|
Fri Mar 4 09:42:26 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: abseil-cpp
|
Name: abseil-cpp
|
||||||
|
%define lname libabsl2111_0_0
|
||||||
Version: 20211102.0
|
Version: 20211102.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++11 libraries which augment the C++ stdlib
|
Summary: C++11 libraries which augment the C++ stdlib
|
||||||
@ -36,9 +37,19 @@ Abseil is a collection of C++11 libraries which augment the C++
|
|||||||
standard library. It also provides features incorporated into C++14
|
standard library. It also provides features incorporated into C++14
|
||||||
and C++17 standards.
|
and C++17 standards.
|
||||||
|
|
||||||
|
%package -n %{lname}
|
||||||
|
Summary: C++11 libraries which augment the C++ stdlib
|
||||||
|
Obsoletes: abseil-cpp < %version-%release
|
||||||
|
Provides: abseil-cpp = %version-%release
|
||||||
|
|
||||||
|
%description -n %{lname}
|
||||||
|
Abseil is a collection of C++11 libraries which augment the C++
|
||||||
|
standard library. It also provides features incorporated into C++14
|
||||||
|
and C++17 standards.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files for Abseil
|
Summary: Header files for Abseil
|
||||||
Requires: %{name} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Abseil is a collection of C++11 libraries which augment the C++
|
Abseil is a collection of C++11 libraries which augment the C++
|
||||||
@ -49,11 +60,6 @@ This package contains headers and build system files for it.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# let rpm/OBS have some versioning to work with when it comes to upgrades and rebuilds
|
|
||||||
cat >"%{_builddir}/abslx.sym" <<-EOF
|
|
||||||
ABSL_%{version} { global: *; };
|
|
||||||
EOF
|
|
||||||
%define build_ldflags -Wl,--version-script=%{_builddir}/abslx.sym
|
|
||||||
%if 0%{suse_version} < 1500
|
%if 0%{suse_version} < 1500
|
||||||
export CXX=g++-11
|
export CXX=g++-11
|
||||||
%endif
|
%endif
|
||||||
@ -64,10 +70,10 @@ export CXX=g++-11
|
|||||||
%cmake_install
|
%cmake_install
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -n %{lname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libabsl_*.so.*
|
%{_libdir}/libabsl_*.so.*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user