|
|
@ -1,10 +1,11 @@
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate lalrpop
|
|
|
|
%global crate lalrpop
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.19.7
|
|
|
|
Version: 0.19.8
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Convenient LR(1) parser generator
|
|
|
|
Summary: Convenient LR(1) parser generator
|
|
|
|
|
|
|
|
|
|
|
@ -13,31 +14,19 @@ Summary: Convenient LR(1) parser generator
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/lalrpop
|
|
|
|
URL: https://crates.io/crates/lalrpop
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * drop unused lalrpop binary
|
|
|
|
|
|
|
|
Patch0: lalrpop-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Convenient LR(1) parser generator.}
|
|
|
|
Convenient LR(1) parser generator.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
# ASL 2.0 or MIT
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
|
|
|
|
# CC0
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
|
|
|
|
# MIT or ASL 2.0
|
|
|
|
|
|
|
|
# Unlicense or MIT
|
|
|
|
|
|
|
|
License: MIT and BSD and CC0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
|
|
|
%{_bindir}/lalrpop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -48,7 +37,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -60,7 +49,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+lexer-devel
|
|
|
|
%package -n %{name}+lexer-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -72,7 +61,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "lexer" feature of the "%{crate}" crate.
|
|
|
|
use the "lexer" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+lexer-devel
|
|
|
|
%files -n %{name}+lexer-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pico-args-devel
|
|
|
|
%package -n %{name}+pico-args-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -84,7 +73,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "pico-args" feature of the "%{crate}" crate.
|
|
|
|
use the "pico-args" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pico-args-devel
|
|
|
|
%files -n %{name}+pico-args-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+test-devel
|
|
|
|
%package -n %{name}+test-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -96,7 +85,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "test" feature of the "%{crate}" crate.
|
|
|
|
use the "test" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+test-devel
|
|
|
|
%files -n %{name}+test-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|