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

- Spin documentation off to libcurl-devel-doc, this saves buildroots
  495 files and time (mandb is run in %posttrans).

OBS-URL: https://build.opensuse.org/request/show/1175379
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=361
This commit is contained in:
Pedro Monreal Gonzalez 2024-05-21 14:27:56 +00:00 committed by Git OBS Bridge
parent 73125545f4
commit 1baae7ac50
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 20 17:31:35 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Spin documentation off to libcurl-devel-doc, this saves buildroots
495 files and time (mandb is run in %posttrans).
-------------------------------------------------------------------
Wed Mar 27 09:38:34 UTC 2024 - Pedro Monreal <pmonreal@suse.com>

View File

@ -89,6 +89,13 @@ server using any of the supported protocols (HTTP, HTTPS, FTP, GOPHER,
DICT, TELNET, LDAP, or FILE). The command is designed to work without
user interaction or any kind of interactivity.
%package -n libcurl-devel-doc
Summary: Manual pages for libcurl
BuildArch: noarch
%description -n libcurl-devel-doc
Manual pages for the libcurl C API.
%prep
%autosetup -p1
@ -152,8 +159,7 @@ pushd scripts
%make_install
popd
%post -n libcurl4 -p /sbin/ldconfig
%postun -n libcurl4 -p /sbin/ldconfig
%ldconfig_scriptlets -n libcurl4
%files
%doc README RELEASE-NOTES CHANGES
@ -178,6 +184,8 @@ popd
%{_datadir}/aclocal/libcurl.m4
%{_libdir}/libcurl.so
%{_libdir}/pkgconfig/libcurl.pc
%files -n libcurl-devel-doc
%{_mandir}/man1/curl-config.1%{?ext_man}
%{_mandir}/man3/*
%doc docs/libcurl/symbols-in-versions