import rust-rustc-serialize-0.3.25-1.el9

i9ce changed/i9ce/rust-rustc-serialize-0.3.25-1.el9
MSVSphere Packaging Team 1 year ago
parent fbe823a027
commit 998fa09a78

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/rustc-serialize-0.3.25.crate

@ -0,0 +1 @@
18891dd8cd9110f407eb5b625ceb38daa649a4be SOURCES/rustc-serialize-0.3.25.crate

@ -0,0 +1,7 @@
[package]
summary = "Generic serialization/deserialization support"
[tests]
run = ["none"]
comments = ["tests no longer compile with recent versions of Rust"]

@ -1,11 +1,10 @@
--- rustc-serialize-0.3.24/Cargo.toml 2017-04-21T16:10:04+02:00
+++ rustc-serialize-0.3.24/Cargo.toml 2018-10-31T11:56:20.133187+01:00
@@ -13,6 +13,7 @@
`derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes
support for hex, base64, and json encoding and decoding.
"""
--- rustc-serialize-0.3.25/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rustc-serialize-0.3.25/Cargo.toml 2023-12-02T12:00:11.031078+00:00
@@ -25,6 +25,7 @@
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang/rustc-serialize"
+exclude = ["/.travis.yml", "/appveyor.yml"]
[dev-dependencies]
-rand = "0.3"
+rand = "0.4"
[dev-dependencies.rand]
version = "0.3"

@ -1,51 +1,58 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 25
# * tests no longer compile with recent versions of Rust
%bcond_with check
%global debug_package %{nil}
%global crate rustc-serialize
Name: rust-%{crate}
Version: 0.3.24
Release: 16%{?dist}
Name: rust-rustc-serialize
Version: 0.3.25
Release: %autorelease
Summary: Generic serialization/deserialization support
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/rustc-serialize
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump rand to 0.4
# * Exclude CI files
Patch0: rustc-serialize-fix-metadata.diff
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude CI configuration files
Patch: rustc-serialize-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust-packaging
%if %{with check}
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
%endif
%global _description \
Generic serialization/deserialization support corresponding to the\
`derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes\
support for hex, base64, and json encoding and decoding.
%global _description %{expand:
Generic serialization/deserialization support corresponding to the
`derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also
includes support for hex, base64, and json encoding and decoding. This
crate is deprecated in favor of serde.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
Provides: deprecated()
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -53,16 +60,19 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -75,9 +85,21 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.24-16
* Sat Dec 02 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.25-1
- Update to version 0.3.25; Fixes RHBZ#2252390
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.24-20
- Rebuilt for MSVSphere 9.2
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.24-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Mar 20 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.24-19
- Regenerate with rust2rpm v24
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.24-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.24-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
@ -138,3 +160,4 @@ which use "default" feature of "%{crate}" crate.
* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.22-1
- Initial package

Loading…
Cancel
Save