Drop binary which is only useful for upstream development

epel9
Fabio Valentini 2 years ago
parent 1e45bb6775
commit d6a6649c74
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,14 @@
--- peg-macros-0.6.3/Cargo.toml 2020-07-22T03:04:04+00:00
+++ peg-macros-0.6.3/Cargo.toml 2023-02-05T13:40:13.088140+00:00
@@ -24,11 +24,6 @@
path = "lib.rs"
proc-macro = true
-[[bin]]
-name = "rust-peg"
-path = "bin.rs"
-test = false
-bench = false
[dependencies.peg-runtime]
version = "= 0.6.3"

@ -1,53 +1,40 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil}
%global crate peg-macros %global crate peg-macros
Name: rust-%{crate} Name: rust-peg-macros
Version: 0.6.3 Version: 0.6.3
Release: 6%{?dist} Release: 7%{?dist}
Summary: Procedural macros for rust-peg Summary: Procedural macros for rust-peg
# Upstream license specification: MIT
# https://github.com/kevinmehall/rust-peg/pull/241 # https://github.com/kevinmehall/rust-peg/pull/241
License: MIT License: MIT
URL: https://crates.io/crates/peg-macros URL: https://crates.io/crates/peg-macros
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop binary which is only useful for upstream development
Patch: peg-macros-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Procedural macros for rust-peg. To use rust-peg, see the `peg` crate.} Procedural macros for rust-peg. To use rust-peg, see the `peg` crate.}
%description %{_description} %description %{_description}
%if ! %{__cargo_skip_build}
# /usr/bin/rust-peg used to be shipped as "peg" with the "rust-peg" package
%package -n peg
Summary: %{summary}
%description -n peg %{_description}
%files -n peg
%{_bindir}/rust-peg
%endif
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{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}
@ -55,11 +42,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{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}+trace-devel %package -n %{name}+trace-devel
Summary: %{summary} Summary: %{summary}
@ -67,11 +54,11 @@ BuildArch: noarch
%description -n %{name}+trace-devel %{_description} %description -n %{name}+trace-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "trace" feature of "%{crate}" crate. use the "trace" feature of the "%{crate}" crate.
%files -n %{name}+trace-devel %files -n %{name}+trace-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
@ -92,6 +79,9 @@ which use "trace" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 0.6.3-7
- Drop binary which is only useful for upstream development.
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6 * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save