public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libopenraw] rawhide: Update rust macros
Date: Mon, 02 Nov 2026 18:29:23 GMT	[thread overview]
Message-ID: <179364416356.1.4931965187278689214.rpms-libopenraw-6bf6fc3388a4@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libopenraw
            Branch : rawhide
            Commit : 6bf6fc3388a404bec6f97aaa82e5b65615596f42
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-27T00:49:30-04:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libopenraw/c/6bf6fc3388a404bec6f97aaa82e5b65615596f42?branch=rawhide

            Log:
            Update rust macros

rust-packaging has been renamed.  Add vendor manifest to generate bundled
crate provides.

---
diff --git a/libopenraw.spec b/libopenraw.spec
index f02e2b7..844c95e 100644
--- a/libopenraw.spec
+++ b/libopenraw.spec
@@ -20,7 +20,11 @@ BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.5.0
 BuildRequires:  rust >= 1.70
-BuildRequires:  rust-packaging
+%if 0%{?rhel} && ! 0%{?epel}
+BuildRequires:  rust-toolset
+%else
+BuildRequires:  cargo-rpm-macros
+%endif
 
 %description
 libopenraw is an ongoing project to provide a free software
@@ -77,6 +81,7 @@ sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
 pushd lib/mp4
 %cargo_license_summary
 %{cargo_license} > ../../LICENSE.dependencies
+%cargo_vendor_manifest
 popd
 
 %check
@@ -93,7 +98,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
 
 %files
 # COPYING only covers a file in test/ which isn’t shipped
-%license COPYING.LESSER MPL-2.0 LICENSE.dependencies
+%license COPYING.LESSER MPL-2.0 LICENSE.dependencies lib/mp4/cargo-vendor.txt
 %doc AUTHORS NEWS README TODO
 %{_libdir}/%{name}.so.*
 

                 reply	other threads:[~2026-11-02 18:29 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=179364416356.1.4931965187278689214.rpms-libopenraw-6bf6fc3388a4@fedoraproject.org \
    --to=yselkowi@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