Accepting request 921181 from home:jengelh:branches:devel:libraries:c_c++

- Trim historic specfile constructs.

OBS-URL: https://build.opensuse.org/request/show/921181
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/influxdb-cxx?expand=0&rev=2
This commit is contained in:
2021-09-23 19:31:52 +00:00
committed by Git OBS Bridge
parent 0887fcb75e
commit e3a9a6c3e5
2 changed files with 9 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 23 15:57:18 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Trim historic specfile constructs.
-------------------------------------------------------------------
Thu Sep 9 20:04:34 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>

View File

@@ -36,33 +36,27 @@ BuildRequires: gcc-c++
BuildRequires: libboost_system-devel >= 1.57
BuildRequires: cmake(trompeloeil)
BuildRequires: pkgconfig(libcurl)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
InfluxDB C++ client library.
%package -n lib%{soname}%{sover}
Summary: InfluxDB C++ client library
Group: Development/Languages/C and C++
Group: System/Libraries
%description -n lib%{soname}%{sover}
InfluxDB C++ client library.
%package devel
Summary: InfluxDB C++ client library
Summary: Headers for the InfluxDB C++ client library
Group: Development/Languages/C and C++
Requires: lib%{soname}%{sover} = %{version}-%{release}
%description devel
InfluxDB C++ client library.
This package contains development files.
Headers for the InfluxDB C++ client library.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%autosetup -p1
%build
%cmake -DINFLUXCXX_SYSTEMTEST:BOOL=OFF
@@ -79,12 +73,10 @@ This package contains development files.
%postun -n lib%{soname}%{sover} -p /sbin/ldconfig
%files -n lib%{soname}%{sover}
%defattr(-,root,root)
%license LICENSE
%{_libdir}/lib%{soname}.so.%{sover}*
%files devel
%defattr(-,root,root)
%license LICENSE
%doc README.md CONTRIBUTING.md
%{_includedir}/InfluxDB.h