Accepting request 1175819 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1175819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=197
This commit is contained in:
Ana Guerrero 2024-05-23 13:34:41 +00:00 committed by Git OBS Bridge
commit abbe027fda
2 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed May 22 11:04:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add split-provides for libcurl-devel -> libcurl-devel-doc.
-------------------------------------------------------------------
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,14 @@ 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
Provides: libcurl-devel:%{_mandir}/man1/curl-config.1%{?ext_man}
%description -n libcurl-devel-doc
Manual pages for the libcurl C API.
%prep
%autosetup -p1
@ -152,8 +160,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 +185,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