public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rustyline-derive] epel9: Regenerate with rust2rpm v24 and add missing license file
@ 2026-09-24 23:38 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-24 23:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-rustyline-derive
Branch : epel9
Commit : c92796bee1e0395f77ff3f1f919c7d8ff8af00da
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-05-10T19:31:30+02:00
Stats : +35/-16 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rustyline-derive/c/c92796bee1e0395f77ff3f1f919c7d8ff8af00da?branch=epel9
Log:
Regenerate with rust2rpm v24 and add missing license file
---
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ddbad23
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Katsu Kawakami & Rustyline authors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
diff --git a/rust-rustyline-derive.spec b/rust-rustyline-derive.spec
index 73e15f7..48ab6c7 100644
--- a/rust-rustyline-derive.spec
+++ b/rust-rustyline-derive.spec
@@ -1,25 +1,20 @@
-# Generated by rust2rpm 13
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate rustyline-derive
-Name: rust-%{crate}
+Name: rust-rustyline-derive
Version: 0.4.0
Release: %autorelease
Summary: Rustyline derive macros (Completer, Helper, Hinter, Highlighter)
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/rustyline-derive
-Source: %{crates_source}
+Source0: %{crates_source}
+Source1: https://github.com/kkawakam/rustyline/raw/v8.2.0/LICENSE
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rustyline macros implementation of #[derive(Completer, Helper, Hinter,
@@ -33,11 +28,12 @@ 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
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -45,15 +41,16 @@ 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
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+cp -pav %{SOURCE1} .
%generate_buildrequires
%cargo_generate_buildrequires
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-24 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 23:38 [rpms/rust-rustyline-derive] epel9: Regenerate with rust2rpm v24 and add missing license file Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox