Accepting request 846408 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/846408 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=15
This commit is contained in:
parent
0430c322fb
commit
10ab398085
@ -1,5 +0,0 @@
|
|||||||
# This is a source package and /usr/src, warnings below are not important in
|
|
||||||
# that case.
|
|
||||||
addFilter("abseil-cpp-source.* suse-filelist-forbidden-fhs23")
|
|
||||||
addFilter("abseil-cpp-source.* hidden-file-or-dir")
|
|
||||||
addFilter("abseil-cpp-source.* non-executable-script")
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 6 08:31:58 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Drop source package, was only used by grpc which was switched
|
||||||
|
over to use the shared library
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 27 09:16:46 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Tue Oct 27 09:16:46 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define src_install_dir %{_prefix}/src/%{name}
|
|
||||||
Name: abseil-cpp
|
Name: abseil-cpp
|
||||||
Version: 20200225.2
|
Version: 20200225.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,7 +23,6 @@ Summary: C++11 libraries which augment the C++ stdlib
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://abseil.io/
|
URL: https://abseil.io/
|
||||||
Source0: https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -43,41 +41,28 @@ Abseil is a collection of C++11 libraries which augment the C++
|
|||||||
standard library.
|
standard library.
|
||||||
This package contains headers and build system files for it.
|
This package contains headers and build system files for it.
|
||||||
|
|
||||||
%package source
|
|
||||||
Summary: Source code of Abseil
|
|
||||||
|
|
||||||
%description source
|
|
||||||
Source code of Abseil, a collection of C++11 libraries
|
|
||||||
which augment the C++ standard library. It also provides
|
|
||||||
features incorporated into C++14 and C++17 standards.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# let rpm/OBS have some versioning to work with when it comes to upgrades and rebuilds
|
# let rpm/OBS have some versioning to work with when it comes to upgrades and rebuilds
|
||||||
cat >"%_builddir/abslx.sym" <<-EOF
|
cat >"%{_builddir}/abslx.sym" <<-EOF
|
||||||
ABSL_%version { global: *; };
|
ABSL_%{version} { global: *; };
|
||||||
EOF
|
EOF
|
||||||
%define build_ldflags -Wl,--version-script=%_builddir/abslx.sym
|
%define build_ldflags -Wl,--version-script=%{_builddir}/abslx.sym
|
||||||
%cmake -DBUILD_SHARED_LIBS:BOOL=ON
|
%cmake -DBUILD_SHARED_LIBS:BOOL=ON
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
mkdir -p %{buildroot}%{src_install_dir}
|
|
||||||
cp -r * %{buildroot}%{src_install_dir}
|
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
%{_libdir}/libabsl_*.so
|
%{_libdir}/libabsl_*.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/absl/
|
%{_includedir}/absl/
|
||||||
%{_libdir}/cmake/
|
%{_libdir}/cmake/
|
||||||
|
|
||||||
%files source
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{src_install_dir}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user