commit 08c6da60fd80a0b5c89125260803f35203b6ee53
Author: Jakub Bogusz <[email protected]>
Date: Tue Nov 24 19:59:30 2020 +0100
- drop .la file, release 2
curl.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/curl.spec b/curl.spec
index 0b75406..d0151bb 100644
--- a/curl.spec
+++ b/curl.spec
@@ -24,7 +24,7 @@ Summary(ru.UTF-8): Утилита для получения файлов с се
Summary(uk.UTF-8): Утиліта для отримання файлів з серверів FTP, HTTP та
інших
Name: curl
Version: 7.73.0
-Release: 1
+Release: 2
License: MIT-like
Group: Applications/Networking
Source0: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
@@ -271,12 +271,16 @@ Dopełnianianie parametrów w ZSH dla polecenia curl.
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%{__make} -C scripts install \
DESTDIR=$RPM_BUILD_ROOT
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcurl.la
+
# no longer in upstream but a lot of apps tries to include it so we create
fake one
[ -e $RPM_BUILD_ROOT%{_includedir}/curl/types.h ] && exit 1
echo '#warning curl/types.h IS OBSOLETE FROM 2004. STOP USING IT' >
$RPM_BUILD_ROOT%{_includedir}/curl/types.h
@@ -303,7 +307,6 @@ rm -rf $RPM_BUILD_ROOT
%doc docs/{CONTRIBUTE.md,INTERNALS.md}
%attr(755,root,root) %{_bindir}/curl-config
%attr(755,root,root) %{_libdir}/libcurl.so
-%{_libdir}/libcurl.la
%{_includedir}/curl
%{_pkgconfigdir}/libcurl.pc
%{_aclocaldir}/libcurl.m4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/curl.git/commitdiff/08c6da60fd80a0b5c89125260803f35203b6ee53
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit