diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-04-06 10:16:42 -0700 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-04-06 10:16:42 -0700 |
commit | a4448e918f4104badf7d924bb89f5ddfdefbd650 (patch) | |
tree | ce5642286ecdb21d2bd9cde170e4f64eb3c112ee /rust | |
parent | 6d610df2904b4afc228ca29bbda4eeab5f41baa1 (diff) | |
download | specs-a4448e918f4104badf7d924bb89f5ddfdefbd650.tar.gz specs-a4448e918f4104badf7d924bb89f5ddfdefbd650.tar.xz specs-a4448e918f4104badf7d924bb89f5ddfdefbd650.zip |
- rust-nu-path
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'rust')
-rw-r--r-- | rust/nu-path-LICENSE | 21 | ||||
-rw-r--r-- | rust/rust-nu-path.spec | 76 | ||||
-rw-r--r-- | rust/rust-nu-protocol.spec | 36 |
3 files changed, 19 insertions, 114 deletions
diff --git a/rust/nu-path-LICENSE b/rust/nu-path-LICENSE deleted file mode 100644 index 084f31e..0000000 --- a/rust/nu-path-LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 - 2021 The Nushell Project Developers - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/rust/rust-nu-path.spec b/rust/rust-nu-path.spec deleted file mode 100644 index 94480d7..0000000 --- a/rust/rust-nu-path.spec +++ /dev/null @@ -1,76 +0,0 @@ -# Generated by rust2rpm 21 -%bcond_without check -%global debug_package %{nil} - -%global crate nu-path - -Name: rust-%{crate} -Version: 0.60.0 -Release: 1%{?dist} -Summary: Path handling library for Nushell - -# Upstream license specification: MIT -License: MIT -URL: https://crates.io/crates/nu-path -Source: %{crates_source} -# license text not included yet in most crates -# see https://github.com/nushell/nushell/pull/5094 -Source1: https://raw.githubusercontent.com/nushell/nushell/main/LICENSE#/%{crate}-LICENSE - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 - -%global _description %{expand: -Path handling library for Nushell.} - -%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 -%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 -cp -p %{SOURCE1} LICENSE -%cargo_prep - -%generate_buildrequires -%cargo_generate_buildrequires - -%build -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -* Mon Apr 04 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.60.0-1 -- Initial package diff --git a/rust/rust-nu-protocol.spec b/rust/rust-nu-protocol.spec index 71feeec..2c480ac 100644 --- a/rust/rust-nu-protocol.spec +++ b/rust/rust-nu-protocol.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate nu-protocol Name: rust-%{crate} -Version: 0.42.0 +Version: 0.60.0 Release: %autorelease -Summary: Core values and protocols for Nushell +Summary: Set of query commands for Nushell # Upstream license specification: MIT License: MIT @@ -16,10 +16,10 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Core values and protocols for Nushell.} +Set of query commands for Nushell.} %description %{_description} @@ -33,7 +33,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +# FIXME: no license files detected +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,31 +47,31 @@ 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}+dataframe-devel +%package -n %{name}+plugin-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+dataframe-devel %{_description} +%description -n %{name}+plugin-devel %{_description} This package contains library source intended for building other packages which -use the "dataframe" feature of the "%{crate}" crate. +use the "plugin" feature of the "%{crate}" crate. -%files -n %{name}+dataframe-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%files -n %{name}+plugin-devel +%ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+polars-devel +%package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+polars-devel %{_description} +%description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which -use the "polars" feature of the "%{crate}" crate. +use the "serde_json" feature of the "%{crate}" crate. -%files -n %{name}+polars-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%files -n %{name}+serde_json-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 |