public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/librhsm] rawhide: 0.0.5 bump
Date: Fri, 19 Jun 2026 08:46:08 GMT	[thread overview]
Message-ID: <178185876805.1.10825133261498489502.rpms-librhsm-5dc859b2777c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/librhsm
Branch : rawhide
Commit : 5dc859b2777c56d71fe20ca07d4504f5aee7583a
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-06-19T10:44:54+02:00
Stats  : +11/-51 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/librhsm/c/5dc859b2777c56d71fe20ca07d4504f5aee7583a?branch=rawhide

Log:
0.0.5 bump

---
diff --git a/.gitignore b/.gitignore
index 7875e3b..f43e2ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
 /*.tar.gz
 /librhsm-*/
 /librhsm-0.0.4.tar.gz.asc
+/librhsm-0.0.5.tar.xz
+/librhsm-0.0.5.tar.xz.asc

diff --git a/0001-Use-OpenSSL-accessors-for-ASN1-structures.patch b/0001-Use-OpenSSL-accessors-for-ASN1-structures.patch
deleted file mode 100644
index 4cfe34e..0000000
--- a/0001-Use-OpenSSL-accessors-for-ASN1-structures.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From e8b6048a252f149778525ef87f9500b16cad194e Mon Sep 17 00:00:00 2001
-From: Simo Sorce <simo@redhat.com>
-Date: Mon, 27 Apr 2026 18:51:30 -0400
-Subject: [PATCH] Use OpenSSL accessors for ASN1 structures
-
-Replace direct field access of ASN1_OCTET_STRING with the
-ASN1_STRING_get0_data and ASN1_STRING_length accessor functions. The
-X509_EXTENSION pointer is also marked as const. This ensures compatibility
-with newer OpenSSL versions (4.0+) where these structures are opaque.
-
-Co-authored-by: Gemini <gemini@google.com>
-Signed-off-by: Simo Sorce <simo@redhat.com>
----
- rhsm/rhsm-product-certificate.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/rhsm/rhsm-product-certificate.c b/rhsm/rhsm-product-certificate.c
-index e24e2ab..06ac3c0 100644
---- a/rhsm/rhsm-product-certificate.c
-+++ b/rhsm/rhsm-product-certificate.c
-@@ -109,15 +109,15 @@ x509_get_ext_data_by_oid (X509         *cert,
-       return NULL;
-     }
- 
--  X509_EXTENSION *ext = X509_get_ext (cert, loc);
-+  const X509_EXTENSION *ext = X509_get_ext (cert, loc);
-   ASN1_OCTET_STRING *octet_str = X509_EXTENSION_get_data (ext);
-   if (octet_str == NULL)
-     return NULL;
- 
--  const unsigned char *data = octet_str->data;
-+  const unsigned char *data = ASN1_STRING_get0_data (octet_str);
-   long len;
-   int tag, xclass;
--  int ret = ASN1_get_object (&data, &len, &tag, &xclass, octet_str->length);
-+  int ret = ASN1_get_object (&data, &len, &tag, &xclass, ASN1_STRING_length (octet_str));
-   /* FIXME: is it proper way of handling error of ASN1_get_object() ? */
-   if (ret & 0x80)
-     {
--- 
-2.53.0
-

diff --git a/librhsm.spec b/librhsm.spec
index 9f63487..0dc73c8 100644
--- a/librhsm.spec
+++ b/librhsm.spec
@@ -1,17 +1,14 @@
 Name:           librhsm
-Version:        0.0.4
-Release:        4%{?dist}
+Version:        0.0.5
+Release:        1%{?dist}
 Summary:        Red Hat Subscription Manager library
 License:        LGPL-2.1-or-later
 URL:            https://github.com/rpm-software-management/librhsm
-Source0:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
-Source1:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
+Source0:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
+Source1:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
 # Key exported from Petr Pisar's keyring
 Source2:        gpgkey-E3F42FCE156830A80358E6E94FD1AEC3365AF7BF.gpg
 
-#OpenSSL 4.0 build fixes
-Patch1:         0001-Use-OpenSSL-accessors-for-ASN1-structures.patch
-
 BuildRequires:  gnupg2
 BuildRequires:  meson >= 0.37.0
 BuildRequires:  gcc
@@ -53,6 +50,9 @@ Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Fri Jun 19 2026 Petr Pisar <ppisar@redhat.com> - 0.0.5-1
+- 0.0.5 bump
+
 * Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.0.4-4
 - Rebuilt for openssl 4.0
 

diff --git a/sources b/sources
index 54bda36..bab62c8 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (librhsm-0.0.4.tar.gz) = 1930f6704c4e483c6014d005b7f3f5f3b1e33961a6cf004596c019536dfa506dc69d0d7377d63fb53c27da5f52c33060bf687791482394c2b5ab4e50f2b57b64
-SHA512 (librhsm-0.0.4.tar.gz.asc) = fb99db948df5c22abb69da5e8d88092418af753df0b5f1376d739b3144e9661eb9451c2225573070d6d28d74bda1a45b0a3e672a7bf18d0d7191077f9f0a5b49
+SHA512 (librhsm-0.0.5.tar.xz) = c420393a14816d3fb81cc5eb96332ff1df10866476b63fd7297c935eee7fda163dcbf351354b6fb1e644c9367d8e890ee754102a49806be575eca3ede9199162
+SHA512 (librhsm-0.0.5.tar.xz.asc) = 3be1e2c67ee02cc10daebc12be9dd49ac190d550fd108ddc886ac0cdc918ab68985d5d1b1378e774249889c8c8c10549195ee1295087f7407e29639a57a806ed

                 reply	other threads:[~2026-06-19  8:46 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=178185876805.1.10825133261498489502.rpms-librhsm-5dc859b2777c@fedoraproject.org \
    --to=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