Architecture specific change in rpms/rust-below-render.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below-render.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-below-render.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 6b9a685b0d06dc7157f095f562a2757bc2e19bea
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 10:39:37 2021 -0700
import #1972869
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..778ac84
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/below-render-0.2.0.crate
diff --git a/rust-below-render.spec b/rust-below-render.spec
new file mode 100644
index 0000000..6b60591
--- /dev/null
+++ b/rust-below-render.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate below-render
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Render crate for below
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/below-render
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Render crate for below.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{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 "default" feature of "%{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
+* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..865d860
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (below-render-0.2.0.crate) = 891c873f3f16977dfe97d9df21bcfe5bb05b8ce0054d55a7341e887f4c61d3fcf1ab08f79b555762937c1a758da15ea8d18c9679baa380559796460e2ba7782a
2 years, 10 months
Architecture specific change in rpms/rust-below-model.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below-model.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-below-model.git/commit/?id=9....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 98291417e819c3917e85e8108400d8131c734311
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 09:46:19 2021 -0700
import #1972804
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6e107a8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/below-model-0.2.0.crate
diff --git a/below-model-fix-metadata.diff b/below-model-fix-metadata.diff
new file mode 100644
index 0000000..84651e9
--- /dev/null
+++ b/below-model-fix-metadata.diff
@@ -0,0 +1,20 @@
+--- below-model-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ below-model-0.2.0/Cargo.toml 2021-06-16T16:31:32.715340+00:00
+@@ -31,7 +31,7 @@
+ version = "0.3"
+
+ [dependencies.os_info]
+-version = "=2.0.1"
++version = "3.0.6"
+
+ [dependencies.procfs]
+ version = "0.2.0"
+@@ -41,7 +41,7 @@
+ version = "1.4.2"
+
+ [dependencies.serde]
+-version = "=1.0.118"
++version = "1.0.126"
+ features = ["derive", "rc"]
+
+ [dependencies.serde_json]
diff --git a/rust-below-model.spec b/rust-below-model.spec
new file mode 100644
index 0000000..72b7552
--- /dev/null
+++ b/rust-below-model.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate below-model
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Model crate for below
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/below-model
+Source: %{crates_source}
+# Bump serde to 1.0.126 and os_info to 3.0.6
+Patch0: below-model-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Model crate for below.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%{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 "default" feature of "%{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
+* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8689e21
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (below-model-0.2.0.crate) = 5df764a5402d55f41d26d2c035abf2d4a74d9c389479600be78e3488c566d79a2221f6afab79cc8795906b6efab687f0c822dfa3cdd06f022aae0db11daa5f4a
2 years, 10 months
Architecture specific change in rpms/rust-below-dump.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below-dump.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-below-dump.git/commit/?id=22....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 227c72ce03ef3782e212e7fa012dbd5bbb1277df
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 11:14:10 2021 -0700
import #1972917
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4a29965
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/below-dump-0.2.0.crate
diff --git a/below-dump-fix-metadata.diff b/below-dump-fix-metadata.diff
new file mode 100644
index 0000000..8a04dd7
--- /dev/null
+++ b/below-dump-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- below-dump-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ below-dump-0.2.0/Cargo.toml 2021-06-16T15:53:42.864298+00:00
+@@ -58,4 +58,4 @@
+ version = "0.3.21"
+
+ [dependencies.toml]
+-version = "=0.5.7"
++version = "0.5.8"
diff --git a/rust-below-dump.spec b/rust-below-dump.spec
new file mode 100644
index 0000000..425bce4
--- /dev/null
+++ b/rust-below-dump.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate below-dump
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Dump crate for below
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/below-dump
+Source: %{crates_source}
+# Bump toml to 0.5.8
+Patch0: below-dump-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Dump crate for below.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%{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 "default" feature of "%{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
+* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..a536c08
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (below-dump-0.2.0.crate) = 867c0bba6b17300a5400570de613c5224f31909b6774f99710767b878405caf7eb8acd6d0ba2b0bff4a3abe943dce4de84c589d53d72136e12f1440475f25629
2 years, 10 months
Architecture specific change in rpms/rust-below_derive.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below_derive.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-below_derive.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0115a47207c324a3959a431d0cc27e098b8eced3
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 09:33:24 2021 -0700
import #1972796
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0525717
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/below_derive-0.2.0.crate
diff --git a/rust-below_derive.spec b/rust-below_derive.spec
new file mode 100644
index 0000000..144278f
--- /dev/null
+++ b/rust-below_derive.spec
@@ -0,0 +1,74 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate below_derive
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Proc macros for below
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/below_derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Proc macros for below.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%{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 "default" feature of "%{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
+* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5194277
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (below_derive-0.2.0.crate) = 82cd0c5e711c1e388109001da659d68907fe6d2b485ec9ee96522c85e6ad2be8f655a756a2bd7fa106783135f414be194a26d9f5c7d97bc6360d1c63ecceef33
2 years, 10 months
Architecture specific change in rpms/rust-below-common.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below-common.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-below-common.git/commit/?id=....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 9d50dc79a6aff54ad0d35f29cfc993df678586c8
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 10:05:03 2021 -0700
import #1972866
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1f15893
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/below-common-0.2.0.crate
diff --git a/rust-below-common.spec b/rust-below-common.spec
new file mode 100644
index 0000000..f12af18
--- /dev/null
+++ b/rust-below-common.spec
@@ -0,0 +1,81 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate below-common
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Common below code
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/below-common
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Common below code.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%{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 "default" feature of "%{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
+%ifarch s390x
+# on s390x these tests consistently fail
+%cargo_test -- -- \
+ --skip test_system_time_from_date_and_adjuster_fail \
+ --skip test_system_time_from_date_and_adjuster_fail
+%else
+%cargo_test
+%endif
+%endif
+
+%changelog
+* Tue Jun 15 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..968dd9c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (below-common-0.2.0.crate) = c4eae69b34039e79de099debf6ea2b2069483838c94d39b6d7c8dc4fcc6b31ce2024aa2ba07bc6a7f2253ddd7583749efa2de0fa02fa7f7df5ef4e76f76d2b6c
2 years, 10 months
Architecture specific change in rpms/rust-below.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below.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-below.git/commit/?id=bd287ce....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit aee46c8afccf2b16eb33b1e36a514b145e1187d3
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 13:34:54 2021 -0700
Add a few missing things
- Install upstream systemd unit
- Install upstream logrotate config
- Add missing documentation
- Expand the description
diff --git a/README-upstream.md b/README-upstream.md
new file mode 100644
index 0000000..2daa1c2
--- /dev/null
+++ b/README-upstream.md
@@ -0,0 +1,76 @@
+# below
+
+[![CI](https://github.com/facebookincubator/below/workflows/CI/badge.svg)](https://github.com/facebookincubator/below/actions?query=workflow%3ACI+branch%3Amaster+)
+[![Matrix chat](https://img.shields.io/matrix/below:matrix.org)](https://matrix.to/#/!SrWxtbLuRUMrDbftgA:matrix.org?via=matrix.org)
+
+`below` is an interactive tool to view and record historical system data. It
+has support for:
+
+* information regarding hardware resource utilization
+* viewing the cgroup hierarchy
+* cgroup and process information
+* pressure stall information (PSI)
+* `record` mode to record system data
+* `replay` mode to replay historical system data
+* `live` mode to view live system data
+* `dump` subcommand to report script-friendly information (eg JSON and CSV)
+
+below does **not** have support for cgroup1.
+
+The name "below" stems from the fact that the below developers rejected many
+of [atop](https://linux.die.net/man/1/atop)'s design and style decisions.
+
+## Demo
+
+<a href="https://asciinema.org/a/355506">
+<img src="https://asciinema.org/a/355506.svg" width="500">
+</a>
+
+## Installing
+
+First, install dependencies listed in [building.md](docs/building.md).
+
+```shell
+$ cargo install below
+$ below --help
+```
+
+For convenience, we also provide a Dockerfile and
+[pre-built images](https://hub.docker.com/r/below/below) on Docker Hub.
+See [docker.md](docs/docker.md) for how to use them.
+
+## Quickstart
+
+Live view of system:
+
+```shell
+$ sudo below live
+```
+
+Run recording daemon:
+
+```shell
+$ sudo cp ~/.cargo/bin/below /bin/below # if using cargo-install
+$ sudo cp resctl/below/etc/below.service /etc/systemd/system
+$ sudo systemctl daemon-reload
+$ sudo systemctl start below
+```
+
+Replay historical data:
+
+```shell
+$ below replay -t "3m ago"
+```
+
+## Comparison with alternative tools
+
+See [comparison.md](docs/comparison.md) for a feature comparison
+with alternative tools.
+
+## Contributing
+
+See the [CONTRIBUTING](CONTRIBUTING.md) file for how to help out.
+
+## License
+
+See [LICENSE](LICENSE) file.
diff --git a/below.service b/below.service
new file mode 100644
index 0000000..6ef4b40
--- /dev/null
+++ b/below.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=below system monitor recording daemon
+After=time-sync.target
+
+[Service]
+ExecStart=/bin/below record --retain-for-s 604800
+# Enable backtraces in errors
+Environment=RUST_LIB_BACKTRACE=1
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=multi-user.target
diff --git a/logrotate.conf b/logrotate.conf
new file mode 100644
index 0000000..90bfe05
--- /dev/null
+++ b/logrotate.conf
@@ -0,0 +1,11 @@
+/var/log/below/error_*.log {
+ daily
+ rotate 14
+ maxage 14
+ copytruncate
+ compress
+ notifempty
+ missingok
+ create 0644 root root
+ su root root
+}
diff --git a/rust-below.spec b/rust-below.spec
index 7cda384..23e3f5c 100644
--- a/rust-below.spec
+++ b/rust-below.spec
@@ -4,9 +4,12 @@
%global crate below
+%global forgeurl https://github.com/facebookincubator/below
+%global commit 584fdef23f4c7a95a009b84746bb193b68843c1a
+
Name: rust-%{crate}
Version: 0.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Interactive tool to view and record historical system data
# Upstream license specification: Apache-2.0
@@ -18,12 +21,33 @@ Patch0: below-fix-metadata.diff
# Fix record_replay_integration test
Patch1: below-fix-tests.patch
+# Get these from the repo as they aren't included in the crate
+Source1: %{forgeurl}/raw/%{commit}/etc/below.service
+Source2: %{forgeurl}/raw/%{commit}/etc/logrotate.conf
+Source3: %{forgeurl}/raw/%{commit}/README.md#/README-upstream.md
+
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
+BuildRequires: systemd-rpm-macros
%global _description %{expand:
-Interactive tool to view and record historical system data.}
+below is an interactive tool to view and record historical system data. It has
+support for:
+
+- information regarding hardware resource utilization
+- viewing the cgroup hierarchy
+- cgroup and process information
+- pressure stall information (PSI)
+- record mode to record system data
+- replay mode to replay historical system data
+- live mode to view live system data
+- dump subcommand to report script-friendly information (e.g. JSON and CSV)
+
+below does not have support for cgroup1.
+
+The name "below" stems from the fact that the below developers rejected many of
+atop's design and style decisions.}
%description %{_description}
@@ -34,12 +58,25 @@ Summary: %{summary}
%files -n %{crate}
%license LICENSE
+%doc README.md docs
%{_bindir}/%{crate}
+%{_unitdir}/%{crate}.service
+%{_sysconfdir}/logrotate.d/%{crate}.conf
%dir %{_localstatedir}/log/%{crate}
+%post -n %{crate}
+%systemd_post %{crate}.service
+
+%preun -n %{crate}
+%systemd_preun %{crate}.service
+
+%postun -n %{crate}
+%systemd_postun_with_restart %{crate}.service
+
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+cp -p %{SOURCE3} README.md
%generate_buildrequires
%cargo_generate_buildrequires
@@ -49,6 +86,9 @@ Summary: %{summary}
%install
%cargo_install
+install -D -p -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{crate}.service
+install -D -p -m0644 %{SOURCE2} \
+ %{buildroot}%{_sysconfdir}/logrotate.d/%{crate}.conf
install -d -m1777 %{buildroot}%{_localstatedir}/log/%{crate}
%if %{with check}
@@ -57,5 +97,11 @@ install -d -m1777 %{buildroot}%{_localstatedir}/log/%{crate}
%endif
%changelog
+* Mon Jun 28 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-2
+- Install upstream systemd unit
+- Install upstream logrotate config
+- Add missing documentation
+- Expand the description
+
* Tue Jun 15 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
- Initial package
commit bd287ce04374f2bb04212db695276d5ccfa089f3
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 11:16:28 2021 -0700
import #1972939
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..93b0b38
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/below-0.2.0.crate
diff --git a/below-fix-metadata.diff b/below-fix-metadata.diff
new file mode 100644
index 0000000..695614f
--- /dev/null
+++ b/below-fix-metadata.diff
@@ -0,0 +1,38 @@
+--- below-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ below-0.2.0/Cargo.toml 2021-06-16T22:24:40.312159+00:00
+@@ -42,7 +42,7 @@
+ package = "below-dump"
+
+ [dependencies.libbpf-rs]
+-version = "0.10.0"
++version = "0.11.0"
+
+ [dependencies.libc]
+ version = "0.2.86"
+@@ -65,7 +65,7 @@
+ version = "1.4.2"
+
+ [dependencies.serde]
+-version = "=1.0.118"
++version = "1.0.126"
+ features = ["derive", "rc"]
+
+ [dependencies.serde_json]
+@@ -93,14 +93,14 @@
+ version = "0.3.21"
+
+ [dependencies.tokio]
+-version = "0.2.25"
++version = "1.6.1"
+ features = ["full", "test-util"]
+
+ [dependencies.toml]
+-version = "=0.5.7"
++version = "0.5.8"
+
+ [dependencies.users]
+-version = "0.9"
++version = "0.11"
+
+ [dependencies.view]
+ version = "0.2.0"
diff --git a/below-fix-tests.patch b/below-fix-tests.patch
new file mode 100644
index 0000000..f32eb2c
--- /dev/null
+++ b/below-fix-tests.patch
@@ -0,0 +1,59 @@
+diff -Naur a/src/test/test_general.rs b/src/test/test_general.rs
+--- a/src/test/test_general.rs 1969-12-31 16:00:00.000000000 -0800
++++ b/src/test/test_general.rs 2021-06-16 16:08:09.168914682 -0700
+@@ -27,19 +27,16 @@
+ .expect("failed to collect sample");
+
+ // Validate some data in the sample
+- assert!(
+- sample
+- .cgroup
+- .pressure
+- .as_ref()
+- .expect("missing memory.pressure")
+- .memory
+- .full
+- .total
+- .as_ref()
+- .expect("missing memory.pressure.total")
+- > &0
+- );
++ sample
++ .cgroup
++ .pressure
++ .as_ref()
++ .expect("missing memory.pressure")
++ .memory
++ .full
++ .total
++ .as_ref()
++ .expect("missing memory.pressure.total");
+ let nr_procs = sample.processes.len();
+ let hostname = sample.system.hostname.clone();
+ let proc0_cgroup = sample
+@@ -75,17 +72,14 @@
+ .expect("failed to get advanced data");
+
+ // Validate some values in restored sample
+- assert!(
+- *restored_sample
+- .cgroup
+- .io_total
+- .as_ref()
+- .expect("missing io.stat")
+- .rbytes_per_sec
+- .as_ref()
+- .expect("missing io stat read bytes per second")
+- == 0.0
+- );
++ restored_sample
++ .cgroup
++ .io_total
++ .as_ref()
++ .expect("missing io.stat")
++ .rbytes_per_sec
++ .as_ref()
++ .expect("missing io stat read bytes per second");
+ assert!(restored_sample.process.processes.len() == nr_procs);
+ assert!(restored_sample.system.hostname == hostname);
+ assert!(
diff --git a/rust-below.spec b/rust-below.spec
new file mode 100644
index 0000000..7cda384
--- /dev/null
+++ b/rust-below.spec
@@ -0,0 +1,61 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global __cargo_skip_build 0
+
+%global crate below
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Interactive tool to view and record historical system data
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/below
+Source: %{crates_source}
+# Bump serde to 1.0.126, tokio to 1.6.1, toml to 0.58, users to 0.11
+Patch0: below-fix-metadata.diff
+# Fix record_replay_integration test
+Patch1: below-fix-tests.patch
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Interactive tool to view and record historical system data.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%{_bindir}/%{crate}
+%dir %{_localstatedir}/log/%{crate}
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+install -d -m1777 %{buildroot}%{_localstatedir}/log/%{crate}
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Tue Jun 15 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e2480dd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (below-0.2.0.crate) = 4f72620ed5c66ead42b5ab50c2a7e975956a6511b23e41056a4452274b7bc8172729b0ff44d9ce524d43024471236d093111a7e9d44239efed0a5a1e38127944
2 years, 10 months
Architecture specific change in rpms/rust-cgroupfs.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cgroupfs.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-cgroupfs.git/commit/?id=9d60....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9d60236ba6815d3c1405d6d06e1c8e8aa16a2be3
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 09:20:42 2021 -0700
import #1972787
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bf9029c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cgroupfs-0.2.0.crate
diff --git a/cgroupfs-fix-32bit.patch b/cgroupfs-fix-32bit.patch
new file mode 100644
index 0000000..1198906
--- /dev/null
+++ b/cgroupfs-fix-32bit.patch
@@ -0,0 +1,12 @@
+diff -Naur a/src/lib.rs b/src/lib.rs
+--- a/src/lib.rs 1969-12-31 16:00:00.000000000 -0800
++++ b/src/lib.rs 2021-06-16 08:28:09.959036069 -0700
+@@ -110,7 +110,7 @@
+ .dir
+ .metadata(".")
+ .map_err(|e| self.io_error(self.dir.recover_path().unwrap_or_else(|_| "".into()), e))?;
+- Ok(meta.stat().st_ino)
++ Ok(meta.stat().st_ino as u64)
+ }
+
+ /// Read a stat from a file that has a single line
diff --git a/cgroupfs-fix-metadata.diff b/cgroupfs-fix-metadata.diff
new file mode 100644
index 0000000..d219215
--- /dev/null
+++ b/cgroupfs-fix-metadata.diff
@@ -0,0 +1,18 @@
+--- cgroupfs-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ cgroupfs-0.2.0/Cargo.toml 2021-06-15T23:49:47.284478+00:00
+@@ -20,13 +20,13 @@
+ license = "Apache-2.0"
+ repository = "https://github.com/facebookincubator/below"
+ [dependencies.nix]
+-version = "0.19"
++version = "0.20"
+
+ [dependencies.openat]
+ version = "0.1.20"
+
+ [dependencies.serde]
+-version = "=1.0.118"
++version = "1.0.126"
+ features = ["derive", "rc"]
+
+ [dependencies.thiserror]
diff --git a/rust-cgroupfs.spec b/rust-cgroupfs.spec
new file mode 100644
index 0000000..01638c2
--- /dev/null
+++ b/rust-cgroupfs.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cgroupfs
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Crate for reading cgroupv2 data
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/cgroupfs
+Source: %{crates_source}
+# Bump serde to 1.0.126 and nix to 0.20
+Patch0: cgroupfs-fix-metadata.diff
+# Fix build issue on 32bit arches
+Patch1: cgroupfs-fix-32bit.patch
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Crate for reading cgroupv2 data.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README
+%{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 "default" feature of "%{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
+* Tue Jun 15 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..dfdcd38
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cgroupfs-0.2.0.crate) = dd22ef7e97bd8c3cb810086c04ac6faedd96b99b112e176034ed28c90227597928740bdc3cad5bdd21f8b97ec35339358055e13d73b3eaaf02e8f618661764fd
2 years, 10 months
Architecture specific change in rpms/rust-fb_procfs.git
by githook-noreply@fedoraproject.org
The package rpms/rust-fb_procfs.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-fb_procfs.git/commit/?id=7cf....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 7cff7f6578ddb7f8a05f8f57dbb53f8ac1d84a5b
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 08:27:09 2021 -0700
Initial package (#1972781)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6039459
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fb_procfs-0.2.0.crate
diff --git a/fb_procfs-fix-metadata.diff b/fb_procfs-fix-metadata.diff
new file mode 100644
index 0000000..540b24a
--- /dev/null
+++ b/fb_procfs-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- fb_procfs-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ fb_procfs-0.2.0/Cargo.toml 2021-06-15T23:53:16.139460+00:00
+@@ -29,7 +29,7 @@
+ version = "0.1.20"
+
+ [dependencies.serde]
+-version = "=1.0.118"
++version = "1.0.126"
+ features = ["derive", "rc"]
+
+ [dependencies.thiserror]
diff --git a/fb_procfs-fix-tests-32bit.patch b/fb_procfs-fix-tests-32bit.patch
new file mode 100644
index 0000000..1fa74a6
--- /dev/null
+++ b/fb_procfs-fix-tests-32bit.patch
@@ -0,0 +1,12 @@
+diff -Naur a/src/test.rs b/src/test.rs
+--- a/src/test.rs 1969-12-31 16:00:00.000000000 -0800
++++ b/src/test.rs 2021-06-16 08:12:25.653600395 -0700
+@@ -92,7 +92,7 @@
+ &self,
+ interface: &str,
+ p: P,
+- content: usize,
++ content: u64,
+ ) {
+ let interface_dir = self.path().join(interface);
+ if !interface_dir.exists() {
diff --git a/rust-fb_procfs.spec b/rust-fb_procfs.spec
new file mode 100644
index 0000000..4260f89
--- /dev/null
+++ b/rust-fb_procfs.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fb_procfs
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Crate for reading procfs
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/fb_procfs
+Source: %{crates_source}
+# Bump serde to 1.0.126
+Patch0: fb_procfs-fix-metadata.diff
+# Fix the tests on 32bit arches
+Patch1: fb_procfs-fix-tests-32bit.patch
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Crate for reading procfs.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README
+%{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 "default" feature of "%{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
+* Tue Jun 15 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..4d16849
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fb_procfs-0.2.0.crate) = 62107ea5907c885555d38bb1f7ab23b4e3f95420b90903601c29d7f15d41bd6c96a69cb5b35e0779fbc7a6a7b267e46392e3abf5d8f2d826d2ecb86471ef76a9
2 years, 10 months
Architecture specific change in rpms/rust-skim.git
by githook-noreply@fedoraproject.org
The package rpms/rust-skim.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-skim.git/commit/?id=6e6f9cab....
Change:
+%ifarch %{arm} %{ix86}
Thanks.
Full change:
============
commit 6e6f9cabcef30871d9c562a06ba1acc2d2eecd59
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Jun 29 11:54:57 2021 +0200
work around harmless test failure on 32-bit architectures
diff --git a/rust-skim.spec b/rust-skim.spec
index 11785c0..a820777 100644
--- a/rust-skim.spec
+++ b/rust-skim.spec
@@ -5,7 +5,7 @@
Name: rust-%{crate}
Version: 0.9.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Fuzzy Finder in Rust
# Upstream license specification: MIT
@@ -123,10 +123,19 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/skim/shell \
%if %{with check}
%check
+%ifarch %{arm} %{ix86}
+# integer overflow in test code on 32-bit architectures
+# https://github.com/lotabout/skim/issues/415
+%cargo_test -- -- --skip test_atoi
+%else
%cargo_test
%endif
+%endif
%changelog
+* Tue Jun 29 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.9.4-2
+- Work around harmless test failure on 32-bit architectures.
+
* Mon Jun 28 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.9.4-1
- Update to version 0.9.4.
- Fixes RHBZ#1889197
2 years, 10 months
Architecture specific change in rpms/rust-radix_trie.git
by githook-noreply@fedoraproject.org
The package rpms/rust-radix_trie.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-radix_trie.git/commit/?id=63....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 63e5cc5bab004813b90ea961fada305dc98a05e4
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 11:01:57 2021 -0700
import #1976329
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c86568a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/radix_trie-0.2.1.crate
diff --git a/radix_trie-fix-metadata.diff b/radix_trie-fix-metadata.diff
new file mode 100644
index 0000000..7c21f38
--- /dev/null
+++ b/radix_trie-fix-metadata.diff
@@ -0,0 +1,69 @@
+diff -Naur a/Cargo.toml b/Cargo.toml
+--- a/Cargo.toml 2020-10-22 03:41:51.000000000 -0700
++++ b/Cargo.toml 2021-06-25 11:28:55.575860642 -0700
+@@ -42,10 +42,10 @@
+ version = "0.3"
+
+ [dev-dependencies.quickcheck]
+-version = "0.4"
++version = "1.0"
+
+ [dev-dependencies.rand]
+-version = "0.3"
++version = "0.8"
+
+ [dev-dependencies.serde_test]
+ version = "1.0"
+diff -Naur a/src/qc_test.rs b/src/qc_test.rs
+--- a/src/qc_test.rs 2019-11-16 23:50:28.000000000 -0800
++++ b/src/qc_test.rs 2021-06-25 11:28:40.618805434 -0700
+@@ -13,21 +13,21 @@
+
+ const MAX_KEYS: usize = 512;
+ const KEY_RUN_LEN: usize = 8;
+-const KEY_MAX_VAL: u8 = 4;
++const KEY_MAX_VAL: usize = 4;
+
+ impl Arbitrary for Key {
+- fn arbitrary<G: Gen>(g: &mut G) -> Key {
+- let len = g.gen::<usize>() % KEY_RUN_LEN;
++ fn arbitrary(g: &mut Gen) -> Key {
++ let len = g.size() % KEY_RUN_LEN;
+ let mut key = Vec::with_capacity(len);
+ for _ in 0..len {
+- key.push(g.gen::<u8>() % KEY_MAX_VAL);
++ key.push((g.size() % KEY_MAX_VAL) as u8);
+ }
+ Key(key)
+ }
+ }
+
+ impl Key {
+- fn extend_random<G: Gen>(&self, g: &mut G) -> Key {
++ fn extend_random(&self, g: &mut Gen) -> Key {
+ self.extend(Key::arbitrary(g))
+ }
+
+@@ -49,18 +49,18 @@
+ }
+
+ impl Arbitrary for RandomKeys {
+- fn arbitrary<G: Gen>(g: &mut G) -> RandomKeys {
+- let num_keys = g.gen::<usize>() % MAX_KEYS;
++ fn arbitrary(g: &mut Gen) -> RandomKeys {
++ let num_keys = g.size() % MAX_KEYS;
+ let mut keys = Vec::with_capacity(num_keys);
+ keys.push(Key::arbitrary(g));
+
+ for _ in 0..num_keys {
+- match g.gen::<u8>() % 10 {
++ match g.size() % 10 {
+ // Generate a new random key.
+ 1 => keys.push(Key::arbitrary(g)),
+ // Extend an existing key.
+ _ => {
+- let i = g.gen::<usize>() % keys.len();
++ let i = g.size() % keys.len();
+ let key = keys[i].extend_random(g);
+ keys.push(key);
+ }
diff --git a/rust-radix_trie.spec b/rust-radix_trie.spec
new file mode 100644
index 0000000..abfce66
--- /dev/null
+++ b/rust-radix_trie.spec
@@ -0,0 +1,90 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate radix_trie
+
+Name: rust-%{crate}
+Version: 0.2.1
+Release: 1%{?dist}
+Summary: Generic radix trie data-structure
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/radix_trie
+Source: %{crates_source}
+# Bump rand to 0.8 and quickcheck to 1.0
+# https://github.com/michaelsproul/rust_radix_trie/pull/65
+Patch0: radix_trie-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Generic radix trie data-structure.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc examples README.md CHANGELOG.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 "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "serde" feature of "%{crate}" crate.
+
+%files -n %{name}+serde-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
+* Fri Jun 25 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.2.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..1b167e9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (radix_trie-0.2.1.crate) = f6f54511860b6b878c83de4455bdbd71289599dba93234d5c7469342f3401cba99a9ea6bca2d32df2e31ba657f40e42e7d5fd7de66786ddd2814e22fe867f9d8
2 years, 10 months