Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

1
.gitignore vendored

@ -3,4 +3,3 @@
/rustc_version-0.2.3.crate
/rustc_version-0.3.3.crate
/rustc_version-0.4.0.crate
/rustc_version-0.4.1.crate

@ -0,0 +1,3 @@
# rust-rustc_version
The rust-rustc_version package

@ -1,22 +1,28 @@
# Generated by rust2rpm 26
# Generated by rust2rpm 18
%bcond_without check
%global debug_package %{nil}
%global crate rustc_version
Name: rust-rustc_version
Version: 0.4.1
Name: rust-%{crate}
Version: 0.4.0
Release: %autorelease
Summary: Library for querying the version of a installed rustc compiler
License: MIT OR Apache-2.0
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/rustc_version
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
A library for querying the version of a installed rustc compiler.}
Library for querying the version of a installed rustc compiler.}
%description %{_description}
@ -26,14 +32,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -41,14 +46,14 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires

@ -1 +1 @@
SHA512 (rustc_version-0.4.1.crate) = 7aa8a487ca7411b6d23cae62f7568fa3474a7b1fd1589621071be3428a550ed3b7c4ad68277a8f86849e5900397d7d0e9d678f5d423742a045dc7c660fa6c598
SHA512 (rustc_version-0.4.0.crate) = f66da7c6efe431db06cd01180d84ba67fcd38f8cd6ef693762957c00ccc2211f23c08079d7f184776e08f28d2d6ca3bdb5f5016f7de245c6193d4722891ba1db

Loading…
Cancel
Save