The package rpms/rust-fallible_collections.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-fallible_collections.git/commit... https://src.fedoraproject.org/cgit/rpms/rust-fallible_collections.git/commit... https://src.fedoraproject.org/cgit/rpms/rust-fallible_collections.git/commit... https://src.fedoraproject.org/cgit/rpms/rust-fallible_collections.git/commit....
Change: -ExclusiveArch: %{rust_arches} +ExclusiveArch: %{rust_arches} -ExclusiveArch: %{rust_arches} +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 13a0d540ff11958018cc5c32c9cd1a01b4f5cdfc Author: blinxen h-k-81@hotmail.com Date: Mon Jan 30 19:09:45 2023 +0100
Update to version 0.4.6
diff --git a/.gitignore b/.gitignore index 449cce2..6a0126d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fallible_collections-0.4.2.crate /fallible_collections-0.4.3.crate /fallible_collections-0.4.4.crate +/fallible_collections-0.4.6.crate diff --git a/changelog b/changelog index df2c36b..8b26382 100644 --- a/changelog +++ b/changelog @@ -1,2 +1,5 @@ +* Mon Jan 30 2023 blinxen h-k-81@hotmail.com - 0.4.6-1 +- Initial package after unretirement + * Fri Jun 25 2021 Rémi Lauzier remilauzier@protonmail.com - 0.4.2-1 - Initial package diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec index 56767e9..98b7f67 100644 --- a/rust-fallible_collections.spec +++ b/rust-fallible_collections.spec @@ -1,25 +1,25 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil}
%global crate fallible_collections
Name: rust-%{crate} -Version: 0.4.4 +Version: 0.4.6 Release: %autorelease Summary: Crate which adds fallible allocation api to std collections
# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 -URL: https://crates.io/crates/fallible_collections +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/%%7Bcrate%7D Source: %{crates_source}
-ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: -Crate which adds fallible allocation api to std collections.} +Implement Fallible collections on allocation errors, quite as describe in RFC 2116. +This was used in the turbofish OS hobby project to mitigate +the lack of faillible allocation in rust.}
%description %{_description}
@@ -30,12 +30,13 @@ BuildArch: noarch %description devel %{_description}
This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate.
%files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/
%package -n %{name}+default-devel Summary: %{summary} @@ -44,10 +45,10 @@ 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. +use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rust_1_57-devel Summary: %{summary} @@ -59,7 +60,7 @@ This package contains library source intended for building other packages which use the "rust_1_57" feature of the "%{crate}" crate.
%files -n %{name}+rust_1_57-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel Summary: %{summary} @@ -71,7 +72,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std_io-devel Summary: %{summary} @@ -80,10 +81,10 @@ BuildArch: noarch %description -n %{name}+std_io-devel %{_description}
This package contains library source intended for building other packages which -use "std_io" feature of "%{crate}" crate. +use the "std_io" feature of the "%{crate}" crate.
%files -n %{name}+std_io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel Summary: %{summary} @@ -92,10 +93,10 @@ BuildArch: noarch %description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages which -use "unstable" feature of "%{crate}" crate. +use the "unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 4bff5e3..9bb71bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fallible_collections-0.4.4.crate) = 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424 +SHA512 (fallible_collections-0.4.6.crate) = 0878e2c9ca4d7407fb7a77f7554d1fdb1ba1a42eb64905d35bd8966dd8aac0937da84bd1b84f03a1ab8a237447b439148d03595f23961f5648acc328fb7adf5c
commit c34744aee9a781c03fa807af6d0b44aacf192bf7 Author: Tomas Hrcka thrcka@redhat.com Date: Mon Jan 30 09:15:13 2023 +0100
Unretirement request: https://pagure.io/releng/issue/11245
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..449cce2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/fallible_collections-0.4.2.crate +/fallible_collections-0.4.3.crate +/fallible_collections-0.4.4.crate diff --git a/README.md b/README.md new file mode 100644 index 0000000..1de3a10 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# rust-fallible_collections + +The rust-fallible_collections package diff --git a/changelog b/changelog new file mode 100644 index 0000000..df2c36b --- /dev/null +++ b/changelog @@ -0,0 +1,2 @@ +* Fri Jun 25 2021 Rémi Lauzier remilauzier@protonmail.com - 0.4.2-1 +- Initial package diff --git a/dead.package b/dead.package deleted file mode 100644 index c7912ba..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -no longer needed diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec new file mode 100644 index 0000000..56767e9 --- /dev/null +++ b/rust-fallible_collections.spec @@ -0,0 +1,119 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate fallible_collections + +Name: rust-%{crate} +Version: 0.4.4 +Release: %autorelease +Summary: Crate which adds fallible allocation api to std collections + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/fallible_collections +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Crate which adds fallible allocation api to std collections.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use "%{crate}" crate. + +%files devel +%license LICENSE-APACHE LICENSE-MIT +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+rust_1_57-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rust_1_57-devel %{_description} + +This package contains library source intended for building other packages which +use the "rust_1_57" feature of the "%{crate}" crate. + +%files -n %{name}+rust_1_57-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std_io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std_io-devel %{_description} + +This package contains library source intended for building other packages which +use "std_io" feature of "%{crate}" crate. + +%files -n %{name}+std_io-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use "unstable" feature of "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..4bff5e3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fallible_collections-0.4.4.crate) = 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424
commit 11cc56613239400e1df8cc2cb95f60b51c1e5748 Author: Fabio Valentini decathorpe@gmail.com Date: Mon Apr 25 12:48:26 2022 +0200
no longer needed
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 449cce2..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/fallible_collections-0.4.2.crate -/fallible_collections-0.4.3.crate -/fallible_collections-0.4.4.crate diff --git a/README.md b/README.md deleted file mode 100644 index 1de3a10..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-fallible_collections - -The rust-fallible_collections package diff --git a/changelog b/changelog deleted file mode 100644 index df2c36b..0000000 --- a/changelog +++ /dev/null @@ -1,2 +0,0 @@ -* Fri Jun 25 2021 Rémi Lauzier remilauzier@protonmail.com - 0.4.2-1 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..c7912ba --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +no longer needed diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec deleted file mode 100644 index 56767e9..0000000 --- a/rust-fallible_collections.spec +++ /dev/null @@ -1,119 +0,0 @@ -# Generated by rust2rpm 20 -%bcond_without check -%global debug_package %{nil} - -%global crate fallible_collections - -Name: rust-%{crate} -Version: 0.4.4 -Release: %autorelease -Summary: Crate which adds fallible allocation api to std collections - -# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 -URL: https://crates.io/crates/fallible_collections -Source: %{crates_source} - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging - -%global _description %{expand: -Crate which adds fallible allocation api to std collections.} - -%description %{_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel %{_description} - -This package contains library source intended for building other packages which -use "%{crate}" crate. - -%files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ - -%package -n %{name}+default-devel -Summary: %{summary} -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. - -%files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+rust_1_57-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rust_1_57-devel %{_description} - -This package contains library source intended for building other packages which -use the "rust_1_57" feature of the "%{crate}" crate. - -%files -n %{name}+rust_1_57-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+std-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+std-devel %{_description} - -This package contains library source intended for building other packages which -use the "std" feature of the "%{crate}" crate. - -%files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+std_io-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+std_io-devel %{_description} - -This package contains library source intended for building other packages which -use "std_io" feature of "%{crate}" crate. - -%files -n %{name}+std_io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+unstable-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+unstable-devel %{_description} - -This package contains library source intended for building other packages which -use "unstable" feature of "%{crate}" crate. - -%files -n %{name}+unstable-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -%cargo_prep - -%generate_buildrequires -%cargo_generate_buildrequires - -%build -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index 4bff5e3..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (fallible_collections-0.4.4.crate) = 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424
commit 98cbe8ff6b8b73b92e7da32070e96ca8d1bae446 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 21 20:51:55 2022 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit 9e58188f6aa6acf23a8bbf4cf2efea14006f2e53 Author: Rémi Lauzier remilauzier@protonmail.com Date: Fri Dec 17 14:51:29 2021 -0500
Update to version 0.4.4; Fixes RHBZ#2033710
diff --git a/.gitignore b/.gitignore index a81c03b..449cce2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /fallible_collections-0.4.2.crate /fallible_collections-0.4.3.crate +/fallible_collections-0.4.4.crate diff --git a/fallible_collections-fix-metadata.diff b/fallible_collections-fix-metadata.diff deleted file mode 100644 index 888a9b0..0000000 --- a/fallible_collections-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- fallible_collections-0.4.3/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ fallible_collections-0.4.3/Cargo.toml 2021-08-11T17:01:22.169479+00:00 -@@ -21,7 +21,7 @@ - license = "MIT/Apache-2.0" - repository = "https://github.com/vcombey/fallible_collections.git" - [dependencies.hashbrown] --version = "0.11.2" -+version = "0.9" - - [features] - std_io = [] diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec index 06131a5..56767e9 100644 --- a/rust-fallible_collections.spec +++ b/rust-fallible_collections.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil}
%global crate fallible_collections
Name: rust-%{crate} -Version: 0.4.3 +Version: 0.4.4 Release: %autorelease Summary: Crate which adds fallible allocation api to std collections
@@ -13,14 +13,8 @@ Summary: Crate which adds fallible allocation api to std collections License: MIT or ASL 2.0 URL: https://crates.io/crates/fallible_collections Source: %{crates_source} -# Initial patched metadata -# Downgrade hashbrown to 0.9 -Patch0: fallible_collections-fix-metadata.diff
ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif
BuildRequires: rust-packaging
@@ -35,11 +29,11 @@ BuildArch: noarch
%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 "%{crate}" crate.
%files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
@@ -49,20 +43,44 @@ 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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%package -n %{name}+rust_1_57-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rust_1_57-devel %{_description} + +This package contains library source intended for building other packages which +use the "rust_1_57" feature of the "%{crate}" crate. + +%files -n %{name}+rust_1_57-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+std_io-devel Summary: %{summary} BuildArch: noarch
%description -n %{name}+std_io-devel %{_description}
-This package contains library source intended for building other packages -which use "std_io" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use "std_io" feature of "%{crate}" crate.
%files -n %{name}+std_io-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -73,8 +91,8 @@ BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
-This package contains library source intended for building other packages -which use "unstable" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use "unstable" feature of "%{crate}" crate.
%files -n %{name}+unstable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 6a20911..4bff5e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fallible_collections-0.4.3.crate) = fa99a89131431a04676f72d44de16eaafa06f37f79ee5ce151ff4afeb4c1548550a68999f9f098b72fda4c39f1d711c605ab0d69b0e54c43086f8578cbd99730 +SHA512 (fallible_collections-0.4.4.crate) = 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424
commit 9c7bc01408f7006628ec802de877e0291b127675 Author: Rémi Lauzier remilauzier@protonmail.com Date: Wed Aug 11 13:23:20 2021 -0400
Add the patch
diff --git a/fallible_collections-fix-metadata.diff b/fallible_collections-fix-metadata.diff new file mode 100644 index 0000000..888a9b0 --- /dev/null +++ b/fallible_collections-fix-metadata.diff @@ -0,0 +1,11 @@ +--- fallible_collections-0.4.3/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ fallible_collections-0.4.3/Cargo.toml 2021-08-11T17:01:22.169479+00:00 +@@ -21,7 +21,7 @@ + license = "MIT/Apache-2.0" + repository = "https://github.com/vcombey/fallible_collections.git" + [dependencies.hashbrown] +-version = "0.11.2" ++version = "0.9" + + [features] + std_io = []
commit edfbf9fb34a58e5e051f0ee51891e72ef525cf8a Author: Rémi Lauzier remilauzier@protonmail.com Date: Wed Aug 11 13:20:27 2021 -0400
Downgrade hashbrown to 0.9
diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec index 633f6e6..06131a5 100644 --- a/rust-fallible_collections.spec +++ b/rust-fallible_collections.spec @@ -13,6 +13,9 @@ Summary: Crate which adds fallible allocation api to std collections License: MIT or ASL 2.0 URL: https://crates.io/crates/fallible_collections Source: %{crates_source} +# Initial patched metadata +# Downgrade hashbrown to 0.9 +Patch0: fallible_collections-fix-metadata.diff
ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build}
commit 90cbc327fa5abc5e2a74ae946d9823a80a57b1c9 Author: Rémi Lauzier remilauzier@protonmail.com Date: Wed Aug 11 12:45:00 2021 -0400
Update to version 0.4.3; Fixes RHBZ#1992295
diff --git a/.gitignore b/.gitignore index 2439ff8..a81c03b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fallible_collections-0.4.2.crate +/fallible_collections-0.4.3.crate diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec index d3ae456..633f6e6 100644 --- a/rust-fallible_collections.spec +++ b/rust-fallible_collections.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil}
%global crate fallible_collections
Name: rust-%{crate} -Version: 0.4.2 +Version: 0.4.3 Release: %autorelease Summary: Crate which adds fallible allocation api to std collections
@@ -36,7 +36,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate.
%files devel -%license LICENSE-APACHE LICENSE-MIT +%license LICENSE-MIT LICENSE-APACHE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
diff --git a/sources b/sources index 6ee061b..6a20911 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fallible_collections-0.4.2.crate) = 6cde9b3b78dd7a816d70295bfb33a8a76786771acfef0804f2c0c302c826121532e0a3dd3abbd3c41f81e89950a924fe8d78c29618c29f1427d90645863da4f3 +SHA512 (fallible_collections-0.4.3.crate) = fa99a89131431a04676f72d44de16eaafa06f37f79ee5ce151ff4afeb4c1548550a68999f9f098b72fda4c39f1d711c605ab0d69b0e54c43086f8578cbd99730
commit f6195f8824f1cffb69293d3dd135b901bd5db30f Author: Rémi Lauzier remilauzier@protonmail.com Date: Fri Jul 9 18:18:17 2021 -0400
Convert to rpmautospec
diff --git a/changelog b/changelog new file mode 100644 index 0000000..df2c36b --- /dev/null +++ b/changelog @@ -0,0 +1,2 @@ +* Fri Jun 25 2021 Rémi Lauzier remilauzier@protonmail.com - 0.4.2-1 +- Initial package diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec index e386f84..d3ae456 100644 --- a/rust-fallible_collections.spec +++ b/rust-fallible_collections.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 0.4.2 -Release: 1%{?dist} +Release: %autorelease Summary: Crate which adds fallible allocation api to std collections
# Upstream license specification: MIT/Apache-2.0 @@ -95,5 +95,4 @@ which use "unstable" feature of "%{crate}" crate. %endif
%changelog -* Fri Jun 25 01:13:51 EDT 2021 Rémi Lauzier remilauzier@protonmail.com - 0.4.2-1 -- Initial package +%autochangelog
commit 6012190f941e328ac3f285053d743e5ce622c86e Author: Rémi Lauzier remilauzier@protonmail.com Date: Wed Jul 7 16:12:15 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2439ff8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fallible_collections-0.4.2.crate diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec new file mode 100644 index 0000000..e386f84 --- /dev/null +++ b/rust-fallible_collections.spec @@ -0,0 +1,99 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate fallible_collections + +Name: rust-%{crate} +Version: 0.4.2 +Release: 1%{?dist} +Summary: Crate which adds fallible allocation api to std collections + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/fallible_collections +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Crate which adds fallible allocation api to std collections.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-APACHE LICENSE-MIT +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std_io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std_io-devel %{_description} + +This package contains library source intended for building other packages +which use "std_io" feature of "%{crate}" crate. + +%files -n %{name}+std_io-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages +which use "unstable" feature of "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Jun 25 01:13:51 EDT 2021 Rémi Lauzier remilauzier@protonmail.com - 0.4.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..6ee061b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fallible_collections-0.4.2.crate) = 6cde9b3b78dd7a816d70295bfb33a8a76786771acfef0804f2c0c302c826121532e0a3dd3abbd3c41f81e89950a924fe8d78c29618c29f1427d90645863da4f3
arch-excludes@lists.fedoraproject.org