summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-03-26 11:18:18 -0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-03-26 11:18:18 -0700
commit1b54935dd006eba02c80f61df600ea5cf36d6529 (patch)
tree780c847667a1a5693f2ff75013245eb1b2255b30
parent673b8c532f559ff365fa1273559c6cf3558e414b (diff)
downloadspecs-1b54935dd006eba02c80f61df600ea5cf36d6529.tar.gz
specs-1b54935dd006eba02c80f61df600ea5cf36d6529.tar.xz
specs-1b54935dd006eba02c80f61df600ea5cf36d6529.zip
nu 0.60:
- path - json Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--rust/rust-nu-json.spec24
-rw-r--r--rust/rust-nu-path.spec18
2 files changed, 22 insertions, 20 deletions
diff --git a/rust/rust-nu-json.spec b/rust/rust-nu-json.spec
index 9a1d132..a78e69d 100644
--- a/rust/rust-nu-json.spec
+++ b/rust/rust-nu-json.spec
@@ -1,13 +1,12 @@
-# Generated by rust2rpm 20
-# problems with paths
-%bcond_with check
+# Generated by rust2rpm 21
+%bcond_without check
%global debug_package %{nil}
%global crate nu-json
Name: rust-%{crate}
-Version: 0.42.0
-Release: %autorelease
+Version: 0.60.0
+Release: 1%{?dist}
Summary: Fork of serde-hjson
# Upstream license specification: MIT
@@ -17,7 +16,7 @@ Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Fork of serde-hjson.}
@@ -34,8 +33,8 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,7 +46,7 @@ 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}+linked-hash-map-devel
Summary: %{summary}
@@ -59,7 +58,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+preserve_order-devel
Summary: %{summary}
@@ -71,7 +70,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@@ -92,4 +91,5 @@ use the "preserve_order" feature of the "%{crate}" crate.
%endif
%changelog
-%autochangelog
+* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.60.0-1
+- Initial package
diff --git a/rust/rust-nu-path.spec b/rust/rust-nu-path.spec
index 435eb5d..f62119a 100644
--- a/rust/rust-nu-path.spec
+++ b/rust/rust-nu-path.spec
@@ -1,12 +1,12 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate nu-path
Name: rust-%{crate}
-Version: 0.42.0
-Release: %autorelease
+Version: 0.60.0
+Release: 1%{?dist}
Summary: Path handling library for Nushell
# Upstream license specification: MIT
@@ -16,7 +16,7 @@ Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Path handling library for Nushell.}
@@ -33,8 +33,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%doc README.md
-%{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}
@@ -46,7 +47,7 @@ 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
@@ -67,4 +68,5 @@ use the "default" feature of the "%{crate}" crate.
%endif
%changelog
-%autochangelog
+* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.60.0-1
+- Initial package