summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rust/rust-nu-json.spec95
-rw-r--r--rust/rust-nu-parser.spec82
-rw-r--r--rust/rust-sys-locale.spec75
-rw-r--r--rust/sys-locale-fix-metadata.diff19
4 files changed, 0 insertions, 271 deletions
diff --git a/rust/rust-nu-json.spec b/rust/rust-nu-json.spec
deleted file mode 100644
index a78e69d..0000000
--- a/rust/rust-nu-json.spec
+++ /dev/null
@@ -1,95 +0,0 @@
-# Generated by rust2rpm 21
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate nu-json
-
-Name: rust-%{crate}
-Version: 0.60.0
-Release: 1%{?dist}
-Summary: Fork of serde-hjson
-
-# Upstream license specification: MIT
-License: MIT
-URL: https://crates.io/crates/nu-json
-Source: %{crates_source}
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
-
-%global _description %{expand:
-Fork of serde-hjson.}
-
-%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
-%{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}+linked-hash-map-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+linked-hash-map-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "linked-hash-map" feature of the "%{crate}" crate.
-
-%files -n %{name}+linked-hash-map-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+preserve_order-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+preserve_order-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "preserve_order" feature of the "%{crate}" crate.
-
-%files -n %{name}+preserve_order-devel
-%ghost %{crate_instdir}/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
-* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.60.0-1
-- Initial package
diff --git a/rust/rust-nu-parser.spec b/rust/rust-nu-parser.spec
deleted file mode 100644
index 1ed8c2b..0000000
--- a/rust/rust-nu-parser.spec
+++ /dev/null
@@ -1,82 +0,0 @@
-# Generated by rust2rpm 20
-# need to fix tests, path issues
-%bcond_with check
-%global debug_package %{nil}
-
-%global crate nu-parser
-
-Name: rust-%{crate}
-Version: 0.42.0
-Release: %autorelease
-Summary: Nushell parser
-
-# Upstream license specification: MIT
-License: MIT
-URL: https://crates.io/crates/nu-parser
-Source: %{crates_source}
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-
-%global _description %{expand:
-Nushell parser.}
-
-%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}+stable-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+stable-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "stable" feature of the "%{crate}" crate.
-
-%files -n %{name}+stable-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-sys-locale.spec b/rust/rust-sys-locale.spec
deleted file mode 100644
index fc74c17..0000000
--- a/rust/rust-sys-locale.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-# Generated by rust2rpm 21
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate sys-locale
-
-Name: rust-%{crate}
-Version: 0.2.0
-Release: %autorelease
-Summary: Small and lightweight library to obtain the active system locale
-
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/sys-locale
-Source: %{crates_source}
-# Drop dependencies for non-Linux targets
-Patch0: sys-locale-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
-
-%global _description %{expand:
-Small and lightweight library to obtain the active system locale.}
-
-%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-APACHE
-%license %{crate_instdir}/LICENSE-MIT
-%doc %{crate_instdir}/CHANGELOG.md
-%doc %{crate_instdir}/README.md
-%{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
-
-%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/sys-locale-fix-metadata.diff b/rust/sys-locale-fix-metadata.diff
deleted file mode 100644
index 96c95d7..0000000
--- a/rust/sys-locale-fix-metadata.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- sys-locale-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sys-locale-0.2.0/Cargo.toml 2022-04-04T23:17:37.714971+00:00
-@@ -20,16 +20,4 @@
- repository = "https://github.com/1Password/sys-locale"
- [build-dependencies.cc]
- version = "1.0"
--[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.cstr_core]
--version = "0.2"
-
--[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.libc]
--version = "0.2"
--[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
--version = "0.3"
--features = ["Window", "Navigator"]
--[target."cfg(target_os = \"android\")".dependencies.libc]
--version = "0.2"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["winnls"]