Architecture specific change in rpms/rust-rd-hashd.git
by githook-noreply@fedoraproject.org
The package rpms/rust-rd-hashd.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-rd-hashd.git/commit/?id=ecfb....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b875a8b5e4c94070d6cccdedf86a3f33712fd627
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Oct 22 10:25:44 2021 -0700
Build for epel8
diff --git a/.gitignore b/.gitignore
index 0e2dc3f..1c2a31c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/rd-hashd-2.1.2.crate
+/rd-hashd-2.1.2-vendor.tar.gz
diff --git a/rust-rd-hashd.spec b/rust-rd-hashd.spec
index b0420c5..6c5b68f 100644
--- a/rust-rd-hashd.spec
+++ b/rust-rd-hashd.spec
@@ -4,6 +4,13 @@
%global crate rd-hashd
+%if 0%{?el8}
+# el8 doesn't have these macros
+%global __crates_url https://crates.io/api/v1/crates/
+%global crates_source %{__crates_url}%{crate}/%{version}/download#/%{crate}-%{version}.crate
+%global version_no_tilde %{version}
+%endif
+
Name: rust-%{crate}
Version: 2.1.2
Release: %autorelease
@@ -13,12 +20,18 @@ Summary: Latency-sensitive pseudo workload for resctl-demo
License: ASL 2.0 and BSD and MIT
URL: https://crates.io/crates/rd-hashd
Source: %{crates_source}
+# Vendored dependencies for EPEL, update with ./update-vendor-tarball.sh
+Source1: %{crate}-%{version}-vendor.tar.gz
# hashd: build fix for 32bit archs
Patch0: https://github.com/facebookexperimental/resctl-demo/commit/dbe5735bdf005a...
ExclusiveArch: %{rust_arches}
+%if 0%{?el8}
+BuildRequires: rust-toolset
+%else
BuildRequires: rust-packaging
+%endif
%global _description %{expand:
Latency-sensitive pseudo workload for resctl-demo.}
@@ -37,10 +50,14 @@ Summary: %{summary}
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p2
+%if 0%{?el8}
+%cargo_prep -V 1
+%else
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
+%endif
%build
%cargo_build
diff --git a/sources b/sources
index 1ddc2df..cb31e9b 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (rd-hashd-2.1.2.crate) = 0e5b66efa2b2089f2c1efe7dc4e61982f9e2597daa103265d848e6b3a4e0c0089fb3c660e1ea6458f4def1c1e4f07baf7302d4bb79a509633749ac7a27cb5827
+SHA512 (rd-hashd-2.1.2-vendor.tar.gz) = 501237685f68889504556cc4be89584cd44c86636d5af0140de39d4688b6f3bc3d90bb4d01f2a901a8e93ea16f4f718f2a215b797725e92693a86bc5ae249911
diff --git a/update-vendor-tarball.sh b/update-vendor-tarball.sh
new file mode 100755
index 0000000..90ed3ef
--- /dev/null
+++ b/update-vendor-tarball.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+name='rd-hashd'
+specfile="rust-${name}.spec"
+version=$(rpm -q --qf '%{VERSION}\n' --specfile "$specfile" | head -1)
+nv="${name}-${version}"
+crate="${nv}.crate"
+vendor_tarball="${nv}-vendor.tar.gz"
+
+if [ -f "$vendor_tarball" ]; then
+ echo "${vendor_tarball} already exists, aborting"
+ exit 1
+fi
+
+[ -f "$crate" ] || spectool -g "$specfile"
+tardir="$PWD"
+workdir=$(mktemp -d)
+trap 'rm -rf "$workdir"' EXIT
+
+tar xvzf "$tardir/$crate" -C "$workdir"
+(cd "${workdir}/${nv}" && \
+ cargo vendor && \
+ tar cvzf "${tardir}/${vendor_tarball}" vendor/)
+
+exit 0
commit ecfb493f4c09a8135601d48df566c2f97f4d7b11
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Oct 21 05:47:18 2021 -0700
Initial import; Fixes: RHBZ#1990927
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0e2dc3f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/rd-hashd-2.1.2.crate
diff --git a/dbe5735bdf005a24e54dd19559016a59f6f43536.patch b/dbe5735bdf005a24e54dd19559016a59f6f43536.patch
new file mode 100644
index 0000000..5c519b4
--- /dev/null
+++ b/dbe5735bdf005a24e54dd19559016a59f6f43536.patch
@@ -0,0 +1,30 @@
+From dbe5735bdf005a24e54dd19559016a59f6f43536 Mon Sep 17 00:00:00 2001
+From: Tejun Heo <htejun(a)fb.com>
+Date: Wed, 20 Oct 2021 11:10:07 -1000
+Subject: [PATCH] hashd: build fix for 32bit archs
+
+---
+ rd-hashd/src/testfiles.rs | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/rd-hashd/src/testfiles.rs b/rd-hashd/src/testfiles.rs
+index 28e046a..c3893b1 100644
+--- a/rd-hashd/src/testfiles.rs
++++ b/rd-hashd/src/testfiles.rs
+@@ -4,6 +4,7 @@ use log::{debug, trace, warn};
+ use num::Integer;
+ use rand::rngs::SmallRng;
+ use rand::SeedableRng;
++use std::convert::TryInto;
+ use std::ffi::OsStr;
+ use std::fs;
+ use std::io::{Read, Seek, SeekFrom, Write};
+@@ -177,7 +178,7 @@ impl TestFiles {
+ libc::posix_fadvise(
+ f.as_raw_fd(),
+ 0,
+- self.unit_size as i64,
++ self.unit_size.try_into().unwrap(),
+ libc::POSIX_FADV_DONTNEED,
+ )
+ };
diff --git a/rust-rd-hashd.spec b/rust-rd-hashd.spec
new file mode 100644
index 0000000..b0420c5
--- /dev/null
+++ b/rust-rd-hashd.spec
@@ -0,0 +1,57 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global __cargo_skip_build 0
+
+%global crate rd-hashd
+
+Name: rust-%{crate}
+Version: 2.1.2
+Release: %autorelease
+Summary: Latency-sensitive pseudo workload for resctl-demo
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0 and BSD and MIT
+URL: https://crates.io/crates/rd-hashd
+Source: %{crates_source}
+# hashd: build fix for 32bit archs
+Patch0: https://github.com/facebookexperimental/resctl-demo/commit/dbe5735bdf005a...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Latency-sensitive pseudo workload for resctl-demo.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md
+%{_bindir}/rd-hashd
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p2
+%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/sources b/sources
new file mode 100644
index 0000000..1ddc2df
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (rd-hashd-2.1.2.crate) = 0e5b66efa2b2089f2c1efe7dc4e61982f9e2597daa103265d848e6b3a4e0c0089fb3c660e1ea6458f4def1c1e4f07baf7302d4bb79a509633749ac7a27cb5827
2 years, 5 months
Architecture specific change in rpms/rust-rd-agent-intf.git
by githook-noreply@fedoraproject.org
The package rpms/rust-rd-agent-intf.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-rd-agent-intf.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f6c39bcce85d015c60eb8157aba23b0f5cc56259
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Tue Sep 21 07:27:14 2021 -0700
Update to 2.1.2; Fixes: RHBZ#2006358
diff --git a/.gitignore b/.gitignore
index c0350a2..a20be4a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/rd-agent-intf-2.1.1.crate
+/rd-agent-intf-2.1.2.crate
diff --git a/rust-rd-agent-intf.spec b/rust-rd-agent-intf.spec
index 837516e..4b1d032 100644
--- a/rust-rd-agent-intf.spec
+++ b/rust-rd-agent-intf.spec
@@ -5,7 +5,7 @@
%global crate rd-agent-intf
Name: rust-%{crate}
-Version: 2.1.1
+Version: 2.1.2
Release: %autorelease
Summary: Management agent for resctl-demo (interface library)
diff --git a/sources b/sources
index eb86c29..faf6d5c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rd-agent-intf-2.1.1.crate) = de881a124cd159336072731c573735422b98eedbdce48fdfad15b0e70189ee5cf76cd795dc34eca701f1e80757292090d36340e0ef1f0297faf9a2fc2a79581a
+SHA512 (rd-agent-intf-2.1.2.crate) = 43c29dadfca99d566f7197454b0bcca45fb75126d1f6452c2925281c1c37e12fb70d20661a6d70a28963c59205f290b2cff676f959b01c454b47c02b0f086973
commit 689abc0ae75d3adccfdb3a3c671cb1a7c9c658c8
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Wed Sep 1 13:30:31 2021 -0700
Initial import; Fixes: RHBZ#1990909
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c0350a2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/rd-agent-intf-2.1.1.crate
diff --git a/rust-rd-agent-intf.spec b/rust-rd-agent-intf.spec
new file mode 100644
index 0000000..837516e
--- /dev/null
+++ b/rust-rd-agent-intf.spec
@@ -0,0 +1,74 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate rd-agent-intf
+
+Name: rust-%{crate}
+Version: 2.1.1
+Release: %autorelease
+Summary: Management agent for resctl-demo (interface library)
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/rd-agent-intf
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Management agent for resctl-demo (interface library).}
+
+%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.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
+
+%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/sources b/sources
new file mode 100644
index 0000000..eb86c29
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (rd-agent-intf-2.1.1.crate) = de881a124cd159336072731c573735422b98eedbdce48fdfad15b0e70189ee5cf76cd795dc34eca701f1e80757292090d36340e0ef1f0297faf9a2fc2a79581a
2 years, 5 months
Architecture specific change in rpms/rust-rd-agent.git
by githook-noreply@fedoraproject.org
The package rpms/rust-rd-agent.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-rd-agent.git/commit/?id=4fbd....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 4aa273cbf2626d446f83a6588d72378fbaa3161a
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Oct 22 10:27:50 2021 -0700
Build for epel8
diff --git a/.gitignore b/.gitignore
index 0907d6e..6195b17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/linux-5.8.11.tar.xz
/rd-agent-2.1.2.crate
+/rd-agent-2.1.2-vendor.tar.gz
diff --git a/rust-rd-agent.spec b/rust-rd-agent.spec
index 61a5e25..1d80f74 100644
--- a/rust-rd-agent.spec
+++ b/rust-rd-agent.spec
@@ -4,6 +4,13 @@
%global crate rd-agent
+%if 0%{?el8}
+# el8 doesn't have these macros
+%global __crates_url https://crates.io/api/v1/crates/
+%global crates_source %{__crates_url}%{crate}/%{version}/download#/%{crate}-%{version}.crate
+%global version_no_tilde %{version}
+%endif
+
%global selinuxtype targeted
%bcond_without selinux
@@ -18,6 +25,8 @@ URL: https://crates.io/crates/rd-agent
Source: %{crates_source}
# Used as a data file by rd-agent for the compile sideload
Source1: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.8.11.tar.xz
+# Vendored dependencies for EPEL, update with ./update-vendor-tarball.sh
+Source2: %{crate}-%{version}-vendor.tar.gz
# SELinux policy
Source10: %{crate}.fc
Source11: %{crate}.if
@@ -25,7 +34,12 @@ Source12: %{crate}.te
ExclusiveArch: %{rust_arches}
+%if 0%{?el8}
+BuildRequires: rust-toolset
+%else
BuildRequires: rust-packaging
+%endif
+
%if 0%{?with_selinux}
BuildRequires: selinux-policy-devel
%endif
@@ -106,10 +120,14 @@ mkdir selinux
cp -p %{SOURCE10} %{SOURCE11} %{SOURCE12} selinux
%endif
+%if 0%{?el8}
+%cargo_prep -V 2
+%else
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
+%endif
%build
%cargo_build
diff --git a/sources b/sources
index cc27c9f..314aeaa 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
-SHA512 (linux-5.8.11.tar.xz) = bb6994f09aabfb0076f3023dd8359c5c569a4b398d3a3c3c8d6b27052092cab56ad675f45dd6ceba7fe431f2a6a587858f3c21415b5a00adb346bd2c68d85b0f
SHA512 (rd-agent-2.1.2.crate) = 15dae4e8d6cb2466130eeb208e387e5cc2bc1c0179dd1261057f657738c7f1dc5b54cb29d4a37074aba7196d535b91ee5058b90403c27a12115dfa1ce87712d0
+SHA512 (linux-5.8.11.tar.xz) = bb6994f09aabfb0076f3023dd8359c5c569a4b398d3a3c3c8d6b27052092cab56ad675f45dd6ceba7fe431f2a6a587858f3c21415b5a00adb346bd2c68d85b0f
+SHA512 (rd-agent-2.1.2-vendor.tar.gz) = 67bbbd761c7788c3689f1d67e720e4cafc38442b2f64e3ff384927a90ccad458b0e648224e1fa46c41550a554e17819cc7a23606d2598d1e40589fe02377ed39
diff --git a/update-vendor-tarball.sh b/update-vendor-tarball.sh
new file mode 100755
index 0000000..189ec61
--- /dev/null
+++ b/update-vendor-tarball.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+name='rd-agent'
+specfile="rust-${name}.spec"
+version=$(rpm -q --qf '%{VERSION}\n' --specfile "$specfile" | head -1)
+nv="${name}-${version}"
+crate="${nv}.crate"
+vendor_tarball="${nv}-vendor.tar.gz"
+
+if [ -f "$vendor_tarball" ]; then
+ echo "${vendor_tarball} already exists, aborting"
+ exit 1
+fi
+
+[ -f "$crate" ] || spectool -g "$specfile"
+tardir="$PWD"
+workdir=$(mktemp -d)
+trap 'rm -rf "$workdir"' EXIT
+
+tar xvzf "$tardir/$crate" -C "$workdir"
+(cd "${workdir}/${nv}" && \
+ cargo vendor && \
+ tar cvzf "${tardir}/${vendor_tarball}" vendor/)
+
+exit 0
commit 4fbdbd183c5632fa3cc149664225a2ffee22ab38
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Oct 21 12:17:45 2021 -0700
Initial import; Fixes: RHBZ#1990930
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0907d6e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/linux-5.8.11.tar.xz
+/rd-agent-2.1.2.crate
diff --git a/rd-agent.fc b/rd-agent.fc
new file mode 100644
index 0000000..f8a1a5c
--- /dev/null
+++ b/rd-agent.fc
@@ -0,0 +1,4 @@
+/usr/bin/rd-agent -- gen_context(system_u:object_r:resctl_demo_exec_t,s0)
+
+/var/lib/resctl-demo/misc-bin(/.*)? gen_context(system_u:object_r:var_lib_resctl_demo_bin_t,s0)
+/var/lib/resctl-demo/sideload-bin(/.*)? gen_context(system_u:object_r:var_lib_resctl_demo_bin_t,s0)
diff --git a/rd-agent.if b/rd-agent.if
new file mode 100644
index 0000000..2e81779
--- /dev/null
+++ b/rd-agent.if
@@ -0,0 +1,2 @@
+##
+rd-agentd interface
diff --git a/rd-agent.te b/rd-agent.te
new file mode 100644
index 0000000..2940ea0
--- /dev/null
+++ b/rd-agent.te
@@ -0,0 +1,23 @@
+policy_module(rd-agent, 1.0.0)
+
+########################################
+#
+# Declarations
+#
+
+type resctl_demo_t;
+type resctl_demo_exec_t;
+init_daemon_domain(resctl_demo_t, resctl_demo_exec_t);
+
+type var_lib_resctl_demo_bin_t;
+files_type(var_lib_resctl_demo_bin_t);
+
+########################################
+#
+# rd-agent local policy
+#
+
+allow resctl_demo_exec_t var_lib_resctl_demo_bin_t:file execute;
+
+manage_dirs_pattern(resctl_demo_exec_t, var_lib_resctl_demo_bin_t, var_lib_resctl_demo_bin_t);
+manage_files_pattern(resctl_demo_exec_t, var_lib_resctl_demo_bin_t, var_lib_resctl_demo_bin_t);
diff --git a/rust-rd-agent.spec b/rust-rd-agent.spec
new file mode 100644
index 0000000..61a5e25
--- /dev/null
+++ b/rust-rd-agent.spec
@@ -0,0 +1,138 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global __cargo_skip_build 0
+
+%global crate rd-agent
+
+%global selinuxtype targeted
+%bcond_without selinux
+
+Name: rust-%{crate}
+Version: 2.1.2
+Release: %autorelease
+Summary: Management agent for resctl-demo
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0 and MIT
+URL: https://crates.io/crates/rd-agent
+Source: %{crates_source}
+# Used as a data file by rd-agent for the compile sideload
+Source1: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.8.11.tar.xz
+# SELinux policy
+Source10: %{crate}.fc
+Source11: %{crate}.if
+Source12: %{crate}.te
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+%if 0%{?with_selinux}
+BuildRequires: selinux-policy-devel
+%endif
+
+%global _description %{expand:
+Management agent for resctl-demo.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%if 0%{?with_selinux}
+Requires: (%{crate}-selinux if selinux-policy-%{selinuxtype})
+%endif
+Recommends: rd-hashd = %{version}
+Recommends: %{crate}-data = %{version}-%{release}
+Recommends: bcc
+Recommends: fio
+Recommends: oomd
+Recommends: stress
+Recommends: tar
+Recommends: wget
+Recommends: xz
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md
+%{_bindir}/rd-agent
+%attr(2775, root, wheel) %dir %{_sharedstatedir}/resctl-demo
+
+%package -n %{crate}-data
+Summary: Data files for %{crate}
+BuildArch: noarch
+
+%description -n %{crate}-data
+This package contains data files for %{crate}.
+
+%files -n %{crate}-data
+%{_datadir}/resctl-demo
+
+%if 0%{?with_selinux}
+%package -n %{crate}-selinux
+Summary: SELinux policy for %{crate}
+BuildArch: noarch
+Requires: selinux-policy-%{selinuxtype}
+Requires(post): selinux-policy-%{selinuxtype}
+%{?selinux_requires}
+
+%description -n %{crate}-selinux
+This package contains the SELinux policy for %{crate}.
+
+%pre -n %{crate}-selinux
+%selinux_relabel_pre -s %{selinuxtype}
+
+%post -n %{crate}-selinux
+%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{crate}.pp.bz2
+%selinux_relabel_post -s %{selinuxtype}
+
+%postun -n %{crate}-selinux
+if [ $1 -eq 0 ]; then
+ %selinux_modules_uninstall -s %{selinuxtype} %{crate}
+ %selinux_relabel_post -s %{selinuxtype}
+fi
+
+%files -n %{crate}-selinux
+%{_datadir}/selinux/packages/%{selinuxtype}/%{crate}.pp.*
+%ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{crate}
+%endif
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+
+%if 0%{?with_selinux}
+mkdir selinux
+cp -p %{SOURCE10} %{SOURCE11} %{SOURCE12} selinux
+%endif
+
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%if 0%{?with_selinux}
+make -C selinux -f %{_datadir}/selinux/devel/Makefile %{crate}.pp
+bzip2 -9 selinux/%{crate}.pp
+%endif
+
+%install
+%cargo_install
+install -Dpm0644 %SOURCE1 %{buildroot}%{_datadir}/resctl-demo/linux.tar.xz
+mkdir -p %{buildroot}%{_sharedstatedir}/resctl-demo
+
+%if 0%{?with_selinux}
+install -Dm0644 selinux/%{crate}.pp.bz2 \
+ %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{crate}.pp.bz2
+%endif
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..cc27c9f
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (linux-5.8.11.tar.xz) = bb6994f09aabfb0076f3023dd8359c5c569a4b398d3a3c3c8d6b27052092cab56ad675f45dd6ceba7fe431f2a6a587858f3c21415b5a00adb346bd2c68d85b0f
+SHA512 (rd-agent-2.1.2.crate) = 15dae4e8d6cb2466130eeb208e387e5cc2bc1c0179dd1261057f657738c7f1dc5b54cb29d4a37074aba7196d535b91ee5058b90403c27a12115dfa1ce87712d0
2 years, 5 months
Architecture specific change in rpms/rust-quantiles.git
by githook-noreply@fedoraproject.org
The package rpms/rust-quantiles.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-quantiles.git/commit/?id=a01....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a011f4a4f84964d65ee1b298d0a86622ed734ad0
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Aug 27 08:26:22 2021 -0700
Initial import; Fixes: RHBZ#1990925
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..21256d8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/quantiles-0.7.1.crate
diff --git a/rust-quantiles.spec b/rust-quantiles.spec
new file mode 100644
index 0000000..9c451f0
--- /dev/null
+++ b/rust-quantiles.spec
@@ -0,0 +1,111 @@
+# Generated by rust2rpm 18
+# Disable tests due to the outdated quickcheck dev-dependency
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate quantiles
+
+Name: rust-%{crate}
+Version: 0.7.1
+Release: %autorelease
+Summary: Collection of approximate quantile algorithms
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/quantiles
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Collection of approximate quantile algorithms.}
+
+%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.txt
+%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 "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
+
+%package -n %{name}+serde_derive-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde_derive-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "serde_derive" feature of "%{crate}" crate.
+
+%files -n %{name}+serde_derive-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+serde_support-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde_support-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "serde_support" feature of "%{crate}" crate.
+
+%files -n %{name}+serde_support-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/sources b/sources
new file mode 100644
index 0000000..7aebe09
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (quantiles-0.7.1.crate) = b9585ca1f4e7337c7410649c9e66e89132e780e87ff3565ea58e2eecd2fc6ab6d066e04a6eb0f6b346b6061fe6b4036a3f8ec65c8cfea1bb018f2cc7807a2898
2 years, 5 months
Architecture specific change in rpms/rust-plotlib.git
by githook-noreply@fedoraproject.org
The package rpms/rust-plotlib.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-plotlib.git/commit/?id=222da....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 222da9e3be5c982e5d63267e5add149d9fe88dab
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Sat Aug 28 13:03:00 2021 -0700
Initial import; Fixes: RHBZ#1990502
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..020dde3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/plotlib-0.5.1.crate
diff --git a/plotlib-fix-metadata.diff b/plotlib-fix-metadata.diff
new file mode 100644
index 0000000..5e7a907
--- /dev/null
+++ b/plotlib-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- plotlib-0.5.1/Cargo.toml 2020-03-28T11:28:55+00:00
++++ plotlib-0.5.1/Cargo.toml 2021-08-05T14:31:28.417113+00:00
+@@ -25,6 +25,6 @@
+ version = "0.1.7"
+
+ [dependencies.svg]
+-version = "0.7.1"
++version = "0.10"
+ [badges.travis-ci]
+ repository = "milliams/plotlib"
diff --git a/rust-plotlib.spec b/rust-plotlib.spec
new file mode 100644
index 0000000..2d34121
--- /dev/null
+++ b/rust-plotlib.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate plotlib
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: %autorelease
+Summary: Pure Rust plotting library
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/plotlib
+Source: %{crates_source}
+# Initial patched metadata
+# Bump svg to 0.10
+# https://github.com/milliams/plotlib/pull/70
+Patch0: plotlib-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Pure Rust plotting library.}
+
+%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.md CHANGELOG
+%{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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a72f33f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (plotlib-0.5.1.crate) = 7dd75912f93f77f2a035f97781191c42a8edf6f8bfa8e1f7afe8ec9bf6b7e048d62b205f1615f7d91f375c9f2b850b403a9dd11877647f24956636d70f129d0d
2 years, 5 months
Architecture specific change in rpms/rust-pid.git
by githook-noreply@fedoraproject.org
The package rpms/rust-pid.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-pid.git/commit/?id=ce01e8034....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit ce01e80342c0d003d9ceb5593ae8955442cd8afc
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Aug 26 10:42:44 2021 -0700
Initial import; Fixes: RHBZ#1990503
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8d4cc29
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/pid-3.0.0.crate
diff --git a/rust-pid.spec b/rust-pid.spec
new file mode 100644
index 0000000..374fcd2
--- /dev/null
+++ b/rust-pid.spec
@@ -0,0 +1,86 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate pid
+
+Name: rust-%{crate}
+Version: 3.0.0
+Release: %autorelease
+Summary: PID controller
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/pid
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+PID controller.}
+
+%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-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 "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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..fd0da91
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pid-3.0.0.crate) = b765b8d19f3fabbebb5b5f75bb417fa2244893f9168164682f0b537a6312e8e1bd37c84eaf7f4c3b38f78b6d0bee6557b37f8a0abe6a208792aafd7a030f7e2b
2 years, 5 months
Architecture specific change in rpms/rust-linux_proc.git
by githook-noreply@fedoraproject.org
The package rpms/rust-linux_proc.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-linux_proc.git/commit/?id=53....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 53e946cb082b988719ebb27f57b1418a61bbde61
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Sep 3 14:33:22 2021 -0700
Initial import; Fixes: RHBZ#1990649
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1c75565
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/linux_proc-0.1.1.crate
diff --git a/linux_proc-fix-metadata.diff b/linux_proc-fix-metadata.diff
new file mode 100644
index 0000000..528e8d1
--- /dev/null
+++ b/linux_proc-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- linux_proc-0.1.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ linux_proc-0.1.1/Cargo.toml 2021-09-03T16:45:46.703638+00:00
+@@ -22,7 +22,5 @@
+ categories = ["command-line-interface", "filesystem", "os::unix-apis", "parser-implementations"]
+ license = "MIT/Apache-2.0"
+ repository = "https://github.com/derekdreery/linux_proc"
+-[dev-dependencies.quicli]
+-version = "0.3"
+ [badges.travis-ci]
+ repository = "derekdreery/linux_proc"
diff --git a/linux_proc-license.patch b/linux_proc-license.patch
new file mode 100644
index 0000000..00d7116
--- /dev/null
+++ b/linux_proc-license.patch
@@ -0,0 +1,230 @@
+diff --git a/LICENSE-APACHE b/LICENSE-APACHE
+new file mode 100644
+index 0000000..1b5ec8b
+--- /dev/null
++++ b/LICENSE-APACHE
+@@ -0,0 +1,176 @@
++ Apache License
++ Version 2.0, January 2004
++ http://www.apache.org/licenses/
++
++TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
++
++1. Definitions.
++
++ "License" shall mean the terms and conditions for use, reproduction,
++ and distribution as defined by Sections 1 through 9 of this document.
++
++ "Licensor" shall mean the copyright owner or entity authorized by
++ the copyright owner that is granting the License.
++
++ "Legal Entity" shall mean the union of the acting entity and all
++ other entities that control, are controlled by, or are under common
++ control with that entity. For the purposes of this definition,
++ "control" means (i) the power, direct or indirect, to cause the
++ direction or management of such entity, whether by contract or
++ otherwise, or (ii) ownership of fifty percent (50%) or more of the
++ outstanding shares, or (iii) beneficial ownership of such entity.
++
++ "You" (or "Your") shall mean an individual or Legal Entity
++ exercising permissions granted by this License.
++
++ "Source" form shall mean the preferred form for making modifications,
++ including but not limited to software source code, documentation
++ source, and configuration files.
++
++ "Object" form shall mean any form resulting from mechanical
++ transformation or translation of a Source form, including but
++ not limited to compiled object code, generated documentation,
++ and conversions to other media types.
++
++ "Work" shall mean the work of authorship, whether in Source or
++ Object form, made available under the License, as indicated by a
++ copyright notice that is included in or attached to the work
++ (an example is provided in the Appendix below).
++
++ "Derivative Works" shall mean any work, whether in Source or Object
++ form, that is based on (or derived from) the Work and for which the
++ editorial revisions, annotations, elaborations, or other modifications
++ represent, as a whole, an original work of authorship. For the purposes
++ of this License, Derivative Works shall not include works that remain
++ separable from, or merely link (or bind by name) to the interfaces of,
++ the Work and Derivative Works thereof.
++
++ "Contribution" shall mean any work of authorship, including
++ the original version of the Work and any modifications or additions
++ to that Work or Derivative Works thereof, that is intentionally
++ submitted to Licensor for inclusion in the Work by the copyright owner
++ or by an individual or Legal Entity authorized to submit on behalf of
++ the copyright owner. For the purposes of this definition, "submitted"
++ means any form of electronic, verbal, or written communication sent
++ to the Licensor or its representatives, including but not limited to
++ communication on electronic mailing lists, source code control systems,
++ and issue tracking systems that are managed by, or on behalf of, the
++ Licensor for the purpose of discussing and improving the Work, but
++ excluding communication that is conspicuously marked or otherwise
++ designated in writing by the copyright owner as "Not a Contribution."
++
++ "Contributor" shall mean Licensor and any individual or Legal Entity
++ on behalf of whom a Contribution has been received by Licensor and
++ subsequently incorporated within the Work.
++
++2. Grant of Copyright License. Subject to the terms and conditions of
++ this License, each Contributor hereby grants to You a perpetual,
++ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
++ copyright license to reproduce, prepare Derivative Works of,
++ publicly display, publicly perform, sublicense, and distribute the
++ Work and such Derivative Works in Source or Object form.
++
++3. Grant of Patent License. Subject to the terms and conditions of
++ this License, each Contributor hereby grants to You a perpetual,
++ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
++ (except as stated in this section) patent license to make, have made,
++ use, offer to sell, sell, import, and otherwise transfer the Work,
++ where such license applies only to those patent claims licensable
++ by such Contributor that are necessarily infringed by their
++ Contribution(s) alone or by combination of their Contribution(s)
++ with the Work to which such Contribution(s) was submitted. If You
++ institute patent litigation against any entity (including a
++ cross-claim or counterclaim in a lawsuit) alleging that the Work
++ or a Contribution incorporated within the Work constitutes direct
++ or contributory patent infringement, then any patent licenses
++ granted to You under this License for that Work shall terminate
++ as of the date such litigation is filed.
++
++4. Redistribution. You may reproduce and distribute copies of the
++ Work or Derivative Works thereof in any medium, with or without
++ modifications, and in Source or Object form, provided that You
++ meet the following conditions:
++
++ (a) You must give any other recipients of the Work or
++ Derivative Works a copy of this License; and
++
++ (b) You must cause any modified files to carry prominent notices
++ stating that You changed the files; and
++
++ (c) You must retain, in the Source form of any Derivative Works
++ that You distribute, all copyright, patent, trademark, and
++ attribution notices from the Source form of the Work,
++ excluding those notices that do not pertain to any part of
++ the Derivative Works; and
++
++ (d) If the Work includes a "NOTICE" text file as part of its
++ distribution, then any Derivative Works that You distribute must
++ include a readable copy of the attribution notices contained
++ within such NOTICE file, excluding those notices that do not
++ pertain to any part of the Derivative Works, in at least one
++ of the following places: within a NOTICE text file distributed
++ as part of the Derivative Works; within the Source form or
++ documentation, if provided along with the Derivative Works; or,
++ within a display generated by the Derivative Works, if and
++ wherever such third-party notices normally appear. The contents
++ of the NOTICE file are for informational purposes only and
++ do not modify the License. You may add Your own attribution
++ notices within Derivative Works that You distribute, alongside
++ or as an addendum to the NOTICE text from the Work, provided
++ that such additional attribution notices cannot be construed
++ as modifying the License.
++
++ You may add Your own copyright statement to Your modifications and
++ may provide additional or different license terms and conditions
++ for use, reproduction, or distribution of Your modifications, or
++ for any such Derivative Works as a whole, provided Your use,
++ reproduction, and distribution of the Work otherwise complies with
++ the conditions stated in this License.
++
++5. Submission of Contributions. Unless You explicitly state otherwise,
++ any Contribution intentionally submitted for inclusion in the Work
++ by You to the Licensor shall be under the terms and conditions of
++ this License, without any additional terms or conditions.
++ Notwithstanding the above, nothing herein shall supersede or modify
++ the terms of any separate license agreement you may have executed
++ with Licensor regarding such Contributions.
++
++6. Trademarks. This License does not grant permission to use the trade
++ names, trademarks, service marks, or product names of the Licensor,
++ except as required for reasonable and customary use in describing the
++ origin of the Work and reproducing the content of the NOTICE file.
++
++7. Disclaimer of Warranty. Unless required by applicable law or
++ agreed to in writing, Licensor provides the Work (and each
++ Contributor provides its Contributions) on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
++ implied, including, without limitation, any warranties or conditions
++ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
++ PARTICULAR PURPOSE. You are solely responsible for determining the
++ appropriateness of using or redistributing the Work and assume any
++ risks associated with Your exercise of permissions under this License.
++
++8. Limitation of Liability. In no event and under no legal theory,
++ whether in tort (including negligence), contract, or otherwise,
++ unless required by applicable law (such as deliberate and grossly
++ negligent acts) or agreed to in writing, shall any Contributor be
++ liable to You for damages, including any direct, indirect, special,
++ incidental, or consequential damages of any character arising as a
++ result of this License or out of the use or inability to use the
++ Work (including but not limited to damages for loss of goodwill,
++ work stoppage, computer failure or malfunction, or any and all
++ other commercial damages or losses), even if such Contributor
++ has been advised of the possibility of such damages.
++
++9. Accepting Warranty or Additional Liability. While redistributing
++ the Work or Derivative Works thereof, You may choose to offer,
++ and charge a fee for, acceptance of support, warranty, indemnity,
++ or other liability obligations and/or rights consistent with this
++ License. However, in accepting such obligations, You may act only
++ on Your own behalf and on Your sole responsibility, not on behalf
++ of any other Contributor, and only if You agree to indemnify,
++ defend, and hold each Contributor harmless for any liability
++ incurred by, or claims asserted against, such Contributor by reason
++ of your accepting any such warranty or additional liability.
++
++END OF TERMS AND CONDITIONS
+diff --git a/LICENSE-MIT b/LICENSE-MIT
+new file mode 100644
+index 0000000..31aa793
+--- /dev/null
++++ b/LICENSE-MIT
+@@ -0,0 +1,23 @@
++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/README.md b/README.md
+index a48b847..bee1ce1 100644
+--- a/README.md
++++ b/README.md
+@@ -1,3 +1,14 @@
+ # `linux_proc`
+
+ Parsers and data structures for reading the contents of "/proc" directory.
++
++## License
++
++Licensed under either of
++
++ * Apache License, Version 2.0
++ ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
++ * MIT license
++ ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
++
++at your option.
diff --git a/rust-linux_proc.spec b/rust-linux_proc.spec
new file mode 100644
index 0000000..3648356
--- /dev/null
+++ b/rust-linux_proc.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate linux_proc
+
+Name: rust-%{crate}
+Version: 0.1.1
+Release: %autorelease
+Summary: Library to help reading the contents of /proc on linux
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/linux_proc
+Source: %{crates_source}
+# Initial patched metadata
+# Drop quicli dependency as it's only needed for examples
+Patch0: linux_proc-fix-metadata.diff
+# Backport of https://github.com/derekdreery/linux_proc/pull/2
+Patch1: linux_proc-license.patch
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Library to help reading the contents of /proc on linux.}
+
+%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-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 "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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..28f91bf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (linux_proc-0.1.1.crate) = 73951a1f801188611e00c48e65f91440e07cddf7517e1840147069ef026c5ff4327002c37b8b899901f0362d6c521972f413ac87d8431a2645ea5fcc7ba29784
2 years, 5 months
Architecture specific change in rpms/rust-linreg.git
by githook-noreply@fedoraproject.org
The package rpms/rust-linreg.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-linreg.git/commit/?id=5ce495....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 5ce495228ee155283b7034592bd2bbc222d0d805
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Sep 6 08:06:09 2021 -0700
Initial import; Fixes: RHBZ#1990538
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1438c9a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/linreg-0.2.0.crate
diff --git a/linreg-update-displaydoc.patch b/linreg-update-displaydoc.patch
new file mode 100644
index 0000000..fd3a8f5
--- /dev/null
+++ b/linreg-update-displaydoc.patch
@@ -0,0 +1,27 @@
+diff -Naur a/Cargo.toml b/Cargo.toml
+--- a/Cargo.toml 1969-12-31 16:00:00.000000000 -0800
++++ b/Cargo.toml 2021-08-05 08:38:54.484222554 -0700
+@@ -21,7 +21,7 @@
+ license = "MIT"
+ repository = "https://github.com/49nord/linreg-rs.git"
+ [dependencies.displaydoc]
+-version = "0.1.5"
++version = "0.2"
+ default-features = false
+
+ [dependencies.num-traits]
+diff -Naur a/src/lib.rs b/src/lib.rs
+--- a/src/lib.rs 2019-12-08 08:38:28.000000000 -0800
++++ b/src/lib.rs 2021-08-05 08:39:12.167403464 -0700
+@@ -53,9 +53,8 @@
+ pub enum Error {
+ /// The slope is too steep to represent, approaching infinity.
+ TooSteep,
+- /// Failed to calculate mean.
+- ///
+- /// This means the input was empty or had too many elements.
++ /** Failed to calculate mean.
++ This means the input was empty or had too many elements. */
+ Mean,
+ /// Lengths of the inputs are different.
+ InputLenDif,
diff --git a/rust-linreg.spec b/rust-linreg.spec
new file mode 100644
index 0000000..32cdf0f
--- /dev/null
+++ b/rust-linreg.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate linreg
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: %autorelease
+Summary: Calculates linear regresssions of two-dimensional data
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/linreg
+Source: %{crates_source}
+# Backport of PR#8: Update displaydoc to 0.2
+Patch0: linreg-update-displaydoc.patch
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Calculates linear regresssions of two-dimensional data. Does not use stdlib,
+only depends on numeric traits.}
+
+%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.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
+
+%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/sources b/sources
new file mode 100644
index 0000000..fc76224
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (linreg-0.2.0.crate) = 3247b75aa1bf5ee10894b199baf0d573ac73414b8dcb65372b9c5d5258349ea2a3b976f6b686b73e13fab3d970da9d76e031782bf6044c3b11158aa029e113af
2 years, 5 months
Architecture specific change in rpms/rust-displaydoc.git
by githook-noreply@fedoraproject.org
The package rpms/rust-displaydoc.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-displaydoc.git/commit/?id=da....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit daafc60b9d9b59f6a70112f1ab738ef5f6c5156d
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Aug 27 08:12:55 2021 -0700
Initial import; Fixes: RHBZ#1990500
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..817d712
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/displaydoc-0.2.3.crate
diff --git a/displaydoc-fix-metadata.diff b/displaydoc-fix-metadata.diff
new file mode 100644
index 0000000..3180e35
--- /dev/null
+++ b/displaydoc-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- displaydoc-0.2.3/Cargo.toml 1970-01-01T00:00:00+00:00
++++ displaydoc-0.2.3/Cargo.toml 2021-08-05T14:22:54.424920+00:00
+@@ -85,7 +85,7 @@
+ version = "1.0.0"
+
+ [dev-dependencies.static_assertions]
+-version = "0.3.4"
++version = "1.1"
+
+ [dev-dependencies.thiserror]
+ version = "1.0.24"
diff --git a/rust-displaydoc.spec b/rust-displaydoc.spec
new file mode 100644
index 0000000..1f1e945
--- /dev/null
+++ b/rust-displaydoc.spec
@@ -0,0 +1,91 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate displaydoc
+
+Name: rust-%{crate}
+Version: 0.2.3
+Release: %autorelease
+Summary: Derive macro for implementing the display Trait
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/displaydoc
+Source: %{crates_source}
+# Initial patched metadata
+# Bump static_assertions to 1.1
+# https://github.com/yaahc/displaydoc/pull/34
+Patch0: displaydoc-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Derive macro for implementing the display Trait via a doc comment and string
+interpolation.}
+
+%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-MIT LICENSE-APACHE
+%doc 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}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "std" feature of "%{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/sources b/sources
new file mode 100644
index 0000000..2efff73
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (displaydoc-0.2.3.crate) = 848d88d1642f4000be88a728a3ff1835fe2887ebd38e26c032e0ae0a3ad4ba658ee1a7a98deab7bbffb90fc7ed6067232a2dc100d9b7391e69977646390c4664
2 years, 5 months
Architecture specific change in rpms/rust-cursive-tabs.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cursive-tabs.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-cursive-tabs.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 6e5b7c4b041cf2327be394bcbaca740a9e99ab11
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Aug 26 14:37:11 2021 -0700
Stop downgrading insta
diff --git a/cursive-tabs-fix-metadata.diff b/cursive-tabs-fix-metadata.diff
deleted file mode 100644
index 1ea25dc..0000000
--- a/cursive-tabs-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- cursive-tabs-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ cursive-tabs-0.6.0/Cargo.toml 2021-08-06T15:37:16.643431+00:00
-@@ -36,7 +36,7 @@
- version = "0.16"
-
- [dev-dependencies.insta]
--version = "1.7"
-+version = "0.16"
-
- [dev-dependencies.serde_json]
- version = "1.0.48"
diff --git a/rust-cursive-tabs.spec b/rust-cursive-tabs.spec
index 3eecd1e..97956ec 100644
--- a/rust-cursive-tabs.spec
+++ b/rust-cursive-tabs.spec
@@ -13,9 +13,6 @@ Summary: Tabs for gyscos/cursive views
License: BSD
URL: https://crates.io/crates/cursive-tabs
Source: %{crates_source}
-# Initial patched metadata
-# Downgrade insta to 0.16
-Patch0: cursive-tabs-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
commit 13d0d1d2daf004d37fe6d9fdc29b65e516703876
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Aug 26 14:15:33 2021 -0700
Initial import; Fixes: RHBZ#1990944
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6fe498e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cursive-tabs-0.6.0.crate
diff --git a/cursive-tabs-fix-metadata.diff b/cursive-tabs-fix-metadata.diff
new file mode 100644
index 0000000..1ea25dc
--- /dev/null
+++ b/cursive-tabs-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- cursive-tabs-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ cursive-tabs-0.6.0/Cargo.toml 2021-08-06T15:37:16.643431+00:00
+@@ -36,7 +36,7 @@
+ version = "0.16"
+
+ [dev-dependencies.insta]
+-version = "1.7"
++version = "0.16"
+
+ [dev-dependencies.serde_json]
+ version = "1.0.48"
diff --git a/rust-cursive-tabs.spec b/rust-cursive-tabs.spec
new file mode 100644
index 0000000..3eecd1e
--- /dev/null
+++ b/rust-cursive-tabs.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cursive-tabs
+
+Name: rust-%{crate}
+Version: 0.6.0
+Release: %autorelease
+Summary: Tabs for gyscos/cursive views
+
+# Upstream license specification: BSD-3-Clause
+License: BSD
+URL: https://crates.io/crates/cursive-tabs
+Source: %{crates_source}
+# Initial patched metadata
+# Downgrade insta to 0.16
+Patch0: cursive-tabs-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Tabs for gyscos/cursive views.}
+
+%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.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
+
+%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/sources b/sources
new file mode 100644
index 0000000..51a4b22
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cursive-tabs-0.6.0.crate) = 8f8e7a71c448f4f17e042fc79a57b5b46f0a3d6ece779852b71e16d472417a2208242868498c37e99b4715d0ddf26c012827b56ce3c393fe070168e6a7a1f2f6
2 years, 5 months