public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: Don't need autotools for rpm build
@ 2026-11-02 14:27 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-11-02 14:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.21.0-9
Commit : 204dcb1cd04b755d456d368b6ceadb464f254760
Author : Paul Howarth <paul@city-fan.org>
Date : 2010-08-24T23:03:39+01:00
Stats : +20/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/204dcb1cd04b755d456d368b6ceadb464f254760?branch=curl-v8.21.0-9
Log:
Don't need autotools for rpm build
- Drop buildreq automake
- Drop dependency on automake for devel package from F-14, where
%{_datadir}/aclocal is included in the filesystem package
- Drop dependency on pkgconfig for devel package from F-11, where
pkgconfig dependencies are auto-generated
---
diff --git a/curl.spec b/curl.spec
index e415abe..76a5a12 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.21.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -41,7 +41,6 @@ Patch106: 0106-curl-7.21.0-libssh2-valgrind.patch
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: automake
BuildRequires: groff
BuildRequires: krb5-devel
BuildRequires: libidn-devel
@@ -84,9 +83,17 @@ resume, http proxy tunneling and more.
%package -n libcurl-devel
Summary: Files needed for building applications with libcurl
Group: Development/Libraries
-Requires: automake
Requires: libcurl = %{version}-%{release}
+
+# From Fedora 14, %%{_datadir}/aclocal is included in the filesystem package
+%if 0%{?fedora} < 14
+Requires: %{_datadir}/aclocal
+%endif
+
+# From Fedora 11, RHEL-6, pkgconfig dependency is auto-detected
+%if 0%{?fedora} < 11 && 0%{?rhel} < 6
Requires: pkgconfig
+%endif
Provides: curl-devel = %{version}-%{release}
Obsoletes: curl-devel < %{version}-%{release}
@@ -123,8 +130,6 @@ done
%patch105 -p1
rm -f tests/data/test1112
-autoreconf
-
# replace hard wired port numbers in the test suite
sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ tests/data/test*
@@ -184,8 +189,8 @@ make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install
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
+install -d $RPM_BUILD_ROOT%{_datadir}/aclocal
+install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal
# Make libcurl-devel multilib-ready (bug #488922)
%if 0%{?__isa_bits} == 64
@@ -231,6 +236,14 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Tue Aug 24 2010 Paul Howarth <paul@city-fan.org> 7.21.1-3
+- fix up patches so there's no need to run autotools in the rpm build
+- drop buildreq automake
+- drop dependency on automake for devel package from F-14, where
+ %%{_datadir}/aclocal is included in the filesystem package
+- drop dependency on pkgconfig for devel package from F-11, where
+ pkgconfig dependencies are auto-generated
+
* Mon Aug 23 2010 Kamil Dudka <kdudka@redhat.com> 7.21.1-2
- re-enable test575 on s390(x), already fixed (upstream commit d63bdba)
- modify system headers to work around gcc bug (#617757)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:27 [rpms/curl] curl-v8.21.0-9: Don't need autotools for rpm build Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox