public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-dtoa] epel10: Adapt to new packaging
@ 2026-06-15 14:12 Josh Stone
  0 siblings, 0 replies; only message in thread
From: Josh Stone @ 2026-06-15 14:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-dtoa
Branch : epel10
Commit : 15a477b4e8d874a0cf6e38d9454a438b2db0e07b
Author : Josh Stone <jistone@redhat.com>
Date   : 2018-11-08T17:26:58-08:00
Stats  : +28/-11 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-dtoa/c/15a477b4e8d874a0cf6e38d9454a438b2db0e07b?branch=epel10

Log:
Adapt to new packaging

---
diff --git a/rust-dtoa.spec b/rust-dtoa.spec
index 78f5919..da5b8bf 100644
--- a/rust-dtoa.spec
+++ b/rust-dtoa.spec
@@ -6,9 +6,10 @@
 
 Name:           rust-%{crate}
 Version:        0.4.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Fast functions for printing floating-point primitives to an io::Write
 
+# Upstream license specification: MIT/Apache-2.0
 License:        MIT or ASL 2.0
 URL:            https://crates.io/crates/dtoa
 Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
@@ -17,18 +18,36 @@ ExclusiveArch:  %{rust_arches}
 
 BuildRequires:  rust-packaging
 
-%description
-%{summary}.
+%global _description \
+Fast functions for printing floating-point primitives to an io::Write.
+
+%description %{_description}
 
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description    devel
-Fast functions for printing floating-point primitives to an io::Write.
+%description    devel %{_description}
 
 This package contains library source intended for building other packages
-which use %{crate} from crates.io.
+which use "%{crate}" crate.
+
+%files          devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+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.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
 %prep
 %autosetup -n %{crate}-%{version} -p1
@@ -45,12 +64,10 @@ which use %{crate} from crates.io.
 %cargo_test
 %endif
 
-%files          devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
 %changelog
+* Fri Nov 09 2018 Josh Stone <jistone@redhat.com> - 0.4.3-3
+- Adapt to new packaging
+
 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-06-15 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 14:12 [rpms/rust-dtoa] epel10: Adapt to new packaging Josh Stone

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