public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Rebase to rpm 4.14.0-rc2
Date: Mon, 23 Nov 2026 09:31:34 GMT	[thread overview]
Message-ID: <179542629471.1.17094281851477733955.rpms-rpm-4e78f8672ea3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 4e78f8672ea3bf2da017f898b96ed8c097331091
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2017-09-28T17:16:34+03:00
Stats  : +7/-57 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/4e78f8672ea3bf2da017f898b96ed8c097331091?branch=pmatilai-v6

Log:
Rebase to rpm 4.14.0-rc2

---
diff --git a/.gitignore b/.gitignore
index cc38076..78614f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@
 /rpm-4.13.0.1.tar.bz2
 /rpm-4.13.90-git14002.tar.bz2
 /rpm-4.14.0-rc1.tar.bz2
+/rpm-4.14.0-rc2.tar.bz2

diff --git a/0001-Fix-Ftell-past-2GB-on-32bit-architectures-RhBug-1492.patch b/0001-Fix-Ftell-past-2GB-on-32bit-architectures-RhBug-1492.patch
deleted file mode 100644
index 7124aa2..0000000
--- a/0001-Fix-Ftell-past-2GB-on-32bit-architectures-RhBug-1492.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 90802a894ad75df3a94edbe66a901fca006e65ee Mon Sep 17 00:00:00 2001
-Message-Id: <90802a894ad75df3a94edbe66a901fca006e65ee.1505741312.git.pmatilai@redhat.com>
-From: Panu Matilainen <pmatilai@redhat.com>
-Date: Mon, 18 Sep 2017 16:10:03 +0300
-Subject: [PATCH] Fix Ftell() past 2GB on 32bit architectures (RhBug:1492587)
-
-Back in 2011 "somebody" forgot to apply brain when copying the return
-type of "long" from ftell() to the Ftell() implementations within rpmio
-(commit 61f5838aa849b8a75f7f08a33c868b518e1ccd44).
-
-Fast-forward six years and suddenly TexLive in Fedora no longer builds
-on 32bit architectures due to that thinko, appearing to be a regression
-in commit 7d1a303c456ce459cf550e8154fa4b6f29012b05. However that only
-exposes the inner flaw of Ftell() as the code now relies on values
-past the initial header range, for which the 2G of "long" has been more
-than enough on 32bit architectures too.
-
-Doh, dude...
-
-diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
-index 57e610185..d8b884085 100644
---- a/rpmio/rpmio.c
-+++ b/rpmio/rpmio.c
-@@ -124,7 +124,7 @@ typedef int (*fdio_close_function_t) (FDSTACK_t fps);
- typedef FD_t (*fdio_open_function_t) (const char * path, int flags, mode_t mode);
- typedef FD_t (*fdio_fdopen_function_t) (FD_t fd, int fdno, const char * fmode);
- typedef int (*fdio_fflush_function_t) (FDSTACK_t fps);
--typedef long (*fdio_ftell_function_t) (FDSTACK_t fps);
-+typedef off_t (*fdio_ftell_function_t) (FDSTACK_t fps);
- typedef int (*fdio_ferror_function_t) (FDSTACK_t fps);
- typedef const char * (*fdio_fstrerr_function_t)(FDSTACK_t fps);
- 
-@@ -410,7 +410,7 @@ static FD_t fdOpen(const char *path, int flags, mode_t mode)
-     return fd;
- }
- 
--static long fdTell(FDSTACK_t fps)
-+static off_t fdTell(FDSTACK_t fps)
- {
-     return lseek(fps->fdno, 0, SEEK_CUR);
- }
-@@ -619,7 +619,7 @@ static int gzdClose(FDSTACK_t fps)
-     return (rc != 0) ? -1 : 0;
- }
- 
--static long gzdTell(FDSTACK_t fps)
-+static off_t gzdTell(FDSTACK_t fps)
- {
-     off_t pos = -1;
-     gzFile gzfile = fps->fp;
--- 
-2.13.5
-

diff --git a/rpm.spec b/rpm.spec
index 2facb8e..9f2fd62 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,7 +26,7 @@
 %define rpmhome /usr/lib/rpm
 
 %global rpmver 4.14.0
-%global snapver rc1
+%global snapver rc2
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
 
@@ -37,7 +37,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}3%{?dist}
+Release: %{?snapver:0.%{snapver}.}1%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
@@ -60,7 +60,6 @@ Patch4: rpm-4.8.1-use-gpg2.patch
 Patch5: rpm-4.12.0-rpm2cpio-hack.patch
 
 # Patches already upstream:
-Patch100: 0001-Fix-Ftell-past-2GB-on-32bit-architectures-RhBug-1492.patch
 
 # These are not yet upstream
 Patch906: rpm-4.7.1-geode-i686.patch
@@ -628,6 +627,9 @@ make check
 %doc doc/librpm/html/*
 
 %changelog
+* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
+- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
+
 * Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
 - Fix Ftell() past 2GB on 32bit architectures (#1492587)
 

diff --git a/sources b/sources
index e954f25..a698e59 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rpm-4.14.0-rc1.tar.bz2) = f08c948c566e695083daeca2b9bac0e542821e12503c0d6fca4b1fd0584f74505ed24b48544147ec98290c65ee50807d9c2a9e7e35ef30ee77122bd1037a8375
+SHA512 (rpm-4.14.0-rc2.tar.bz2) = b244eda033de8f4e04ffafbcb6279f35eb832a883f00b115afc77ac4684c54937f7c071689a33bb94cc343336894c6b5dec772dc34ad38d57f2d702d0bb9ff0d

                 reply	other threads:[~2026-11-23  9:31 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=179542629471.1.17094281851477733955.rpms-rpm-4e78f8672ea3@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --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