public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: explicitly install libcurl man pages
@ 2026-11-03 12:36 Kamil Dudka
0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : ffdd7211808c5d60aa3cf843d10bc09227025fdb
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2017-08-09T11:47:30+02:00
Stats : +10/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/ffdd7211808c5d60aa3cf843d10bc09227025fdb?branch=curl-v8.23.0-3
Log:
explicitly install libcurl man pages
---
diff --git a/curl.spec b/curl.spec
index eb4d09b..9425b99 100644
--- a/curl.spec
+++ b/curl.spec
@@ -241,20 +241,24 @@ done
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C build-minimal/src
mv -v ${RPM_BUILD_ROOT}%{_bindir}/curl{,.minimal}
+# install libcurl.m4
+install -d $RPM_BUILD_ROOT%{_datadir}/aclocal
+install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal
+
# install the executable and library that will be packaged as curl and libcurl
-make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C build-full
+cd build-full
+make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
+
+# install libcurl man pages, which will be included in libcurl-devel
+make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C docs/libcurl
# install zsh completion for curl
# (we have to override LD_LIBRARY_PATH because we eliminated rpath)
LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH" \
- make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" \
- install -C build-full/scripts
+ make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C scripts
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
-install -d $RPM_BUILD_ROOT%{_datadir}/aclocal
-install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal
-
%post -n libcurl -p /sbin/ldconfig
%postun -n libcurl -p /sbin/ldconfig
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:36 [rpms/curl] curl-v8.23.0-3: explicitly install libcurl man pages Kamil Dudka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox