|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate lalrpop
|
|
|
|
%global crate lalrpop
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-lalrpop
|
|
|
|
Name: rust-lalrpop
|
|
|
|
Version: 0.19.12
|
|
|
|
Version: 0.20.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Convenient LR(1) parser generator
|
|
|
|
Summary: Convenient LR(1) parser generator
|
|
|
|
|
|
|
|
|
|
|
@ -16,11 +16,10 @@ Source0: %{crates_source}
|
|
|
|
Source1: https://github.com/lalrpop/lalrpop/raw/%{version}/LICENSE-APACHE
|
|
|
|
Source1: https://github.com/lalrpop/lalrpop/raw/%{version}/LICENSE-APACHE
|
|
|
|
Source2: https://github.com/lalrpop/lalrpop/raw/%{version}/LICENSE-MIT
|
|
|
|
Source2: https://github.com/lalrpop/lalrpop/raw/%{version}/LICENSE-MIT
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * add missing dependency on "regex/perf"
|
|
|
|
|
|
|
|
# * prevent unused lalrpop binary from being built and shipped
|
|
|
|
# * prevent unused lalrpop binary from being built and shipped
|
|
|
|
Patch: lalrpop-fix-metadata.diff
|
|
|
|
Patch: lalrpop-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Convenient LR(1) parser generator.}
|
|
|
|
Convenient LR(1) parser generator.}
|
|
|
@ -65,20 +64,20 @@ use the "lexer" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+lexer-devel
|
|
|
|
%files -n %{name}+lexer-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+test-devel
|
|
|
|
%package -n %{name}+unicode-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+test-devel %{_description}
|
|
|
|
%description -n %{name}+unicode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "test" feature of the "%{crate}" crate.
|
|
|
|
use the "unicode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+test-devel
|
|
|
|
%files -n %{name}+unicode-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
cp -pav %{SOURCE1} %{SOURCE2} .
|
|
|
|
cp -pav %{SOURCE1} %{SOURCE2} .
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|