public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: exclude curlbuild.h content from spec (#504857)
Date: Mon, 02 Nov 2026 14:26:18 GMT	[thread overview]
Message-ID: <179362957852.1.6201854522238164818.rpms-curl-dbbc4693d463@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : dbbc4693d4632bfb17926be6c9f9d395fa22e6a3
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date   : 2009-06-24T13:40:32+00:00
Stats  : +16/-12 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/dbbc4693d4632bfb17926be6c9f9d395fa22e6a3?branch=curl-v8.21.0-9

Log:
exclude curlbuild.h content from spec (#504857)

---
diff --git a/curl.spec b/curl.spec
index fb6febb..a07a8e9 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,10 +1,11 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.19.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
+Source2: curlbuild.h
 Patch1: curl-7.15.3-multilib.patch
 Patch2: curl-7.16.0-privlibs.patch
 Patch3: curl-7.17.1-badsocket.patch
@@ -97,17 +98,8 @@ install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
 %endif
 mv $RPM_BUILD_ROOT%{_includedir}/curl/curlbuild.h \
    $RPM_BUILD_ROOT%{_includedir}/curl/%{_curlbuild_h}
-cat > $RPM_BUILD_ROOT%{_includedir}/curl/curlbuild.h << EOF
-#include <bits/wordsize.h>
-
-#if __WORDSIZE == 32
-#include "%{_curlbuild32_h}"
-#elif __WORDSIZE == 64
-#include "%{_curlbuild64_h}"
-#else
-#error "Unknown word size"
-#endif
-EOF
+
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/curl/curlbuild.h
 
 # don't need curl's copy of the certs; use openssl's
 find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
@@ -144,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Wed Jun 24 2009 Kamil Dudka <kdudka@redhat.com> 7.19.5-3
+- exclude curlbuild.h content from spec (#504857)
+
 * Wed Jun 10 2009 Kamil Dudka <kdudka@redhat.com> 7.19.5-2
 - avoid unguarded comparison in the spec file, thanks to R P Herrold (#504857)
 

diff --git a/curlbuild.h b/curlbuild.h
new file mode 100644
index 0000000..8e1bee2
--- /dev/null
+++ b/curlbuild.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "%{_curlbuild32_h}"
+#elif __WORDSIZE == 64
+#include "%{_curlbuild64_h}"
+#else
+#error "Unknown word size"
+#endif

                 reply	other threads:[~2026-11-02 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179362957852.1.6201854522238164818.rpms-curl-dbbc4693d463@fedoraproject.org \
    --to=kdudka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox