public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-smart-default] epel10: Initial import (#1806016).
@ 2026-09-28 13:56 Artem Polishchuk
0 siblings, 0 replies; only message in thread
From: Artem Polishchuk @ 2026-09-28 13:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-smart-default
Branch : epel10
Commit : 119d813fcc2ea6bbe8b41338845253d28f1f41d4
Author : Artem Polishchuk <ego.cordatus@gmail.com>
Date : 2020-02-21T23:15:27+02:00
Stats : +77/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-smart-default/c/119d813fcc2ea6bbe8b41338845253d28f1f41d4?branch=epel10
Log:
Initial import (#1806016).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..474554c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/smart-default-0.6.0.crate
diff --git a/rust-smart-default.spec b/rust-smart-default.spec
new file mode 100644
index 0000000..cdefe69
--- /dev/null
+++ b/rust-smart-default.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate smart-default
+
+Name: rust-%{crate}
+Version: 0.6.0
+Release: 1%{?dist}
+Summary: Rust custom-derive macro for Default with more control on the fields
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/smart-default
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Rust custom-derive macro for Default with more control on the fields.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Feb 21 22:02:59 EET 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..a30109c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (smart-default-0.6.0.crate) = 66ecfadb3c7a7a8c6ee48b62146a058595e87efc18f4962a7bcf04120067440a83fcb4489c7831986eba06450279546b019c111e2a2a01e7f2d52fb82e98914d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-28 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 13:56 [rpms/rust-smart-default] epel10: Initial import (#1806016) Artem Polishchuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox