public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-rustyline-derive] epel9: Regenerate with rust2rpm v24 and add missing license file
Date: Thu, 24 Sep 2026 23:38:39 GMT	[thread overview]
Message-ID: <179029311969.1.7251686549598539551.rpms-rust-rustyline-derive-c92796bee1e0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-24 23:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179029311969.1.7251686549598539551.rpms-rust-rustyline-derive-c92796bee1e0@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox