https://bugzilla.redhat.com/show_bug.cgi?id=1965711

Robert-André Mauchin 🐧 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #2 from Robert-André Mauchin 🐧 <[email protected]> ---
 - DO not repeat the name in the Summary:

Summary:        JRPG-inspired terminal game

 - Try to respect the Rust packaging convention:

%bcond_without check

%global crate rpg-cli

Name:           rust-%{crate}
Version:        0.2.0
Release:        1%{?dist}
Summary:        JRPG-inspired terminal game

# Upstream license specification: MIT
License:        MIT
URL:            https://github.com/facundoolano/rpg-cli
Source:         %{url}/archive/refs/tags/%{version}.tar.gz

ExclusiveArch:  %{rust_arches}
%if %{__cargo_skip_build}
BuildArch:      noarch
%endif

BuildRequires:  rust-packaging

%global _description %{expand:
rpg-cli is a bare-bones JRPG-inspired terminal game written in Rust.}

%description %{_description}

%if ! %{__cargo_skip_build}
%package     -n %{crate}
Summary:        %{summary}

%description -n %{crate} %{_description}

%files       -n %{crate}
%doc README.md
%license LICENSE
%{_bindir}/rpg-cli
%endif

%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 May 28 15:50:45 EDT 2021 Rémi Lauzier <[email protected]> -
0.2.0-1
- Initial package


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to