public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-obj] rawhide: Upgrade to 0.10.2 (fedora#2452764).
@ 2026-10-02 15:49 Jonathan Steffan
0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-10-02 15:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-obj
Branch : rawhide
Commit : 6fd3d551d7881712adb0674a10b329bfefd25d41
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date : 2026-10-02T09:48:25-06:00
Stats : +35/-36 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-obj/c/6fd3d551d7881712adb0674a10b329bfefd25d41?branch=rawhide
Log:
Upgrade to 0.10.2 (fedora#2452764).
---
diff --git a/rust-obj.spec b/rust-obj.spec
index e94d341..c80cb81 100644
--- a/rust-obj.spec
+++ b/rust-obj.spec
@@ -1,30 +1,22 @@
-# Generated by rust2rpm 17
-# Deactivate test because of missing files
-# https://github.com/kvark/obj/issues/30
-%bcond_with check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate obj
-Name: rust-%{crate}
+Name: rust-obj
Version: 0.10.2
Release: %autorelease
Summary: Package for loading Wavefront .obj files
-# Upstream license specification: Apache-2.0
-License: ASL 2.0
+License: Apache-2.0
URL: https://crates.io/crates/obj
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Package for loading Wavefront .obj files.}
+A package for loading Wavefront .obj files.}
%description %{_description}
@@ -34,13 +26,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -48,26 +40,14 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-
-%package -n %{name}+genmesh-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+genmesh-devel %{_description}
-
-This package contains library source intended for building other packages
-which use "genmesh" feature of "%{crate}" crate.
-
-%files -n %{name}+genmesh-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@@ -81,7 +61,11 @@ which use "genmesh" feature of "%{crate}" crate.
%if %{with check}
%check
-%cargo_test
+# * Some tests require files from the workspace not included in the crate
+%{cargo_test -- -- --exact %{shrink:
+ --skip round_trip_sponza_no_mtls
+ --skip round_trip_sponza_with_mtl
+}}
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..a88b4c4
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,15 @@
+[tests]
+comments = [
+ "Some tests require files from the workspace not included in the crate",
+]
+skip-exact = true
+skip = [
+ "round_trip_sponza_no_mtls",
+ "round_trip_sponza_with_mtl",
+]
+
+[features]
+hide = [
+ # The genmesh crate is not packaged and is apparently unmaintained
+ "genmesh",
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-02 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 15:49 [rpms/rust-obj] rawhide: Upgrade to 0.10.2 (fedora#2452764) Jonathan Steffan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox