From 50a0c39dbf7d1f7370ceaa28ad8760df5dc0af81ff5bae42b97849ca916cbecf Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Sat, 16 Oct 2021 20:44:57 +0000 Subject: [PATCH] Accepting request 925696 from home:jengelh:branches:devel:libraries:c_c++ - Trim conjecture and redundant metadata from description. - Use cmake()/pkgconfig() as buildrequires. Update descriptions. - Replace %-bin subpackage by just %, and lib%-devel by %-devel. OBS-URL: https://build.opensuse.org/request/show/925696 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-http?expand=0&rev=2 --- aws-c-http.changes | 7 +++++++ aws-c-http.spec | 48 ++++++++++++++++++---------------------------- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/aws-c-http.changes b/aws-c-http.changes index 351e81d..edf7494 100644 --- a/aws-c-http.changes +++ b/aws-c-http.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 12 12:42:24 UTC 2021 - Jan Engelhardt + +- Trim conjecture and redundant metadata from description. +- Use cmake()/pkgconfig() as buildrequires. Update descriptions. +- Replace %-bin subpackage by just %, and lib%-devel by %-devel. + ------------------------------------------------------------------- Tue Oct 12 09:55:26 UTC 2021 - John Paul Adrian Glaubitz diff --git a/aws-c-http.spec b/aws-c-http.spec index 8d972cc..a3ff4eb 100644 --- a/aws-c-http.spec +++ b/aws-c-http.spec @@ -1,5 +1,5 @@ # -# spec file for package aws-c-cal +# spec file for package aws-c-http # # Copyright (c) 2021 SUSE LLC # @@ -17,7 +17,7 @@ %define library_version 1.0.0 -%define library_soversion 1 +%define library_soversion 1_0_0 Name: aws-c-http Version: 0.6.7 Release: 0 @@ -29,13 +29,13 @@ Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz Patch0: ach_fix-cmake-modules-path.patch BuildRequires: cmake BuildRequires: fdupes -BuildRequires: libaws-checksums-devel -BuildRequires: libaws-c-cal-devel -BuildRequires: libaws-c-common-devel -BuildRequires: libaws-c-compression-devel -BuildRequires: libaws-c-io-devel -BuildRequires: libopenssl-devel -BuildRequires: libs2n-devel +BuildRequires: cmake(aws-checksums) +BuildRequires: cmake(aws-c-cal) +BuildRequires: cmake(aws-c-common) +BuildRequires: cmake(aws-c-compression) +BuildRequires: cmake(aws-c-io) +BuildRequires: cmake(s2n) +BuildRequires: pkgconfig(libcrypto) BuildRequires: ninja BuildRequires: pkgconfig @@ -43,34 +43,24 @@ BuildRequires: pkgconfig C99 implementation of the HTTP/1.1 and HTTP/2 specifications. %package -n lib%{name}%{library_soversion} -Summary: Shared library files for aws-c-http library -Group: Development/Libraries/C and C++ +Summary: C99 implementation of the HTTP/1.1 and HTTP/2 specifications +Group: System/Libraries %description -n lib%{name}%{library_soversion} C99 implementation of the HTTP/1.1 and HTTP/2 specifications. This package contains the dynamically linked library. -%package -n lib%{name}-devel +%package devel Summary: Development files for aws-c-http library Group: Development/Libraries/C and C++ Requires: lib%{name}%{library_soversion} = %{version} -%description -n lib%{name}-devel +%description devel C99 implementation of the HTTP/1.1 and HTTP/2 specifications. This package contains the development files. -%package -n %{name}-bin -Summary: Command line utilities of aws-c-cal library -Group: Development/Libraries/C and C++ -Requires: lib%{name}%{library_soversion} = %{version} - -%description -n %{name}-bin -C99 implementation of the HTTP/1.1 and HTTP/2 specifications. - -This package contains the command line utilities. - %prep %setup -q %patch0 -p1 @@ -84,7 +74,7 @@ This package contains the command line utilities. # Testsuite currently fails #%%check -#%export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build +#export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build #%%ctest %install @@ -93,17 +83,17 @@ This package contains the command line utilities. %post -n lib%{name}%{library_soversion} -p /sbin/ldconfig %postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig +%files +%{_bindir}/* + %files -n lib%{name}%{library_soversion} %doc README.md %license LICENSE %{_libdir}/*.so.%{library_version} -%files -n lib%{name}-devel -%{_libdir}/cmake/%{name}/ +%files devel +%{_libdir}/cmake/ %{_libdir}/*.so %{_includedir}/* -%files -n %{name}-bin -%{_bindir}/* - %changelog