Compare commits

...

3 Commits

Author SHA1 Message Date
Fabio Valentini 48d36ff952
Update to version 0.5.20+deprecated; Fixes RHBZ#2155059
2 years ago
Fabio Valentini e04391a23d
Merge branch 'rawhide' into epel9
2 years ago
Igor Raits 291a788ddb
Rebuild
3 years ago

1
.gitignore vendored

@ -11,3 +11,4 @@
/proc-macro-hack-0.5.16.crate /proc-macro-hack-0.5.16.crate
/proc-macro-hack-0.5.18.crate /proc-macro-hack-0.5.18.crate
/proc-macro-hack-0.5.19.crate /proc-macro-hack-0.5.19.crate
/proc-macro-hack-0.5.20+deprecated.crate

@ -0,0 +1,11 @@
--- proc-macro-hack-0.5.20+deprecated/Cargo.toml 1970-01-01T00:00:01+00:00
+++ proc-macro-hack-0.5.20+deprecated/Cargo.toml 2023-02-03T13:45:03.794589+00:00
@@ -13,7 +13,7 @@
edition = "2018"
rust-version = "1.31"
name = "proc-macro-hack"
-version = "0.5.20+deprecated"
+version = "0.5.20"
authors = ["David Tolnay <dtolnay@gmail.com>"]
description = "Procedural macros in expression position"
readme = "README.md"

@ -1,26 +1,24 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 23
# * demo-hack is not packaged # * demo-hack is not packaged
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate proc-macro-hack %global crate proc-macro-hack
%global upstream_version 0.5.20+deprecated
Name: rust-%{crate} Name: rust-proc-macro-hack
Version: 0.5.19 Version: 0.5.20
Release: %autorelease Release: %autorelease
Summary: Procedural macros in expression position Summary: Procedural macros in expression position
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/proc-macro-hack URL: https://crates.io/crates/proc-macro-hack
Source: %{crates_source} Source: %{crates_source %{crate} %{upstream_version}}
# Manually created patch for downstream crate metadata changes
# * remove "deprecated" specifier from version string
Patch: proc-macro-hack-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 in expression position.} Procedural macros in expression position.}
@ -30,16 +28,19 @@ Procedural macros in expression position.}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
# deprecated by upstream: not needed since Rust 1.45
Provides: deprecated()
%description devel %{_description} %description 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 "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,13 +49,13 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-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 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
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{upstream_version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (proc-macro-hack-0.5.19.crate) = 9e4cbec41056438287f5b23086264c86e2f0cdc193064006556736377b2954229de13a585149b9995002c9aee3334ee2a80ae4afdcc96cabe7ed2bf718476952 SHA512 (proc-macro-hack-0.5.20+deprecated.crate) = 278e786f8e0c93e346de900666b3d55d366324167a2e5e553565870c4444bfe661cf8c151a29cbd3176a4905ec49d69cffb81ae1e4a129f30404f930972c4b43

Loading…
Cancel
Save