explicitly install libcurl man pages
This commit is contained in:
parent
574639b8f6
commit
ffdd721180
16
curl.spec
16
curl.spec
@ -241,20 +241,24 @@ done
|
|||||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C build-minimal/src
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C build-minimal/src
|
||||||
mv -v ${RPM_BUILD_ROOT}%{_bindir}/curl{,.minimal}
|
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
|
# 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
|
# install zsh completion for curl
|
||||||
# (we have to override LD_LIBRARY_PATH because we eliminated rpath)
|
# (we have to override LD_LIBRARY_PATH because we eliminated rpath)
|
||||||
LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH" \
|
LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH" \
|
||||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" \
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -C scripts
|
||||||
install -C build-full/scripts
|
|
||||||
|
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
|
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
|
%post -n libcurl -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libcurl -p /sbin/ldconfig
|
%postun -n libcurl -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user