Link patch with upstream commit

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent d1ebdfd669
commit 26d1a7464c
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -13,9 +13,9 @@ Summary: Derive Serialize and Deserialize for C-like enums
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/serde_repr URL: https://crates.io/crates/serde_repr
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# rustversion in fedora is too new (1.0), but seems to be compatible # * Update rustversion to 1.0, https://github.com/dtolnay/serde-repr/commit/c0bdb4bc6290c678ae74125434af1b4deeb3871c
Patch0: 00-bump-rustversion-dep.patch Patch0: serde_repr-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
@ -77,4 +77,3 @@ which use "default" feature of "%{crate}" crate.
%changelog %changelog
* Mon Jan 27 2020 Fabio Valentini <decathorpe@gmail.com> - 0.1.5-1 * Mon Jan 27 2020 Fabio Valentini <decathorpe@gmail.com> - 0.1.5-1
- Initial package - Initial package

@ -1,8 +1,6 @@
diff --git a/Cargo.toml b/Cargo.toml --- serde_repr-0.1.5/Cargo.toml 1970-01-01T00:00:00+00:00
index cb4d121..6e96d91 100644 +++ serde_repr-0.1.5/Cargo.toml 2020-02-20T19:51:11.838292+00:00
--- a/Cargo.toml @@ -32,7 +32,7 @@
+++ b/Cargo.toml
@@ -32,7 +32,7 @@ version = "1.0"
[dependencies.syn] [dependencies.syn]
version = "1.0" version = "1.0"
[dev-dependencies.rustversion] [dev-dependencies.rustversion]
Loading…
Cancel
Save