Sign In
Sign Up
Search is temporarily disabled. See
ticket
for more info.
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
Arch-excludes
October 2023
----- 2024 -----
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
arch-excludes@lists.fedoraproject.org
2 participants
248 discussions
Start a n
N
ew thread
Architecture specific change in rpms/rust-ring.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ring.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-ring.git/commit/?id=2bebab6bd0…
. Change: -%ifarch %{supported_arches} Thanks. Full change: ============ commit 2bebab6bd08c9b2f2bb231edf9e3c9fc8f30122f Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed Oct 25 15:26:24 2023 +0200 Update to version 0.17.5; Fixes RHBZ#2241702 diff --git a/ring-fix-metadata-auto.diff b/ring-fix-metadata-auto.diff index 797c2b0..ee70300 100644 --- a/ring-fix-metadata-auto.diff +++ b/ring-fix-metadata-auto.diff @@ -1,31 +1,25 @@ ---- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 -+++ ring-0.16.20/Cargo.toml 2023-04-01T14:08:54.743609+00:00 -@@ -60,10 +60,6 @@ - std = ["alloc"] - test_logging = [] - wasm32_c = [] --[target."cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))".dependencies.web-sys] +--- ring-0.17.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ring-0.17.5/Cargo.toml 2023-10-25T13:04:09.102675+00:00 +@@ -214,17 +214,6 @@ + unstable-testing-arm-no-neon = [] + wasm32_unknown_unknown_js = ["getrandom/js"] + +-[target."cfg(all(target_arch = \"aarch64\", target_os = \"windows\"))".dependencies.windows-sys] +-version = "0.48" +-features = [ +- "Win32_Foundation", +- "Win32_System_Threading", +-] +- +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] -version = "0.3.37" --features = ["Crypto", "Window"] -default-features = false - [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin] - version = "0.5.2" +- + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"windows\"))))".dependencies.spin] + version = "0.9.8" + features = ["once"] +@@ -237,3 +226,4 @@ + [target."cfg(any(unix, windows, target_os = \"wasi\"))".dev-dependencies.libc] + version = "0.2.148" default-features = false -@@ -76,17 +72,6 @@ - features = ["std"] - optional = true - default-features = false --[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))".dependencies.once_cell] --version = "1.5.2" --features = ["std"] --default-features = false - [target."cfg(any(unix, windows))".dev-dependencies.libc] - version = "0.2.80" - default-features = false --[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] --version = "0.3.18" --default-features = false --[target."cfg(target_os = \"windows\")".dependencies.winapi] --version = "0.3.8" --features = ["ntsecapi", "wtypesbase"] --default-features = false ++ diff --git a/ring-fix-metadata.diff b/ring-fix-metadata.diff index 8b66123..a64a912 100644 --- a/ring-fix-metadata.diff +++ b/ring-fix-metadata.diff @@ -1,29 +1,21 @@ ---- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 -+++ ring-0.16.20/Cargo.toml 2023-04-01T14:09:25.801749+00:00 -@@ -23,25 +23,10 @@ - readme = "doc/link-to-readme.md" - keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"] - categories = ["cryptography", "no-std"] +--- ring-0.17.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ring-0.17.5/Cargo.toml 2023-10-25T13:04:28.092749+00:00 +@@ -165,7 +165,7 @@ + "cryptography", + "no-std", + ] -license-file = "LICENSE" -+license = "ISC AND OpenSSL AND MIT" ++license = "ISC AND MIT AND OpenSSL" repository = "
https://github.com/briansmith/ring
" + [package.metadata.docs.rs] - all-features = true --[profile.bench] --opt-level = 3 --lto = true --codegen-units = 1 --debug = false --debug-assertions = false --rpath = false -- --[profile.release] --opt-level = 3 --lto = true --codegen-units = 1 --debug = false --debug-assertions = false --rpath = false +@@ -210,9 +210,6 @@ + slow_tests = [] + std = ["alloc"] + test_logging = [] +-unstable-testing-arm-no-hw = [] +-unstable-testing-arm-no-neon = [] +-wasm32_unknown_unknown_js = ["getrandom/js"] - [lib] - name = "ring" + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"windows\"))))".dependencies.spin] + version = "0.9.8" diff --git a/rust-ring.spec b/rust-ring.spec index 381a57a..e7a584a 100644 --- a/rust-ring.spec +++ b/rust-ring.spec @@ -1,30 +1,26 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 25 +# * test fixtures are not included in published crates +%bcond_with check %global debug_package %{nil} %global crate ring -# compile and run tests only on supported architectures -#
https://bugzilla.redhat.com/show_bug.cgi?id=1869980
-%global supported_arches x86_64 %{ix86} aarch64 %{arm} - Name: rust-ring -Version: 0.16.20 +Version: 0.17.5 Release: %autorelease Summary: Safe, fast, small crypto using Rust -#
https://github.com/briansmith/ring/issues/902
-License: ISC AND OpenSSL AND MIT +License: ISC AND MIT AND OpenSSL URL:
https://crates.io/crates/ring
Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: ring-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * drop profiles that set compiler flags that are incompatible with packaging # * set package.license in metadata to match package license +# * drop unstable / WASM-only features Patch: ring-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Safe, fast, small crypto using Rust.} @@ -43,6 +39,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %license %{crate_instdir}/third_party/fiat/LICENSE +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -81,30 +78,6 @@ use the "dev_urandom_fallback" feature of the "%{crate}" crate. %files -n %{name}+dev_urandom_fallback-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+internal_benches-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+internal_benches-devel %{_description} - -This package contains library source intended for building other packages which -use the "internal_benches" feature of the "%{crate}" crate. - -%files -n %{name}+internal_benches-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+once_cell-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+once_cell-devel %{_description} - -This package contains library source intended for building other packages which -use the "once_cell" feature of the "%{crate}" crate. - -%files -n %{name}+once_cell-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+slow_tests-devel Summary: %{summary} BuildArch: noarch @@ -141,40 +114,22 @@ use the "test_logging" feature of the "%{crate}" crate. %files -n %{name}+test_logging-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+wasm32_c-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+wasm32_c-devel %{_description} - -This package contains library source intended for building other packages which -use the "wasm32_c" feature of the "%{crate}" crate. - -%files -n %{name}+wasm32_c-devel -%ghost %{crate_instdir}/Cargo.toml - %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build -%ifarch %{supported_arches} %cargo_build -%endif %install %cargo_install %if %{with check} -%ifarch %{supported_arches} %check -# * files needed for integration tests are not included in published crates -%cargo_test -- --lib -%cargo_test -- --doc -%endif +%cargo_test %endif %changelog diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 53a9929..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -supported-arches = - x86_64 - %{ix86} - aarch64 - %{arm} diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..7fa10fa --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["test fixtures are not included in published crates"] + diff --git a/sources b/sources index 66ceb6d..f6c4c2b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ring-0.16.20.crate) = d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191 +SHA512 (ring-0.17.5.crate) = d4fe515031ee3545d257651d07fd23c670b313c64a26af33fe93bbdd006219908c1d2ff1b382ebfe3a85e8aae1a69f0693ccb640edc0a1f51a3af783c20b6df2 commit e73111c1fd4c399d2a44a78495c8468df294d050 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jul 21 23:08:29 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-ring0.16.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ring0.16.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-ring0.16.git/commit/?id=845d3a…
. Change: +%ifarch %{supported_arches} Thanks. Full change: ============ commit 845d3a2fbbd08bff8bfdaed82b92ed02516466a9 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Oct 27 15:38:36 2023 +0200 Initial import (ring 0.16 compat package) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5720d7c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ring-0.16.20.crate diff --git a/README.md b/README.md deleted file mode 100644 index 1e7616c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ring0.16 - -The rust-ring0.16 package diff --git a/ring-fix-metadata-auto.diff b/ring-fix-metadata-auto.diff new file mode 100644 index 0000000..c167a9d --- /dev/null +++ b/ring-fix-metadata-auto.diff @@ -0,0 +1,32 @@ +--- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 ++++ ring-0.16.20/Cargo.toml 2023-10-25T13:14:45.165319+00:00 +@@ -60,10 +60,6 @@ + std = ["alloc"] + test_logging = [] + wasm32_c = [] +-[target."cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))".dependencies.web-sys] +-version = "0.3.37" +-features = ["Crypto", "Window"] +-default-features = false + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin] + version = "0.5.2" + default-features = false +@@ -76,17 +72,7 @@ + features = ["std"] + optional = true + default-features = false +-[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))".dependencies.once_cell] +-version = "1.5.2" +-features = ["std"] +-default-features = false + [target."cfg(any(unix, windows))".dev-dependencies.libc] + version = "0.2.80" + default-features = false +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] +-version = "0.3.18" +-default-features = false +-[target."cfg(target_os = \"windows\")".dependencies.winapi] +-version = "0.3.8" +-features = ["ntsecapi", "wtypesbase"] +-default-features = false ++ diff --git a/ring-fix-metadata.diff b/ring-fix-metadata.diff new file mode 100644 index 0000000..7e67e75 --- /dev/null +++ b/ring-fix-metadata.diff @@ -0,0 +1,11 @@ +--- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 ++++ ring-0.16.20/Cargo.toml 2023-10-25T13:14:55.242361+00:00 +@@ -23,7 +23,7 @@ + readme = "doc/link-to-readme.md" + keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"] + categories = ["cryptography", "no-std"] +-license-file = "LICENSE" ++license = "ISC AND MIT AND OpenSSL" + repository = "
https://github.com/briansmith/ring
" + [package.metadata.docs.rs] + all-features = true diff --git a/rust-ring0.16.spec b/rust-ring0.16.spec new file mode 100644 index 0000000..8a45f42 --- /dev/null +++ b/rust-ring0.16.spec @@ -0,0 +1,180 @@ +# Generated by rust2rpm 25 +%bcond_without check +%global debug_package %{nil} + +%global crate ring + +# compile and run tests only on supported architectures +#
https://bugzilla.redhat.com/show_bug.cgi?id=1869980
+%global supported_arches x86_64 %{ix86} aarch64 %{arm} + +Name: rust-ring0.16 +Version: 0.16.20 +Release: %autorelease +Summary: Safe, fast, small crypto using Rust + +License: ISC AND MIT AND OpenSSL +URL:
https://crates.io/crates/ring
+Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: ring-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * drop profiles that set compiler flags that are incompatible with packaging +# * set package.license in metadata to match package license +Patch: ring-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Safe, fast, small crypto using Rust.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/third_party/fiat/LICENSE +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dev_urandom_fallback-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dev_urandom_fallback-devel %{_description} + +This package contains library source intended for building other packages which +use the "dev_urandom_fallback" feature of the "%{crate}" crate. + +%files -n %{name}+dev_urandom_fallback-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+internal_benches-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+internal_benches-devel %{_description} + +This package contains library source intended for building other packages which +use the "internal_benches" feature of the "%{crate}" crate. + +%files -n %{name}+internal_benches-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+once_cell-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once_cell-devel %{_description} + +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. + +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+slow_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+slow_tests-devel %{_description} + +This package contains library source intended for building other packages which +use the "slow_tests" feature of the "%{crate}" crate. + +%files -n %{name}+slow_tests-devel +%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+test_logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+test_logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "test_logging" feature of the "%{crate}" crate. + +%files -n %{name}+test_logging-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+wasm32_c-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm32_c-devel %{_description} + +This package contains library source intended for building other packages which +use the "wasm32_c" feature of the "%{crate}" crate. + +%files -n %{name}+wasm32_c-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%ifarch %{supported_arches} +%cargo_build +%endif + +%install +%cargo_install + +%if %{with check} +%ifarch %{supported_arches} +%check +# * files needed for integration tests are not included in published crates +%cargo_test -- --lib +%cargo_test -- --doc +%endif +%endif + +%changelog +%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2b82b09 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,12 @@ +[package] +supported-arches = [ + "x86_64", + "%{ix86}", + "aarch64", + "%{arm}", +] + +[tests] +run = ["lib", "doc"] +comments = ["files needed for integration tests are not included in published crates"] + diff --git a/sources b/sources new file mode 100644 index 0000000..66ceb6d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ring-0.16.20.crate) = d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191
1
0
0
0
Architecture specific change in rpms/rust-ring.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ring.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-ring.git/commit/?id=2bebab6bd0…
. Change: -%ifarch %{supported_arches} Thanks. Full change: ============ commit 2bebab6bd08c9b2f2bb231edf9e3c9fc8f30122f Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed Oct 25 15:26:24 2023 +0200 Update to version 0.17.5; Fixes RHBZ#2241702 diff --git a/ring-fix-metadata-auto.diff b/ring-fix-metadata-auto.diff index 797c2b0..ee70300 100644 --- a/ring-fix-metadata-auto.diff +++ b/ring-fix-metadata-auto.diff @@ -1,31 +1,25 @@ ---- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 -+++ ring-0.16.20/Cargo.toml 2023-04-01T14:08:54.743609+00:00 -@@ -60,10 +60,6 @@ - std = ["alloc"] - test_logging = [] - wasm32_c = [] --[target."cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))".dependencies.web-sys] +--- ring-0.17.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ring-0.17.5/Cargo.toml 2023-10-25T13:04:09.102675+00:00 +@@ -214,17 +214,6 @@ + unstable-testing-arm-no-neon = [] + wasm32_unknown_unknown_js = ["getrandom/js"] + +-[target."cfg(all(target_arch = \"aarch64\", target_os = \"windows\"))".dependencies.windows-sys] +-version = "0.48" +-features = [ +- "Win32_Foundation", +- "Win32_System_Threading", +-] +- +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] -version = "0.3.37" --features = ["Crypto", "Window"] -default-features = false - [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin] - version = "0.5.2" +- + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"windows\"))))".dependencies.spin] + version = "0.9.8" + features = ["once"] +@@ -237,3 +226,4 @@ + [target."cfg(any(unix, windows, target_os = \"wasi\"))".dev-dependencies.libc] + version = "0.2.148" default-features = false -@@ -76,17 +72,6 @@ - features = ["std"] - optional = true - default-features = false --[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))".dependencies.once_cell] --version = "1.5.2" --features = ["std"] --default-features = false - [target."cfg(any(unix, windows))".dev-dependencies.libc] - version = "0.2.80" - default-features = false --[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] --version = "0.3.18" --default-features = false --[target."cfg(target_os = \"windows\")".dependencies.winapi] --version = "0.3.8" --features = ["ntsecapi", "wtypesbase"] --default-features = false ++ diff --git a/ring-fix-metadata.diff b/ring-fix-metadata.diff index 8b66123..a64a912 100644 --- a/ring-fix-metadata.diff +++ b/ring-fix-metadata.diff @@ -1,29 +1,21 @@ ---- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 -+++ ring-0.16.20/Cargo.toml 2023-04-01T14:09:25.801749+00:00 -@@ -23,25 +23,10 @@ - readme = "doc/link-to-readme.md" - keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"] - categories = ["cryptography", "no-std"] +--- ring-0.17.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ring-0.17.5/Cargo.toml 2023-10-25T13:04:28.092749+00:00 +@@ -165,7 +165,7 @@ + "cryptography", + "no-std", + ] -license-file = "LICENSE" -+license = "ISC AND OpenSSL AND MIT" ++license = "ISC AND MIT AND OpenSSL" repository = "
https://github.com/briansmith/ring
" + [package.metadata.docs.rs] - all-features = true --[profile.bench] --opt-level = 3 --lto = true --codegen-units = 1 --debug = false --debug-assertions = false --rpath = false -- --[profile.release] --opt-level = 3 --lto = true --codegen-units = 1 --debug = false --debug-assertions = false --rpath = false +@@ -210,9 +210,6 @@ + slow_tests = [] + std = ["alloc"] + test_logging = [] +-unstable-testing-arm-no-hw = [] +-unstable-testing-arm-no-neon = [] +-wasm32_unknown_unknown_js = ["getrandom/js"] - [lib] - name = "ring" + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"windows\"))))".dependencies.spin] + version = "0.9.8" diff --git a/rust-ring.spec b/rust-ring.spec index 381a57a..e7a584a 100644 --- a/rust-ring.spec +++ b/rust-ring.spec @@ -1,30 +1,26 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 25 +# * test fixtures are not included in published crates +%bcond_with check %global debug_package %{nil} %global crate ring -# compile and run tests only on supported architectures -#
https://bugzilla.redhat.com/show_bug.cgi?id=1869980
-%global supported_arches x86_64 %{ix86} aarch64 %{arm} - Name: rust-ring -Version: 0.16.20 +Version: 0.17.5 Release: %autorelease Summary: Safe, fast, small crypto using Rust -#
https://github.com/briansmith/ring/issues/902
-License: ISC AND OpenSSL AND MIT +License: ISC AND MIT AND OpenSSL URL:
https://crates.io/crates/ring
Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: ring-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * drop profiles that set compiler flags that are incompatible with packaging # * set package.license in metadata to match package license +# * drop unstable / WASM-only features Patch: ring-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Safe, fast, small crypto using Rust.} @@ -43,6 +39,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %license %{crate_instdir}/third_party/fiat/LICENSE +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -81,30 +78,6 @@ use the "dev_urandom_fallback" feature of the "%{crate}" crate. %files -n %{name}+dev_urandom_fallback-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+internal_benches-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+internal_benches-devel %{_description} - -This package contains library source intended for building other packages which -use the "internal_benches" feature of the "%{crate}" crate. - -%files -n %{name}+internal_benches-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+once_cell-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+once_cell-devel %{_description} - -This package contains library source intended for building other packages which -use the "once_cell" feature of the "%{crate}" crate. - -%files -n %{name}+once_cell-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+slow_tests-devel Summary: %{summary} BuildArch: noarch @@ -141,40 +114,22 @@ use the "test_logging" feature of the "%{crate}" crate. %files -n %{name}+test_logging-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+wasm32_c-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+wasm32_c-devel %{_description} - -This package contains library source intended for building other packages which -use the "wasm32_c" feature of the "%{crate}" crate. - -%files -n %{name}+wasm32_c-devel -%ghost %{crate_instdir}/Cargo.toml - %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build -%ifarch %{supported_arches} %cargo_build -%endif %install %cargo_install %if %{with check} -%ifarch %{supported_arches} %check -# * files needed for integration tests are not included in published crates -%cargo_test -- --lib -%cargo_test -- --doc -%endif +%cargo_test %endif %changelog diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 53a9929..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -supported-arches = - x86_64 - %{ix86} - aarch64 - %{arm} diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..7fa10fa --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["test fixtures are not included in published crates"] + diff --git a/sources b/sources index 66ceb6d..f6c4c2b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ring-0.16.20.crate) = d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191 +SHA512 (ring-0.17.5.crate) = d4fe515031ee3545d257651d07fd23c670b313c64a26af33fe93bbdd006219908c1d2ff1b382ebfe3a85e8aae1a69f0693ccb640edc0a1f51a3af783c20b6df2
1
0
0
0
Architecture specific change in rpms/rust-ring0.16.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ring0.16.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-ring0.16.git/commit/?id=845d3a…
. Change: +%ifarch %{supported_arches} Thanks. Full change: ============ commit 845d3a2fbbd08bff8bfdaed82b92ed02516466a9 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Oct 27 15:38:36 2023 +0200 Initial import (ring 0.16 compat package) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5720d7c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ring-0.16.20.crate diff --git a/README.md b/README.md deleted file mode 100644 index 1e7616c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ring0.16 - -The rust-ring0.16 package diff --git a/ring-fix-metadata-auto.diff b/ring-fix-metadata-auto.diff new file mode 100644 index 0000000..c167a9d --- /dev/null +++ b/ring-fix-metadata-auto.diff @@ -0,0 +1,32 @@ +--- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 ++++ ring-0.16.20/Cargo.toml 2023-10-25T13:14:45.165319+00:00 +@@ -60,10 +60,6 @@ + std = ["alloc"] + test_logging = [] + wasm32_c = [] +-[target."cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))".dependencies.web-sys] +-version = "0.3.37" +-features = ["Crypto", "Window"] +-default-features = false + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin] + version = "0.5.2" + default-features = false +@@ -76,17 +72,7 @@ + features = ["std"] + optional = true + default-features = false +-[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))".dependencies.once_cell] +-version = "1.5.2" +-features = ["std"] +-default-features = false + [target."cfg(any(unix, windows))".dev-dependencies.libc] + version = "0.2.80" + default-features = false +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] +-version = "0.3.18" +-default-features = false +-[target."cfg(target_os = \"windows\")".dependencies.winapi] +-version = "0.3.8" +-features = ["ntsecapi", "wtypesbase"] +-default-features = false ++ diff --git a/ring-fix-metadata.diff b/ring-fix-metadata.diff new file mode 100644 index 0000000..7e67e75 --- /dev/null +++ b/ring-fix-metadata.diff @@ -0,0 +1,11 @@ +--- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 ++++ ring-0.16.20/Cargo.toml 2023-10-25T13:14:55.242361+00:00 +@@ -23,7 +23,7 @@ + readme = "doc/link-to-readme.md" + keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"] + categories = ["cryptography", "no-std"] +-license-file = "LICENSE" ++license = "ISC AND MIT AND OpenSSL" + repository = "
https://github.com/briansmith/ring
" + [package.metadata.docs.rs] + all-features = true diff --git a/rust-ring0.16.spec b/rust-ring0.16.spec new file mode 100644 index 0000000..8a45f42 --- /dev/null +++ b/rust-ring0.16.spec @@ -0,0 +1,180 @@ +# Generated by rust2rpm 25 +%bcond_without check +%global debug_package %{nil} + +%global crate ring + +# compile and run tests only on supported architectures +#
https://bugzilla.redhat.com/show_bug.cgi?id=1869980
+%global supported_arches x86_64 %{ix86} aarch64 %{arm} + +Name: rust-ring0.16 +Version: 0.16.20 +Release: %autorelease +Summary: Safe, fast, small crypto using Rust + +License: ISC AND MIT AND OpenSSL +URL:
https://crates.io/crates/ring
+Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: ring-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * drop profiles that set compiler flags that are incompatible with packaging +# * set package.license in metadata to match package license +Patch: ring-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Safe, fast, small crypto using Rust.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/third_party/fiat/LICENSE +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dev_urandom_fallback-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dev_urandom_fallback-devel %{_description} + +This package contains library source intended for building other packages which +use the "dev_urandom_fallback" feature of the "%{crate}" crate. + +%files -n %{name}+dev_urandom_fallback-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+internal_benches-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+internal_benches-devel %{_description} + +This package contains library source intended for building other packages which +use the "internal_benches" feature of the "%{crate}" crate. + +%files -n %{name}+internal_benches-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+once_cell-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once_cell-devel %{_description} + +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. + +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+slow_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+slow_tests-devel %{_description} + +This package contains library source intended for building other packages which +use the "slow_tests" feature of the "%{crate}" crate. + +%files -n %{name}+slow_tests-devel +%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+test_logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+test_logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "test_logging" feature of the "%{crate}" crate. + +%files -n %{name}+test_logging-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+wasm32_c-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm32_c-devel %{_description} + +This package contains library source intended for building other packages which +use the "wasm32_c" feature of the "%{crate}" crate. + +%files -n %{name}+wasm32_c-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%ifarch %{supported_arches} +%cargo_build +%endif + +%install +%cargo_install + +%if %{with check} +%ifarch %{supported_arches} +%check +# * files needed for integration tests are not included in published crates +%cargo_test -- --lib +%cargo_test -- --doc +%endif +%endif + +%changelog +%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2b82b09 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,12 @@ +[package] +supported-arches = [ + "x86_64", + "%{ix86}", + "aarch64", + "%{arm}", +] + +[tests] +run = ["lib", "doc"] +comments = ["files needed for integration tests are not included in published crates"] + diff --git a/sources b/sources new file mode 100644 index 0000000..66ceb6d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ring-0.16.20.crate) = d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191
1
0
0
0
Architecture specific change in rpms/rust-untrusted.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-untrusted.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-untrusted.git/commit/?id=db83e…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit db09e53340037fa95477c93f9a53a7c0fe0bb14d Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed Oct 25 15:20:14 2023 +0200 Update to version 0.9.0; Fixes RHBZ#1956576 diff --git a/.gitignore b/.gitignore index 0c28292..73e7ff1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /untrusted-0.6.2.crate /untrusted-0.7.0.crate /untrusted-0.7.1.crate +/untrusted-0.9.0.crate diff --git a/rust-untrusted.spec b/rust-untrusted.spec index 4147e91..e9f5701 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate untrusted Name: rust-untrusted -Version: 0.7.1 +Version: 0.9.0 Release: %autorelease Summary: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs @@ -13,7 +13,7 @@ License: ISC URL:
https://crates.io/crates/untrusted
Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of @@ -48,10 +48,8 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep -# clean up CRLF line endings in license file -sed -i 's/\r$//' LICENSE.txt %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index a07d6c8..0016129 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (untrusted-0.7.1.crate) = 5ebe3266912e4e78fdfdd13f9fcc07e9cf489d19d5e9ff346486f47aa58a0aca35278d561612c49eb3cab5a6759ac974d3b92bfabc399e1bc0808428dc347be0 +SHA512 (untrusted-0.9.0.crate) = 5929e4079c1c2ff933ae8d8f59a2ecc7a424e71a20d1b8821f75925af68bdf82604b024c008e5464b02e25ff093e561a352b685e755b3d0b27e4c30254689416 commit db674eaa02451a1d408d646de4c62a0d997bbf3b Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Sat Jul 22 00:29:13 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit db83e3c378d394822639db65a55917482244cb6d Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed May 10 18:39:56 2023 +0200 Regenerate with rust2rpm v24 diff --git a/README.md b/README.md deleted file mode 100644 index ef96f12..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-untrusted - -The rust-untrusted package \ No newline at end of file diff --git a/rust-untrusted.spec b/rust-untrusted.spec index 8344a52..4147e91 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -1,29 +1,23 @@ -# Generated by rust2rpm 13 -%bcond_with check +# Generated by rust2rpm 24 +%bcond_without check %global debug_package %{nil} %global crate untrusted -Name: rust-%{crate} +Name: rust-untrusted Version: 0.7.1 Release: %autorelease -Summary: Safe and fast parsing of untrusted inputs in Rust +Summary: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs -# Upstream license specification: ISC License: ISC URL:
https://crates.io/crates/untrusted
Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted -inputs in Rust.} +Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of +untrusted inputs in Rust.} %description %{_description} @@ -33,13 +27,13 @@ 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 the "%{crate}" crate. %files devel -%doc README.md -%license LICENSE.txt -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,16 +41,17 @@ 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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -sed -i 's/\r$//' LICENSE.txt %cargo_prep +# clean up CRLF line endings in license file +sed -i 's/\r$//' LICENSE.txt %generate_buildrequires %cargo_generate_buildrequires commit 63ffdde071bdca6cf569910cfdefef9f2c6fa19a Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed May 10 18:37:32 2023 +0200 Convert to %autorelease and %autochangelog [skip changelog] diff --git a/changelog b/changelog new file mode 100644 index 0000000..a47f2ef --- /dev/null +++ b/changelog @@ -0,0 +1,62 @@ +* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-7 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+ +* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-6 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+ +* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+ +* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-4 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+ +* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+ +* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+ +* Wed Apr 29 2020 Josh Stone <jistone(a)redhat.com> - 0.7.1-1 +- Update to 0.7.1 + +* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+ +* Tue Dec 17 2019 Josh Stone <jistone(a)redhat.com> - 0.7.0-1 +- Update to 0.7.0 + +* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+ +* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.2-4 +- Adapt to new packaging + +* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+ +* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+ +* Fri Jun 22 2018 Josh Stone <jistone(a)redhat.com> - 0.6.2-1 +- Update to 0.6.2 + +* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.1-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+ +* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-2 +- Rebuild for rust-packaging v5 + +* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-1 +- Update to 0.6.1 + +* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-3 +- Fix end-of-line + +* Sat Oct 21 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-2 +- Rebuild to get dependency on cargo + +* Fri Sep 22 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-1 +- Update to 0.6.0 + +* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.5.0-1 +- Initial package diff --git a/rust-untrusted.spec b/rust-untrusted.spec index a777d33..8344a52 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.7.1 -Release: 7%{?dist} +Release: %autorelease Summary: Safe and fast parsing of untrusted inputs in Rust # Upstream license specification: ISC @@ -73,65 +73,4 @@ sed -i 's/\r$//' LICENSE.txt %endif %changelog -* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- -* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
- -* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
- -* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- -* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- -* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Apr 29 2020 Josh Stone <jistone(a)redhat.com> - 0.7.1-1 -- Update to 0.7.1 - -* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Tue Dec 17 2019 Josh Stone <jistone(a)redhat.com> - 0.7.0-1 -- Update to 0.7.0 - -* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.2-4 -- Adapt to new packaging - -* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Fri Jun 22 2018 Josh Stone <jistone(a)redhat.com> - 0.6.2-1 -- Update to 0.6.2 - -* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.1-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-2 -- Rebuild for rust-packaging v5 - -* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-1 -- Update to 0.6.1 - -* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-3 -- Fix end-of-line - -* Sat Oct 21 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-2 -- Rebuild to get dependency on cargo - -* Fri Sep 22 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-1 -- Update to 0.6.0 - -* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.5.0-1 -- Initial package +%autochangelog commit a1d5e86719541b696ecb2381d263ea30f2331c79 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Sat Jan 21 02:10:51 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> diff --git a/rust-untrusted.spec b/rust-untrusted.spec index f30fd85..a777d33 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.7.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Safe and fast parsing of untrusted inputs in Rust # Upstream license specification: ISC @@ -73,6 +73,9 @@ sed -i 's/\r$//' LICENSE.txt %endif %changelog +* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-7 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+ * Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-6 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1
0
0
0
Architecture specific change in rpms/rust-ring0.16.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ring0.16.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-ring0.16.git/commit/?id=845d3a…
. Change: +%ifarch %{supported_arches} Thanks. Full change: ============ commit 845d3a2fbbd08bff8bfdaed82b92ed02516466a9 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Oct 27 15:38:36 2023 +0200 Initial import (ring 0.16 compat package) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5720d7c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ring-0.16.20.crate diff --git a/README.md b/README.md deleted file mode 100644 index 1e7616c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ring0.16 - -The rust-ring0.16 package diff --git a/ring-fix-metadata-auto.diff b/ring-fix-metadata-auto.diff new file mode 100644 index 0000000..c167a9d --- /dev/null +++ b/ring-fix-metadata-auto.diff @@ -0,0 +1,32 @@ +--- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 ++++ ring-0.16.20/Cargo.toml 2023-10-25T13:14:45.165319+00:00 +@@ -60,10 +60,6 @@ + std = ["alloc"] + test_logging = [] + wasm32_c = [] +-[target."cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))".dependencies.web-sys] +-version = "0.3.37" +-features = ["Crypto", "Window"] +-default-features = false + [target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))".dependencies.spin] + version = "0.5.2" + default-features = false +@@ -76,17 +72,7 @@ + features = ["std"] + optional = true + default-features = false +-[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))".dependencies.once_cell] +-version = "1.5.2" +-features = ["std"] +-default-features = false + [target."cfg(any(unix, windows))".dev-dependencies.libc] + version = "0.2.80" + default-features = false +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] +-version = "0.3.18" +-default-features = false +-[target."cfg(target_os = \"windows\")".dependencies.winapi] +-version = "0.3.8" +-features = ["ntsecapi", "wtypesbase"] +-default-features = false ++ diff --git a/ring-fix-metadata.diff b/ring-fix-metadata.diff new file mode 100644 index 0000000..7e67e75 --- /dev/null +++ b/ring-fix-metadata.diff @@ -0,0 +1,11 @@ +--- ring-0.16.20/Cargo.toml 2021-02-01T22:20:41+00:00 ++++ ring-0.16.20/Cargo.toml 2023-10-25T13:14:55.242361+00:00 +@@ -23,7 +23,7 @@ + readme = "doc/link-to-readme.md" + keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"] + categories = ["cryptography", "no-std"] +-license-file = "LICENSE" ++license = "ISC AND MIT AND OpenSSL" + repository = "
https://github.com/briansmith/ring
" + [package.metadata.docs.rs] + all-features = true diff --git a/rust-ring0.16.spec b/rust-ring0.16.spec new file mode 100644 index 0000000..8a45f42 --- /dev/null +++ b/rust-ring0.16.spec @@ -0,0 +1,180 @@ +# Generated by rust2rpm 25 +%bcond_without check +%global debug_package %{nil} + +%global crate ring + +# compile and run tests only on supported architectures +#
https://bugzilla.redhat.com/show_bug.cgi?id=1869980
+%global supported_arches x86_64 %{ix86} aarch64 %{arm} + +Name: rust-ring0.16 +Version: 0.16.20 +Release: %autorelease +Summary: Safe, fast, small crypto using Rust + +License: ISC AND MIT AND OpenSSL +URL:
https://crates.io/crates/ring
+Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: ring-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * drop profiles that set compiler flags that are incompatible with packaging +# * set package.license in metadata to match package license +Patch: ring-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Safe, fast, small crypto using Rust.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/third_party/fiat/LICENSE +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dev_urandom_fallback-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dev_urandom_fallback-devel %{_description} + +This package contains library source intended for building other packages which +use the "dev_urandom_fallback" feature of the "%{crate}" crate. + +%files -n %{name}+dev_urandom_fallback-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+internal_benches-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+internal_benches-devel %{_description} + +This package contains library source intended for building other packages which +use the "internal_benches" feature of the "%{crate}" crate. + +%files -n %{name}+internal_benches-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+once_cell-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once_cell-devel %{_description} + +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. + +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+slow_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+slow_tests-devel %{_description} + +This package contains library source intended for building other packages which +use the "slow_tests" feature of the "%{crate}" crate. + +%files -n %{name}+slow_tests-devel +%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+test_logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+test_logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "test_logging" feature of the "%{crate}" crate. + +%files -n %{name}+test_logging-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+wasm32_c-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm32_c-devel %{_description} + +This package contains library source intended for building other packages which +use the "wasm32_c" feature of the "%{crate}" crate. + +%files -n %{name}+wasm32_c-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%ifarch %{supported_arches} +%cargo_build +%endif + +%install +%cargo_install + +%if %{with check} +%ifarch %{supported_arches} +%check +# * files needed for integration tests are not included in published crates +%cargo_test -- --lib +%cargo_test -- --doc +%endif +%endif + +%changelog +%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2b82b09 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,12 @@ +[package] +supported-arches = [ + "x86_64", + "%{ix86}", + "aarch64", + "%{arm}", +] + +[tests] +run = ["lib", "doc"] +comments = ["files needed for integration tests are not included in published crates"] + diff --git a/sources b/sources new file mode 100644 index 0000000..66ceb6d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ring-0.16.20.crate) = d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191
1
0
0
0
Architecture specific change in rpms/rust-untrusted.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-untrusted.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-untrusted.git/commit/?id=db83e…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit db09e53340037fa95477c93f9a53a7c0fe0bb14d Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed Oct 25 15:20:14 2023 +0200 Update to version 0.9.0; Fixes RHBZ#1956576 diff --git a/.gitignore b/.gitignore index 0c28292..73e7ff1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /untrusted-0.6.2.crate /untrusted-0.7.0.crate /untrusted-0.7.1.crate +/untrusted-0.9.0.crate diff --git a/rust-untrusted.spec b/rust-untrusted.spec index 4147e91..e9f5701 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate untrusted Name: rust-untrusted -Version: 0.7.1 +Version: 0.9.0 Release: %autorelease Summary: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs @@ -13,7 +13,7 @@ License: ISC URL:
https://crates.io/crates/untrusted
Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of @@ -48,10 +48,8 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep -# clean up CRLF line endings in license file -sed -i 's/\r$//' LICENSE.txt %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index a07d6c8..0016129 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (untrusted-0.7.1.crate) = 5ebe3266912e4e78fdfdd13f9fcc07e9cf489d19d5e9ff346486f47aa58a0aca35278d561612c49eb3cab5a6759ac974d3b92bfabc399e1bc0808428dc347be0 +SHA512 (untrusted-0.9.0.crate) = 5929e4079c1c2ff933ae8d8f59a2ecc7a424e71a20d1b8821f75925af68bdf82604b024c008e5464b02e25ff093e561a352b685e755b3d0b27e4c30254689416 commit db674eaa02451a1d408d646de4c62a0d997bbf3b Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Sat Jul 22 00:29:13 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit db83e3c378d394822639db65a55917482244cb6d Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed May 10 18:39:56 2023 +0200 Regenerate with rust2rpm v24 diff --git a/README.md b/README.md deleted file mode 100644 index ef96f12..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-untrusted - -The rust-untrusted package \ No newline at end of file diff --git a/rust-untrusted.spec b/rust-untrusted.spec index 8344a52..4147e91 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -1,29 +1,23 @@ -# Generated by rust2rpm 13 -%bcond_with check +# Generated by rust2rpm 24 +%bcond_without check %global debug_package %{nil} %global crate untrusted -Name: rust-%{crate} +Name: rust-untrusted Version: 0.7.1 Release: %autorelease -Summary: Safe and fast parsing of untrusted inputs in Rust +Summary: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs -# Upstream license specification: ISC License: ISC URL:
https://crates.io/crates/untrusted
Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted -inputs in Rust.} +Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of +untrusted inputs in Rust.} %description %{_description} @@ -33,13 +27,13 @@ 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 the "%{crate}" crate. %files devel -%doc README.md -%license LICENSE.txt -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,16 +41,17 @@ 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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -sed -i 's/\r$//' LICENSE.txt %cargo_prep +# clean up CRLF line endings in license file +sed -i 's/\r$//' LICENSE.txt %generate_buildrequires %cargo_generate_buildrequires commit 63ffdde071bdca6cf569910cfdefef9f2c6fa19a Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Wed May 10 18:37:32 2023 +0200 Convert to %autorelease and %autochangelog [skip changelog] diff --git a/changelog b/changelog new file mode 100644 index 0000000..a47f2ef --- /dev/null +++ b/changelog @@ -0,0 +1,62 @@ +* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-7 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+ +* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-6 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+ +* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+ +* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-4 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+ +* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+ +* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+ +* Wed Apr 29 2020 Josh Stone <jistone(a)redhat.com> - 0.7.1-1 +- Update to 0.7.1 + +* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+ +* Tue Dec 17 2019 Josh Stone <jistone(a)redhat.com> - 0.7.0-1 +- Update to 0.7.0 + +* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+ +* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.2-4 +- Adapt to new packaging + +* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+ +* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+ +* Fri Jun 22 2018 Josh Stone <jistone(a)redhat.com> - 0.6.2-1 +- Update to 0.6.2 + +* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.1-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+ +* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-2 +- Rebuild for rust-packaging v5 + +* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-1 +- Update to 0.6.1 + +* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-3 +- Fix end-of-line + +* Sat Oct 21 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-2 +- Rebuild to get dependency on cargo + +* Fri Sep 22 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-1 +- Update to 0.6.0 + +* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.5.0-1 +- Initial package diff --git a/rust-untrusted.spec b/rust-untrusted.spec index a777d33..8344a52 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.7.1 -Release: 7%{?dist} +Release: %autorelease Summary: Safe and fast parsing of untrusted inputs in Rust # Upstream license specification: ISC @@ -73,65 +73,4 @@ sed -i 's/\r$//' LICENSE.txt %endif %changelog -* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- -* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
- -* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
- -* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- -* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- -* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.1-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Apr 29 2020 Josh Stone <jistone(a)redhat.com> - 0.7.1-1 -- Update to 0.7.1 - -* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Tue Dec 17 2019 Josh Stone <jistone(a)redhat.com> - 0.7.0-1 -- Update to 0.7.0 - -* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.2-4 -- Adapt to new packaging - -* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Fri Jun 22 2018 Josh Stone <jistone(a)redhat.com> - 0.6.2-1 -- Update to 0.6.2 - -* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.1-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-2 -- Rebuild for rust-packaging v5 - -* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-1 -- Update to 0.6.1 - -* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-3 -- Fix end-of-line - -* Sat Oct 21 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-2 -- Rebuild to get dependency on cargo - -* Fri Sep 22 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.0-1 -- Update to 0.6.0 - -* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.5.0-1 -- Initial package +%autochangelog
1
0
0
0
Architecture specific change in rpms/rust-ahash0.4.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ahash0.4.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-ahash0.4.git/commit/?id=050f73…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit fc57cbe952f3aa20fa9a857d238a740e384fd80c Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Oct 27 14:33:24 2023 +0200 Update to version 0.4.8 diff --git a/.gitignore b/.gitignore index f28d823..467a360 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /ahash-0.4.7.crate +/ahash-0.4.8.crate diff --git a/ahash-fix-metadata.diff b/ahash-fix-metadata.diff index 192064e..c216e19 100644 --- a/ahash-fix-metadata.diff +++ b/ahash-fix-metadata.diff @@ -1,26 +1,37 @@ ---- ahash-0.4.7/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ ahash-0.4.7/Cargo.toml 2023-05-22T19:22:43.644121+00:00 -@@ -25,23 +25,6 @@ - features = ["std"] - rustc-args = ["-C", "target-feature=+aes"] - rustdoc-args = ["-C", "target-feature=+aes"] --[profile.bench] --opt-level = 3 --lto = "fat" --codegen-units = 1 --debug = false --debug-assertions = false +--- ahash-0.4.8/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ahash-0.4.8/Cargo.toml 2023-10-27T12:20:59.058249+00:00 +@@ -61,25 +61,11 @@ + path = "src/lib.rs" + test = true + doctest = true +-bench = true + doc = true - --[profile.release] --opt-level = 3 --lto = "fat" --codegen-units = 1 --debug = false --debug-assertions = false +-[[bench]] +-name = "ahash" +-path = "tests/bench.rs" +-harness = false - --[profile.test] --opt-level = 2 --lto = "fat" +-[[bench]] +-name = "map" +-path = "tests/map_tests.rs" +-harness = false - [lib] - name = "ahash" + [dependencies.const-random] + version = "0.1.6" + optional = true +- +-[dev-dependencies.criterion] +-version = "0.3.2" + + [dev-dependencies.fnv] + version = "1.0.5" +@@ -88,7 +74,7 @@ + version = "0.2.1" + + [dev-dependencies.hex] +-version = "0.3.2" ++version = "0.4" + + [dev-dependencies.no-panic] + version = "0.1.10" diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index ef82334..e2685fe 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 24 -# * missing dev-dependencies -%bcond_with check +# Generated by rust2rpm 25 +%bcond_without check %global debug_package %{nil} %global crate ahash Name: rust-ahash0.4 -Version: 0.4.7 +Version: 0.4.8 Release: %autorelease Summary: Non-cryptographic hash function using AES-NI for high performance @@ -14,10 +13,11 @@ License: MIT OR Apache-2.0 URL:
https://crates.io/crates/ahash
Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop profiles which set incompatible compiler flags +# * drop unused benchmarks and benchmark-only criterion dev-dependency +# * bump hex dev-dependency from 0.3 to 0.4 Patch: ahash-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A non-cryptographic hash function using AES-NI for high performance.} @@ -100,8 +100,10 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep +# remove benchmark sources from non-standard path in tests/ +rm tests/{bench.rs,map_tests.rs} %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 7cfed1e..9bd3adb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ahash-0.4.7.crate) = 2f42cdbacb2b2f9bd7d94a4cc61294d7813428157ce242ba82f7c3fccb6e4b83c767f4dedd35ff26ae61a89506b388d7cf96af4e727c29a14b25b9f82b1f2126 +SHA512 (ahash-0.4.8.crate) = 983cb6a69351af82c597ed4ca85f77a475fad2c6cb6faf57962141432defa00f58b06ce191f9ca8652bfd05f7d029e116e296c37d3c927d33031c2faaf7f5562 commit fb02428128a19d03168365d646d8cef5e83ba9ae Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jul 21 18:46:13 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit 050f73b3f15d220e24528b478b6b22374d54ab07 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Mon May 22 21:24:28 2023 +0200 Regenerate with rust2rpm v24 diff --git a/ahash-fix-metadata.diff b/ahash-fix-metadata.diff new file mode 100644 index 0000000..192064e --- /dev/null +++ b/ahash-fix-metadata.diff @@ -0,0 +1,26 @@ +--- ahash-0.4.7/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ ahash-0.4.7/Cargo.toml 2023-05-22T19:22:43.644121+00:00 +@@ -25,23 +25,6 @@ + features = ["std"] + rustc-args = ["-C", "target-feature=+aes"] + rustdoc-args = ["-C", "target-feature=+aes"] +-[profile.bench] +-opt-level = 3 +-lto = "fat" +-codegen-units = 1 +-debug = false +-debug-assertions = false +- +-[profile.release] +-opt-level = 3 +-lto = "fat" +-codegen-units = 1 +-debug = false +-debug-assertions = false +- +-[profile.test] +-opt-level = 2 +-lto = "fat" + + [lib] + name = "ahash" diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index 7bb78c6..ef82334 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -1,29 +1,26 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 # * missing dev-dependencies %bcond_with check %global debug_package %{nil} %global crate ahash -Name: rust-%{crate}0.4 +Name: rust-ahash0.4 Version: 0.4.7 Release: %autorelease Summary: Non-cryptographic hash function using AES-NI for high performance -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/ahash
Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop profiles which set incompatible compiler flags +Patch: ahash-fix-metadata.diff -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Non-cryptographic hash function using AES-NI for high performance.} +A non-cryptographic hash function using AES-NI for high performance.} %description %{_description} @@ -33,13 +30,14 @@ 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 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} @@ -47,11 +45,11 @@ 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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compile-time-rng-devel Summary: %{summary} @@ -59,11 +57,11 @@ BuildArch: noarch %description -n %{name}+compile-time-rng-devel %{_description} -This package contains library source intended for building other packages -which use "compile-time-rng" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "compile-time-rng" feature of the "%{crate}" crate. %files -n %{name}+compile-time-rng-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const-random-devel Summary: %{summary} @@ -71,11 +69,11 @@ BuildArch: noarch %description -n %{name}+const-random-devel %{_description} -This package contains library source intended for building other packages -which use "const-random" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "const-random" feature of the "%{crate}" crate. %files -n %{name}+const-random-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+specialize-devel Summary: %{summary} @@ -83,11 +81,11 @@ BuildArch: noarch %description -n %{name}+specialize-devel %{_description} -This package contains library source intended for building other packages -which use "specialize" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "specialize" feature of the "%{crate}" crate. %files -n %{name}+specialize-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -95,11 +93,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 commit da4bec11708fe398cd8adda24b4d2dbd68f64bff Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Mon May 22 21:21:57 2023 +0200 Convert to %autorelease and %autochangelog [skip changelog] diff --git a/changelog b/changelog new file mode 100644 index 0000000..df5fcdb --- /dev/null +++ b/changelog @@ -0,0 +1,14 @@ +* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+ +* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-4 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+ +* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+ +* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+ +* Wed Apr 28 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.7-1 +- Initial compat package for ahash 0.4 diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index 68e5459..7bb78c6 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -7,7 +7,7 @@ Name: rust-%{crate}0.4 Version: 0.4.7 -Release: 5%{?dist} +Release: %autorelease Summary: Non-cryptographic hash function using AES-NI for high performance # Upstream license specification: MIT OR Apache-2.0 @@ -120,17 +120,4 @@ which use "std" feature of "%{crate}" crate. %endif %changelog -* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- -* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
- -* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
- -* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- -* Wed Apr 28 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.7-1 -- Initial compat package for ahash 0.4 +%autochangelog commit a95b2ca55ae5a9a6da50275ae2ce5bfb7cfadbe8 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 21:28:20 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index 627b848..68e5459 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -7,7 +7,7 @@ Name: rust-%{crate}0.4 Version: 0.4.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Non-cryptographic hash function using AES-NI for high performance # Upstream license specification: MIT OR Apache-2.0 @@ -120,6 +120,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+ * Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-4 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1
0
0
0
Architecture specific change in rpms/rust-ahash0.4.git
by githook-noreply@fedoraproject.org
27 Oct '23
27 Oct '23
The package rpms/rust-ahash0.4.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-ahash0.4.git/commit/?id=050f73…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit fc57cbe952f3aa20fa9a857d238a740e384fd80c Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Fri Oct 27 14:33:24 2023 +0200 Update to version 0.4.8 diff --git a/.gitignore b/.gitignore index f28d823..467a360 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /ahash-0.4.7.crate +/ahash-0.4.8.crate diff --git a/ahash-fix-metadata.diff b/ahash-fix-metadata.diff index 192064e..c216e19 100644 --- a/ahash-fix-metadata.diff +++ b/ahash-fix-metadata.diff @@ -1,26 +1,37 @@ ---- ahash-0.4.7/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ ahash-0.4.7/Cargo.toml 2023-05-22T19:22:43.644121+00:00 -@@ -25,23 +25,6 @@ - features = ["std"] - rustc-args = ["-C", "target-feature=+aes"] - rustdoc-args = ["-C", "target-feature=+aes"] --[profile.bench] --opt-level = 3 --lto = "fat" --codegen-units = 1 --debug = false --debug-assertions = false +--- ahash-0.4.8/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ahash-0.4.8/Cargo.toml 2023-10-27T12:20:59.058249+00:00 +@@ -61,25 +61,11 @@ + path = "src/lib.rs" + test = true + doctest = true +-bench = true + doc = true - --[profile.release] --opt-level = 3 --lto = "fat" --codegen-units = 1 --debug = false --debug-assertions = false +-[[bench]] +-name = "ahash" +-path = "tests/bench.rs" +-harness = false - --[profile.test] --opt-level = 2 --lto = "fat" +-[[bench]] +-name = "map" +-path = "tests/map_tests.rs" +-harness = false - [lib] - name = "ahash" + [dependencies.const-random] + version = "0.1.6" + optional = true +- +-[dev-dependencies.criterion] +-version = "0.3.2" + + [dev-dependencies.fnv] + version = "1.0.5" +@@ -88,7 +74,7 @@ + version = "0.2.1" + + [dev-dependencies.hex] +-version = "0.3.2" ++version = "0.4" + + [dev-dependencies.no-panic] + version = "0.1.10" diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index ef82334..e2685fe 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 24 -# * missing dev-dependencies -%bcond_with check +# Generated by rust2rpm 25 +%bcond_without check %global debug_package %{nil} %global crate ahash Name: rust-ahash0.4 -Version: 0.4.7 +Version: 0.4.8 Release: %autorelease Summary: Non-cryptographic hash function using AES-NI for high performance @@ -14,10 +13,11 @@ License: MIT OR Apache-2.0 URL:
https://crates.io/crates/ahash
Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop profiles which set incompatible compiler flags +# * drop unused benchmarks and benchmark-only criterion dev-dependency +# * bump hex dev-dependency from 0.3 to 0.4 Patch: ahash-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A non-cryptographic hash function using AES-NI for high performance.} @@ -100,8 +100,10 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep +# remove benchmark sources from non-standard path in tests/ +rm tests/{bench.rs,map_tests.rs} %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 7cfed1e..9bd3adb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ahash-0.4.7.crate) = 2f42cdbacb2b2f9bd7d94a4cc61294d7813428157ce242ba82f7c3fccb6e4b83c767f4dedd35ff26ae61a89506b388d7cf96af4e727c29a14b25b9f82b1f2126 +SHA512 (ahash-0.4.8.crate) = 983cb6a69351af82c597ed4ca85f77a475fad2c6cb6faf57962141432defa00f58b06ce191f9ca8652bfd05f7d029e116e296c37d3c927d33031c2faaf7f5562 commit fb02428128a19d03168365d646d8cef5e83ba9ae Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jul 21 18:46:13 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit 050f73b3f15d220e24528b478b6b22374d54ab07 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Mon May 22 21:24:28 2023 +0200 Regenerate with rust2rpm v24 diff --git a/ahash-fix-metadata.diff b/ahash-fix-metadata.diff new file mode 100644 index 0000000..192064e --- /dev/null +++ b/ahash-fix-metadata.diff @@ -0,0 +1,26 @@ +--- ahash-0.4.7/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ ahash-0.4.7/Cargo.toml 2023-05-22T19:22:43.644121+00:00 +@@ -25,23 +25,6 @@ + features = ["std"] + rustc-args = ["-C", "target-feature=+aes"] + rustdoc-args = ["-C", "target-feature=+aes"] +-[profile.bench] +-opt-level = 3 +-lto = "fat" +-codegen-units = 1 +-debug = false +-debug-assertions = false +- +-[profile.release] +-opt-level = 3 +-lto = "fat" +-codegen-units = 1 +-debug = false +-debug-assertions = false +- +-[profile.test] +-opt-level = 2 +-lto = "fat" + + [lib] + name = "ahash" diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index 7bb78c6..ef82334 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -1,29 +1,26 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 # * missing dev-dependencies %bcond_with check %global debug_package %{nil} %global crate ahash -Name: rust-%{crate}0.4 +Name: rust-ahash0.4 Version: 0.4.7 Release: %autorelease Summary: Non-cryptographic hash function using AES-NI for high performance -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/ahash
Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop profiles which set incompatible compiler flags +Patch: ahash-fix-metadata.diff -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Non-cryptographic hash function using AES-NI for high performance.} +A non-cryptographic hash function using AES-NI for high performance.} %description %{_description} @@ -33,13 +30,14 @@ 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 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} @@ -47,11 +45,11 @@ 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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compile-time-rng-devel Summary: %{summary} @@ -59,11 +57,11 @@ BuildArch: noarch %description -n %{name}+compile-time-rng-devel %{_description} -This package contains library source intended for building other packages -which use "compile-time-rng" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "compile-time-rng" feature of the "%{crate}" crate. %files -n %{name}+compile-time-rng-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const-random-devel Summary: %{summary} @@ -71,11 +69,11 @@ BuildArch: noarch %description -n %{name}+const-random-devel %{_description} -This package contains library source intended for building other packages -which use "const-random" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "const-random" feature of the "%{crate}" crate. %files -n %{name}+const-random-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+specialize-devel Summary: %{summary} @@ -83,11 +81,11 @@ BuildArch: noarch %description -n %{name}+specialize-devel %{_description} -This package contains library source intended for building other packages -which use "specialize" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "specialize" feature of the "%{crate}" crate. %files -n %{name}+specialize-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -95,11 +93,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 commit da4bec11708fe398cd8adda24b4d2dbd68f64bff Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Mon May 22 21:21:57 2023 +0200 Convert to %autorelease and %autochangelog [skip changelog] diff --git a/changelog b/changelog new file mode 100644 index 0000000..df5fcdb --- /dev/null +++ b/changelog @@ -0,0 +1,14 @@ +* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-5 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+ +* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-4 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+ +* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-3 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+ +* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+ +* Wed Apr 28 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.7-1 +- Initial compat package for ahash 0.4 diff --git a/rust-ahash0.4.spec b/rust-ahash0.4.spec index 68e5459..7bb78c6 100644 --- a/rust-ahash0.4.spec +++ b/rust-ahash0.4.spec @@ -7,7 +7,7 @@ Name: rust-%{crate}0.4 Version: 0.4.7 -Release: 5%{?dist} +Release: %autorelease Summary: Non-cryptographic hash function using AES-NI for high performance # Upstream license specification: MIT OR Apache-2.0 @@ -120,17 +120,4 @@ which use "std" feature of "%{crate}" crate. %endif %changelog -* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- -* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
- -* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
- -* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.7-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- -* Wed Apr 28 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.7-1 -- Initial compat package for ahash 0.4 +%autochangelog
1
0
0
0
Architecture specific change in rpms/gammaray.git
by githook-noreply@fedoraproject.org
26 Oct '23
26 Oct '23
The package rpms/gammaray.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/gammaray.git/commit/?id=f5effe8b2dd…
. Change: +%ifarch %{?qt5_qtwebengine_arches} Thanks. Full change: ============ commit f5effe8b2dd026ce43a96845a9717b8e5818da95 Author: Jan Grulich <jgrulich(a)redhat.com> Date: Mon Oct 9 11:12:23 2023 +0200 Drop BR: qtwebkit and add BR: qtwebengine instead diff --git a/gammaray.spec b/gammaray.spec index 33fd136..df77336 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -5,6 +5,10 @@ %global arch %{_arch} %endif +%ifarch %{?qt5_qtwebengine_arches} +%global webengine 1 +%endif + %global qt5_ver %(echo %{_qt5_version} | cut -d. -f1,2) %global qt5_target %(echo qt%{qt5_ver}-%{arch} | sed 's/\\./_/g') @@ -12,35 +16,40 @@ %global gammaray_ver_minor 3 %global gammaray_version %{gammaray_ver}.%{gammaray_ver_minor} -Name: gammaray -Version: %{gammaray_version} -Release: 12%{?dist} -Summary: A tool for examining internals of Qt applications -License: GPLv2+ -URL:
https://github.com/KDAB/GammaRay
-Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz -Patch0: qt-system-paths.patch - -BuildRequires: cmake -BuildRequires: desktop-file-utils -BuildRequires: doxygen -BuildRequires: kf5-kcoreaddons-devel -BuildRequires: kf5-syntax-highlighting-devel -BuildRequires: qt5-qt3d-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtbase-doc -BuildRequires: qt5-qtbase-private-devel -BuildRequires: qt5-qtdeclarative-devel -BuildRequires: qt5-qtscript-devel -BuildRequires: qt5-qtsvg-devel -BuildRequires: qt5-qtscxml-devel -BuildRequires: qt5-qttools-devel -BuildRequires: qt5-qtwayland-devel -BuildRequires: qt5-qtwebkit-devel -BuildRequires: wayland-devel -Requires: %{name}-qt5 = %{version}-%{release} +Name: gammaray +Version: %{gammaray_version} +Release: 13%{?dist} +Summary: A tool for examining internals of Qt applications +License: GPLv2+ +URL:
https://github.com/KDAB/GammaRay
+ +Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz + +Patch0: qt-system-paths.patch + +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: doxygen +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-syntax-highlighting-devel +BuildRequires: qt5-qt3d-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtbase-doc +BuildRequires: qt5-qtbase-private-devel +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtlocation-devel +BuildRequires: qt5-qtscript-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qt5-qtscxml-devel +BuildRequires: qt5-qttools-devel +BuildRequires: qt5-qtwayland-devel +%if 0%{?webengine} +BuildRequires: qt5-qtwebengine-devel +%endif +BuildRequires: wayland-devel +Requires: %{name}-qt5 = %{version}-%{release} # When -doc subpkg was removed -Obsoletes: %{name}-doc <= 2.2.1 +Obsoletes: %{name}-doc <= 2.2.1 # omit provides from plugins %global __provides_exclude_from ^(%{_qt5_libdir}/gammaray.*\\.so)$ @@ -54,9 +63,9 @@ access to a lot of interesting information. By default GammaRay can only introspect Qt 5 applications. %package qt5 -Summary: Qt 5 probe for GammaRay -Requires: qt5-qtbase%{?_isa} = %{_qt5_version} -Requires: %{name} = %{version}-%{release} +Summary: Qt 5 probe for GammaRay +Requires: qt5-qtbase%{?_isa} = %{_qt5_version} +Requires: %{name} = %{version}-%{release} %description qt5 Provides a Qt 5 probe for GammaRay that allows introspecting Qt 5 @@ -65,16 +74,16 @@ to install probes for different architectures as well, GammaRay will then be able to inspect those applications too. %package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing plugins for %{name}. %package doc -Summary: Developer documentation for %{name} -BuildArch: noarch +Summary: Developer documentation for %{name} +BuildArch: noarch %description doc This package includes developer documentation in HTML format. @@ -88,7 +97,7 @@ This package includes developer documentation in HTML format. %cmake .. \ -DLIBEXEC_INSTALL_DIR=libexec \ - -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \ + -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \ -DQCH_INSTALL_DIR=%{_docdir}/gammaray %cmake_build @@ -154,6 +163,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/GammaRay.desktop %changelog +* Mon Oct 09 2023 Jan Grulich <jgrulich(a)redhat.com> - 2.11.3-13 +- Drop BR: qtwebkit and add BR: qtwebengine instead + * Mon Oct 09 2023 Jan Grulich <jgrulich(a)redhat.com> - 2.11.3-12 - Rebuild (qt5) commit 9f71f7eb574b8c26c150ba3b82a4e95cf61a095b Author: Jan Grulich <jgrulich(a)redhat.com> Date: Mon Oct 9 08:36:13 2023 +0200 Rebuild (qt5) diff --git a/gammaray.spec b/gammaray.spec index 7af326b..33fd136 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -14,7 +14,7 @@ Name: gammaray Version: %{gammaray_version} -Release: 11%{?dist} +Release: 12%{?dist} Summary: A tool for examining internals of Qt applications License: GPLv2+ URL:
https://github.com/KDAB/GammaRay
@@ -154,6 +154,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/GammaRay.desktop %changelog +* Mon Oct 09 2023 Jan Grulich <jgrulich(a)redhat.com> - 2.11.3-12 +- Rebuild (qt5) + * Wed Jul 19 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.11.3-11 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
commit 5e534fac66d46b8ff680999700cee34e8f78337d Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Wed Jul 19 20:30:56 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> diff --git a/gammaray.spec b/gammaray.spec index a1cb701..7af326b 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -14,7 +14,7 @@ Name: gammaray Version: %{gammaray_version} -Release: 10%{?dist} +Release: 11%{?dist} Summary: A tool for examining internals of Qt applications License: GPLv2+ URL:
https://github.com/KDAB/GammaRay
@@ -154,6 +154,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/GammaRay.desktop %changelog +* Wed Jul 19 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.11.3-11 +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+ * Wed Jun 14 2023 Jan Grulich <jgrulich(a)redhat.com> - 2.11.3-10 - Rebuild (qt5)
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
9
...
25
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Results per page:
10
25
50
100
200