public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libopenraw] rawhide: Update rust macros
@ 2026-11-02 18:29 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-02 18:29 UTC (permalink / raw)
  To: git-commits

            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.*
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 18:29 [rpms/libopenraw] rawhide: Update rust macros Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox