summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-14 18:55:30 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-14 18:55:30 -0800
commit09162956971e77780bdc50fd1aad6158f87c979e (patch)
treeb781a1a9406c9e47c1a242215c49e963a650956c
parent774280b00bf7419bded8d1f826a7d6fc708b9542 (diff)
downloadspecs-09162956971e77780bdc50fd1aad6158f87c979e.tar.gz
specs-09162956971e77780bdc50fd1aad6158f87c979e.tar.xz
specs-09162956971e77780bdc50fd1aad6158f87c979e.zip
+ rust-mmtk
+ rust-atomic + rust-atomic-traits + rust-enum_derive Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--rust/rust-atomic-traits.spec71
-rw-r--r--rust/rust-atomic.spec95
-rw-r--r--rust/rust-enum_derive.spec81
-rw-r--r--rust/rust-mmtk.spec305
4 files changed, 552 insertions, 0 deletions
diff --git a/rust/rust-atomic-traits.spec b/rust/rust-atomic-traits.spec
new file mode 100644
index 0000000..0771d12
--- /dev/null
+++ b/rust/rust-atomic-traits.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate atomic-traits
+
+Name: rust-%{crate}
+Version: 0.3.0
+Release: %autorelease
+Summary: Traits for generic atomic operations
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/atomic-traits
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Traits for generic atomic operations.}
+
+%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 LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-atomic.spec b/rust/rust-atomic.spec
new file mode 100644
index 0000000..e4138ce
--- /dev/null
+++ b/rust/rust-atomic.spec
@@ -0,0 +1,95 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate atomic
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: %autorelease
+Summary: Generic Atomic<T> wrapper type
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL: https://crates.io/crates/atomic
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Generic Atomic<T> wrapper type.}
+
+%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 LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+fallback-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fallback-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "fallback" feature of the "%{crate}" crate.
+
+%files -n %{name}+fallback-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
+
+%files -n %{name}+std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-enum_derive.spec b/rust/rust-enum_derive.spec
new file mode 100644
index 0000000..f9ffdac
--- /dev/null
+++ b/rust/rust-enum_derive.spec
@@ -0,0 +1,81 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate enum_derive
+
+Name: rust-%{crate}
+Version: 0.1.7
+Release: %autorelease
+Summary: Macros for deriving additional functionality for enums
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/enum_derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Macros for deriving additional functionality for enums.}
+
+%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
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
+
+%files -n %{name}+std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-mmtk.spec b/rust/rust-mmtk.spec
new file mode 100644
index 0000000..534d2ef
--- /dev/null
+++ b/rust/rust-mmtk.spec
@@ -0,0 +1,305 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate mmtk
+
+Name: rust-%{crate}
+Version: 0.9.0
+Release: %autorelease
+Summary: Framework for the design and implementation of high-performance and portable memory managers
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/mmtk
+Source: %{crates_source}
+# Initial patched metadata
+# bump versions of atomic, atomic-traits, crossbeam-dequeue, and enum-map
+Patch0: mmtk-fix-metadata.diff
+# two OOB tests fail to panic
+Patch1: mmtk-0.9.0-disable-failed-tests.patch
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Framework for the design and implementation of high-performance and portable
+memory managers.}
+
+%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 COPYRIGHT LICENSE-APACHE LICENSE-MIT
+%doc CHANGELOG.md CONTRIBUTING.md README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+analysis-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+analysis-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "analysis" feature of the "%{crate}" crate.
+
+%files -n %{name}+analysis-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+code_space-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+code_space-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "code_space" feature of the "%{crate}" crate.
+
+%files -n %{name}+code_space-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+extreme_assertions-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+extreme_assertions-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "extreme_assertions" feature of the "%{crate}" crate.
+
+%files -n %{name}+extreme_assertions-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+global_alloc_bit-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+global_alloc_bit-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "global_alloc_bit" feature of the "%{crate}" crate.
+
+%files -n %{name}+global_alloc_bit-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+hoard-sys-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+hoard-sys-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "hoard-sys" feature of the "%{crate}" crate.
+
+%files -n %{name}+hoard-sys-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+jemalloc-sys-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+jemalloc-sys-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "jemalloc-sys" feature of the "%{crate}" crate.
+
+%files -n %{name}+jemalloc-sys-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+malloc_hoard-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+malloc_hoard-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "malloc_hoard" feature of the "%{crate}" crate.
+
+%files -n %{name}+malloc_hoard-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+malloc_jemalloc-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+malloc_jemalloc-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "malloc_jemalloc" feature of the "%{crate}" crate.
+
+%files -n %{name}+malloc_jemalloc-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+malloc_mimalloc-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+malloc_mimalloc-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "malloc_mimalloc" feature of the "%{crate}" crate.
+
+%files -n %{name}+malloc_mimalloc-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+mimalloc-sys-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+mimalloc-sys-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "mimalloc-sys" feature of the "%{crate}" crate.
+
+%files -n %{name}+mimalloc-sys-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+nogc_lock_free-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+nogc_lock_free-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "nogc_lock_free" feature of the "%{crate}" crate.
+
+%files -n %{name}+nogc_lock_free-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+nogc_multi_space-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+nogc_multi_space-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "nogc_multi_space" feature of the "%{crate}" crate.
+
+%files -n %{name}+nogc_multi_space-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+nogc_no_zeroing-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+nogc_no_zeroing-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "nogc_no_zeroing" feature of the "%{crate}" crate.
+
+%files -n %{name}+nogc_no_zeroing-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+perf_counter-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+perf_counter-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "perf_counter" feature of the "%{crate}" crate.
+
+%files -n %{name}+perf_counter-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+pfm-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+pfm-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "pfm" feature of the "%{crate}" crate.
+
+%files -n %{name}+pfm-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+ro_space-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+ro_space-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "ro_space" feature of the "%{crate}" crate.
+
+%files -n %{name}+ro_space-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+sanity-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sanity-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sanity" feature of the "%{crate}" crate.
+
+%files -n %{name}+sanity-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+single_worker-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+single_worker-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "single_worker" feature of the "%{crate}" crate.
+
+%files -n %{name}+single_worker-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+vm_space-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+vm_space-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "vm_space" feature of the "%{crate}" crate.
+
+%files -n %{name}+vm_space-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog