Architecture specific change in rpms/golang-github-howeyc-fsnotify.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-howeyc-fsnotify.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/golang-github-howeyc-fsnotify.git....
Change:
+ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 2830c01350f6f7dbad3167f95465d15fdfc330ef
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Mon Sep 7 12:05:01 2020 +0200
Revert "Unused/deprecated"
This reverts commit add9fa675569701ce7c2f3aeaa3f6d8bbbb2c66d.
Unretirement request: https://pagure.io/releng/issue/9740
Signed-off-by: Tomas Hrcka <thrcka(a)redhat.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0fec0a1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fsnotify-441bbc8.tar.gz
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c3215d8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# golang-github-howeyc-fsnotify
+
+The golang-github-howeyc-fsnotify package
\ No newline at end of file
diff --git a/dead.package b/dead.package
deleted file mode 100644
index adeb9b1..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Unused/deprecated
diff --git a/golang-github-howeyc-fsnotify.spec b/golang-github-howeyc-fsnotify.spec
new file mode 100644
index 0000000..31d93fe
--- /dev/null
+++ b/golang-github-howeyc-fsnotify.spec
@@ -0,0 +1,119 @@
+# Please use golang-github-go-fsnotify-fsnotify-devel
+# https://github.com/fsnotify/fsnotify
+%global debug_package %{nil}
+
+%global provider github
+%global provider_tld com
+%global project howeyc
+%global repo fsnotify
+# https://github.com/howeyc/fsnotify
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+%global commit 441bbc86b167f3c1f4786afae9931403b99fdacf
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: golang-%{provider}-%{project}-%{repo}
+Version: 0.9.0
+Release: 0.4.git%{shortcommit}%{?dist}
+Summary: File change notification Go language Binding.
+License: BSD 3-clause
+URL: https://%{provider_prefix}
+Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+
+# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
+ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
+# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
+BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Provides: golang(%{import_path}) = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+This package contains library source intended for
+building other packages which use import path with
+%{import_path} prefix.
+
+%package unit-test-devel
+Summary: Unit tests for %{name} package
+BuildArch: noarch
+# test subpackage tests code from devel subpackage
+Requires: %{name}-devel = %{version}-%{release}
+
+%description unit-test-devel
+%{summary}.
+
+This package contains unit tests for project
+providing packages with %{import_path} prefix.
+
+
+%prep
+%setup -q -n %{repo}-%{commit}
+
+%build
+
+%install
+# source codes for building projects
+install -d -p %{buildroot}%{gopath}/src/%{import_path}/
+echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
+# find all *.go but no *_test.go files and generate devel.file-list
+for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
+ echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
+ install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file)
+ cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file
+ echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
+done
+
+# testing files for this project
+install -d %{buildroot}%{gopath}/src/%{import_path}/
+# find all *_test.go files and generate unit-test.file-list
+for file in $(find . -iname "*_test.go"); do
+ dirprefix=$(dirname $file)
+ install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix
+ cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file
+ echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
+ while [ "$dirprefix" != "." ]; do
+ echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
+ dirprefix=$(dirname $dirprefix)
+ done
+done
+
+sort -u -o devel.file-list devel.file-list
+sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+
+%check
+export GOPATH=%{buildroot}%{gopath}:%{gopath}
+
+%if ! 0%{?gotest:1}
+%global gotest go test
+%endif
+
+# Test fail
+#%%gotest %%{import_path}
+
+%files devel -f devel.file-list
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+
+%files unit-test-devel -f unit-test-devel.file-list
+
+%changelog
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9.0-0.4.git441bbc8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9.0-0.3.git441bbc8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9.0-0.2.git441bbc8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Fri Aug 18 2017 mosquito <sensor.wen(a)gmail.com> - 0.9.0-0.1.git441bbc8
+- Rebuild
+
+* Wed Dec 28 2016 Jaroslav <cz.guardian(a)gmail.com> Stepanek 0.9.0.1.git441bbc8
+- Initial package build
diff --git a/sources b/sources
new file mode 100644
index 0000000..1f47209
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fsnotify-441bbc8.tar.gz) = e4cd9cbfa5a7ce4c0617738dca8e97cecf6e11e0a57ae1ebef8c903fc002da847be0471ad9788b9b724d0423a5ae859b77f07192121c6957fee07143ceb9ad96
3 years, 8 months
Architecture specific change in rpms/qemu.git
by githook-noreply@fedoraproject.org
The package rpms/qemu.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/qemu.git/commit/?id=d9af2bbdff861...
https://src.fedoraproject.org/cgit/rpms/qemu.git/commit/?id=13e7c30edf2da...
https://src.fedoraproject.org/cgit/rpms/qemu.git/commit/?id=3c0f9e810a0b2....
Change:
+%ifarch %{arm} aarch64
-%ifarch %{kernel_arches}
-%ifarch s390
Thanks.
Full change:
============
commit d9af2bbdff8613c35c44d4a0ea29abcbf0065b68
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 11:03:27 2020 +0100
Make QEMU sanity check a build blocker
If it ever breaks, it can be skipped by setting the %qemu_sanity_check
variable to 0.
This ensures it does not bit-rot again in future and actually adds some
value to the build.
It has to be skipped for ARM for now due to inability to select the
machine type.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index 0eb999d..0a78ac8 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -86,6 +86,13 @@
%endif
%endif
+# QEMU sanity check doesn't know how to pick machine type
+# which is needed on ARM as there is no defualt
+# https://bugzilla.redhat.com/show_bug.cgi?id=1875763
+%ifarch %{arm} aarch64
+%global qemu_sanity_check 0
+%endif
+
# All modules should be listed here.
%ifarch %{ix86} %{arm}
%define with_block_rbd 0
@@ -1414,10 +1421,9 @@ if [ -x "$b" ]; then "$b" -help; fi
%if %{qemu_sanity_check}
# Sanity-check current kernel can boot on this qemu.
-# The results are advisory only.
KERNEL=`find /lib/modules -name vmlinuz | head -1`
echo "Trying to boot kernel $KERNEL with %{?hostqemu}"
-qemu-sanity-check --qemu=%{?hostqemu} --kernel=$KERNEL ||:
+qemu-sanity-check --qemu=%{?hostqemu} --kernel=$KERNEL
%endif
%endif
@@ -1906,6 +1912,7 @@ getent passwd qemu >/dev/null || \
- Fix conditionals for enabling QEMU sanity check
- Check whether emulator works before doing sanity check
- Provide explicit kernel path for QEMU sanity check
+- Make QEMU sanity check a build blocker
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
commit f2839fea71ecc8dbe7e38c0ec09e3e9ef6edb831
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 10:49:53 2020 +0100
Provide explicit kernel path to QEMU sanity check
In a mock build root the kernel probably won't exist in /boot and the
QEMU sanity check script won't search /lib/modules. So we must find the
vmlinuz file and pass it explicitly.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index 2aa30f8..0eb999d 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1415,7 +1415,9 @@ if [ -x "$b" ]; then "$b" -help; fi
%if %{qemu_sanity_check}
# Sanity-check current kernel can boot on this qemu.
# The results are advisory only.
-qemu-sanity-check --qemu=%{?hostqemu} ||:
+KERNEL=`find /lib/modules -name vmlinuz | head -1`
+echo "Trying to boot kernel $KERNEL with %{?hostqemu}"
+qemu-sanity-check --qemu=%{?hostqemu} --kernel=$KERNEL ||:
%endif
%endif
@@ -1903,6 +1905,7 @@ getent passwd qemu >/dev/null || \
- Re-enable kernel BR for QEMU sanity check
- Fix conditionals for enabling QEMU sanity check
- Check whether emulator works before doing sanity check
+- Provide explicit kernel path for QEMU sanity check
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
commit af50bf7b783cee59cdf348e9263d5bb4a848148b
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 10:44:52 2020 +0100
Check whether emulator works before doing sanity check
If the emulator binary can't run, then the sanity check is never going
to work either.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index 9530011..2aa30f8 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1408,16 +1408,16 @@ pushd build-dynamic
make check V=1
%endif
+# Check the binary runs (see eg RHBZ#998722).
+b="./x86_64-softmmu/qemu-system-x86_64"
+if [ -x "$b" ]; then "$b" -help; fi
+
%if %{qemu_sanity_check}
# Sanity-check current kernel can boot on this qemu.
# The results are advisory only.
qemu-sanity-check --qemu=%{?hostqemu} ||:
%endif
-# Check the binary runs (see eg RHBZ#998722).
-b="./x86_64-softmmu/qemu-system-x86_64"
-if [ -x "$b" ]; then "$b" -help; fi
-
%endif
popd
@@ -1902,6 +1902,7 @@ getent passwd qemu >/dev/null || \
- Fix host qemu binary path for aarch64
- Re-enable kernel BR for QEMU sanity check
- Fix conditionals for enabling QEMU sanity check
+- Check whether emulator works before doing sanity check
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
commit 13e7c30edf2da5fac2a78ec93d00039cf49b92b4
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 10:42:55 2020 +0100
Fix conditionals for enabling QEMU sanity check
One part of the spec file checked %{kernel_arches} while the other
checked %{hostqemu}. In fact both conditions need to be valid in
order to be able to run the sanity check. Introduce an explicit
%{qemu_sanity_check} variable to express this rule.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index 46ff04c..9530011 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -79,6 +79,13 @@
%global hostqemu x86_64-softmmu/qemu-system-x86_64
%endif
+%global qemu_sanity_check 0
+%ifarch x %{?kernel_arches}
+%if 0%{?hostqemu:1}
+%global qemu_sanity_check 1
+%endif
+%endif
+
# All modules should be listed here.
%ifarch %{ix86} %{arm}
%define with_block_rbd 0
@@ -210,8 +217,7 @@ BuildRequires: gcc
BuildRequires: texinfo
# For /usr/bin/pod2man
BuildRequires: perl-podlators
-%ifarch %{kernel_arches}
-# For sanity test
+%if %{qemu_sanity_check}
BuildRequires: qemu-sanity-check-nodeps
BuildRequires: kernel
%endif
@@ -1402,7 +1408,7 @@ pushd build-dynamic
make check V=1
%endif
-%if 0%{?hostqemu:1}
+%if %{qemu_sanity_check}
# Sanity-check current kernel can boot on this qemu.
# The results are advisory only.
qemu-sanity-check --qemu=%{?hostqemu} ||:
@@ -1895,6 +1901,7 @@ getent passwd qemu >/dev/null || \
- Drop conditions for ppc, ppc64, mips64 and s390 arches
- Fix host qemu binary path for aarch64
- Re-enable kernel BR for QEMU sanity check
+- Fix conditionals for enabling QEMU sanity check
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
commit 4e321e2f5cf77ed4387d86d41762848074cfaf8f
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 10:40:00 2020 +0100
Re-enable kernel BR for qemu sanity check
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index eda3911..46ff04c 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -213,8 +213,7 @@ BuildRequires: perl-podlators
%ifarch %{kernel_arches}
# For sanity test
BuildRequires: qemu-sanity-check-nodeps
-# 2020-08-12: Disable due to new f34 missing kernel package
-#BuildRequires: kernel
+BuildRequires: kernel
%endif
%if %{have_iasl}
# For acpi compilation
@@ -1895,6 +1894,7 @@ getent passwd qemu >/dev/null || \
* Fri Sep 4 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-5
- Drop conditions for ppc, ppc64, mips64 and s390 arches
- Fix host qemu binary path for aarch64
+- Re-enable kernel BR for QEMU sanity check
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
commit 458e07e8d7d455559d8432b04e6c270e4053469b
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 10:38:10 2020 +0100
Fix host qemu binary path for aarch64
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index ac02483..eda3911 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -70,7 +70,7 @@
%global hostqemu arm-softmmu/qemu-system-arm
%endif
%ifarch aarch64
-%global hostqemu arm-softmmu/qemu-system-aarch64
+%global hostqemu aarch64-softmmu/qemu-system-aarch64
%endif
%ifarch %{ix86}
%global hostqemu i386-softmmu/qemu-system-i386
@@ -1894,6 +1894,7 @@ getent passwd qemu >/dev/null || \
%changelog
* Fri Sep 4 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-5
- Drop conditions for ppc, ppc64, mips64 and s390 arches
+- Fix host qemu binary path for aarch64
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
commit 3c0f9e810a0b22b439681cedcba6073a20f13d88
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Fri Sep 4 10:04:15 2020 +0100
Drop references to obsolete arches
s390, ppc, ppc64 and mips64 are no longer valid Fedora primary
or alternative architectures.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
diff --git a/qemu.spec b/qemu.spec
index 6d5b368..ac02483 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -33,7 +33,7 @@
# Matches numactl ExcludeArch
%global have_numactl 1
-%ifarch s390 %{arm}
+%ifarch %{arm}
%global have_numactl 0
%endif
@@ -43,7 +43,7 @@
#
# https://bugzilla.redhat.com/show_bug.cgi?id=1332449
%global have_iasl 1
-%ifnarch s390 s390x ppc ppc64
+%ifnarch s390x
%global have_iasl 0
%endif
@@ -170,7 +170,7 @@
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 5.1.0
-Release: 4%{?rcrel}%{?dist}
+Release: 5%{?rcrel}%{?dist}
Epoch: 2
License: GPLv2 and BSD and MIT and CC-BY
URL: http://www.qemu.org/
@@ -1002,14 +1002,8 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap
# Disable LTO since it caused lots of strange assert failures.
%define _lto_cflags %{nil}
-# drop -g flag to prevent memory exhaustion by linker
-%ifarch s390
-%global optflags %(echo %{optflags} | sed 's/-g//')
-sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
-%endif
-
# OOM killer breaks builds with parallel make on s390(x)
-%ifarch s390 s390x
+%ifarch s390x
%global _smp_mflags %{nil}
%endif
@@ -1198,9 +1192,6 @@ run_configure \
--enable-modules \
--enable-mpath \
%{spiceflag} \
-%ifarch s390 %{mips64}
- --enable-tcg-interpreter \
-%endif
--enable-slirp=system
echo "config-host.mak contents:"
@@ -1399,13 +1390,6 @@ chmod +x %{buildroot}%{_libdir}/qemu/*.so
# Enable this temporarily if tests are broken
%global tests_nofail 0
-# Tests are hanging on s390 as of 2.3.0
-# https://bugzilla.redhat.com/show_bug.cgi?id=1206057
-# Tests seem to be a recurring problem on s390, leave them disabled.
-%ifarch s390
-%global tests_skip 1
-%endif
-
# 2020-08-31: tests passing, but s390x fails due to
# spurious warning breaking an iotest case
# https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg03279.html
@@ -1908,6 +1892,9 @@ getent passwd qemu >/dev/null || \
%changelog
+* Fri Sep 4 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-5
+- Drop conditions for ppc, ppc64, mips64 and s390 arches
+
* Thu Sep 3 2020 Daniel P. Berrangé <berrange(a)redhat.com> - 5.1.0-4
- Add btrfs ioctls to linux-user (rhbz #1872918)
3 years, 8 months
Architecture specific change in rpms/rust-rtnetlink.git
by githook-noreply@fedoraproject.org
The package rpms/rust-rtnetlink.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-rtnetlink.git/commit/?id=96f....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 96fd0fcc0706984cebf67a1042dd7ab712740f6f
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 14:42:15 2020 +0800
Upgrade to 0.4.0
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aaad9c8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/rtnetlink-0.4.0.crate
diff --git a/rust-rtnetlink.spec b/rust-rtnetlink.spec
new file mode 100644
index 0000000..a95b21a
--- /dev/null
+++ b/rust-rtnetlink.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 13
+# Disable the check as it has loop dependency on other rust-netlink-* packages.
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate rtnetlink
+
+Name: rust-%{crate}
+Version: 0.4.0
+Release: 1%{?dist}
+Summary: Manipulate linux networking resources via netlink
+
+# Upstream license specification: MIT
+# Pull request https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL: https://crates.io/crates/rtnetlink
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Manipulate linux networking resources via netlink.}
+
+%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 Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.0-1
+- Upgrade to 0.4.0
+
+* Tue Jul 07 16:24:32 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..a260567
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (rtnetlink-0.4.0.crate) = 2eeaf3fd7ae0ca2ba494c93d03641e0078ae11afe577e38128a01f8b303f78353cbadd74e30e7346bbe03116dff849ec4e9d129d4c91936e29b0aec5b98373fa
3 years, 8 months
Architecture specific change in rpms/libyang.git
by githook-noreply@fedoraproject.org
The package rpms/libyang.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/libyang.git/commit/?id=59f1f60666....
Change:
+%ifarch %arm ppc64le
Thanks.
Full change:
============
commit 59f1f6066697007a45044a50ec6d55f356349b24
Author: Merlin Mathesius <mmathesi(a)redhat.com>
Date: Wed Sep 2 17:05:04 2020 -0500
Fix FTBFS by disabling valgrind on power since it finds bogus invalid
writes in libcmocka
Signed-off-by: Merlin Mathesius <mmathesi(a)redhat.com>
diff --git a/libyang.spec b/libyang.spec
index 919636e..8bc9776 100644
--- a/libyang.spec
+++ b/libyang.spec
@@ -1,6 +1,6 @@
-# valgrind finds invalid writes in libcmocka on arm
+# valgrind finds invalid writes in libcmocka on arm and power
# see bug #1699304 for more information
-%ifarch %arm
+%ifarch %arm ppc64le
%global run_valgrind_tests OFF
%else
%global run_valgrind_tests ON
@@ -8,7 +8,7 @@
Name: libyang
Version: 1.0.184
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: YANG data modeling language library
Url: https://github.com/CESNET/libyang
Source: %{url}/archive/v%{version}.tar.gz
@@ -137,6 +137,10 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html
%{python3_sitearch}/__pycache__/yang*
%changelog
+* Wed Sep 02 2020 Merlin Mathesius <mmathesi(a)redhat.com> - 1.0.184-3
+- Fix FTBFS by disabling valgrind on power since it finds bogus invalid
+ writes in libcmocka
+
* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.184-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3 years, 8 months
Architecture specific change in rpms/nispor.git
by githook-noreply@fedoraproject.org
The package rpms/nispor.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/nispor.git/commit/?id=8bc856bcbb2....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8bc856bcbb29263bb2d1389a4f5ab7ec860467e1
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 14:50:17 2020 +0800
Upgrade to 0.5.0
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8b8794f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/nispor-0.4.0.tar.gz
+/nispor-0.5.0.tar.gz
diff --git a/nispor.spec b/nispor.spec
new file mode 100644
index 0000000..fdd6387
--- /dev/null
+++ b/nispor.spec
@@ -0,0 +1,171 @@
+# The check need root privilege
+%bcond_with check
+
+Name: nispor
+Version: 0.5.0
+Release: 1%{?dist}
+Summary: Unified interface for Linux network state querying
+License: ASL 2.0
+URL: https://github.com/nispor/nispor
+Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{ve...
+ExclusiveArch: %{rust_arches}
+BuildRequires: pkg-config
+BuildRequires: python3-devel
+BuildRequires: rust-packaging
+BuildRequires: systemd-devel
+BuildRequires: systemd-rpm-macros
+BuildRequires: (crate(serde/default) >= 1.0 with crate(serde/default) < 2.0)
+BuildRequires: (crate(serde_derive/default) >= 1.0 with crate(serde_derive/default) < 2.0)
+BuildRequires: (crate(serde_json/default) >= 1.0 with crate(serde_json/default) < 2.0)
+BuildRequires: (crate(rtnetlink/default) >= 0.4.0 with crate(rtnetlink/default) < 0.5.0)
+BuildRequires: (crate(netlink-packet-route/default) >= 0.4.0 with crate(netlink-packet-route/default) < 0.5.0)
+BuildRequires: (crate(netlink-packet-utils/default) >= 0.2.0 with crate(netlink-packet-utils/default) < 0.3.0)
+BuildRequires: (crate(netlink-sys/default) >= 0.4.0 with crate(netlink-sys/default) < 0.5.0)
+BuildRequires: (crate(tokio/macros) >= 0.2.0 with crate(tokio/macros) < 0.4.0)
+BuildRequires: (crate(tokio/rt-core) >= 0.2.0 with crate(tokio/rt-core) < 0.4.0)
+BuildRequires: (crate(varlink/default) >= 11 with crate(varlink/default) < 12)
+BuildRequires: (crate(libc/default) >= 0.2.74 with crate(libc/default) < 0.3.0)
+
+%description
+Unified interface for Linux network state querying.
+
+%package -n rust-%{name}-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n rust-%{name}-devel
+
+This package contains library source intended for building other packages
+which use "%{name}" crate.
+
+%package -n rust-%{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n rust-%{name}+default-devel
+
+This package contains library source intended for building other packages
+which use "%{name}" crate with default feature.
+
+%package -n python3-%{name}
+Summary: %{summary}
+Requires: nispor%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+BuildArch: noarch
+
+%description -n python3-%{name}
+
+This package contains python3 binding of %{name}.
+
+%package devel
+Summary: %{summary}
+Requires: nispor%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+
+This package contains C binding of %{name}.
+
+%prep
+%autosetup -n %{name}-%{version_no_tilde} -p1
+
+%cargo_prep
+for sub_dir in lib cli clib varlink;do
+ pushd src/$sub_dir
+ %cargo_prep
+ popd
+done
+
+# The cargo_prep will create `.cargo/config` which take precedence over
+# `.cargo/config.toml` shipped by upstream which fix the SONAME of cdylib.
+# To workaround that, merge upstream rustflags into cargo_prep created one.
+_FLAGS=`sed -ne 's/rustflags = "\(.\+\)"/\1/p' .cargo/config.toml`
+sed -i -e "s/rustflags = \[\(.\+\), \]$/rustflags = [\1, \"$_FLAGS\"]/" \
+ .cargo/config
+
+%build
+for sub_dir in lib cli clib varlink;do
+ pushd src/$sub_dir
+ %cargo_build
+ popd
+done
+
+pushd src/python
+%py3_build
+popd
+
+%install
+
+pushd src/lib
+%cargo_install
+popd
+
+env SKIP_PYTHON_INSTALL=1 PREFIX=%{_prefix} LIBDIR=%{_libdir} %make_install
+
+pushd src/python
+%py3_install
+popd
+
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files
+%doc AUTHORS CHANGELOG DEVEL.md README.md
+%license LICENSE
+%{_bindir}/npc
+%{_bindir}/npd
+%{_libdir}/libnispor.so.*
+%{_unitdir}/nispor.socket
+%{_unitdir}/nispor.service
+
+%files -n python3-%{name}
+%license LICENSE
+%{python3_sitelib}/nispor*
+
+%files devel
+%license LICENSE
+%{_libdir}/libnispor.so
+%{_includedir}/nispor.h
+
+%files -n rust-%{name}-devel
+%license LICENSE
+%{cargo_registry}/%{name}-%{version_no_tilde}/
+
+%files -n rust-%{name}+default-devel
+%ghost %{cargo_registry}/%{name}-%{version_no_tilde}/Cargo.toml
+
+%post
+%systemd_post nispor.service
+
+%preun
+%systemd_preun nispor.service
+
+%postun
+%systemd_postun_with_restart nispor.service
+
+%changelog
+* Mon Sep 07 2020 Gris Ge <fge(a)redhat.com> - 0.5.0-1
+- Upgrade to 0.5.0
+
+* Wed Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.0-2
+- The mainpackage is not noarch.
+- Remove useless-provides.
+
+* Wed Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.0-1
+- Upgrade to 0.4.0
+
+* Mon Aug 17 2020 Gris Ge <fge(a)redhat.com> - 0.3.0-2
+- Fix python linux bridge vlan filter
+
+* Sun Aug 16 2020 Gris Ge <fge(a)redhat.com> - 0.3.0-1
+- Upgrade to 0.3.0
+
+* Thu Jul 09 2020 Gris Ge <fge(a)redhat.com> - 0.1.1-2
+- Include license and documents
+
+* Wed Jul 08 2020 Gris Ge <fge(a)redhat.com> - 0.1.1-1
+- Upgrade to 0.1.1
+
+* Tue Jul 07 14:50:05 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..ef8ee76
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nispor-0.5.0.tar.gz) = 23d9ec9d261e8746c5eec56b340f6acc5f3eb13f60e35ee1b821bf8c71bcf26780779f4c737c5d486dc74dbdc6b5c9b0cad7baf6f6617cde702e41ab39a9621f
3 years, 8 months
Architecture specific change in rpms/rust-netlink-packet-route.git
by githook-noreply@fedoraproject.org
The package rpms/rust-netlink-packet-route.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-netlink-packet-route.git/com....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 329e4bbb33e39c45fcd5a81d392bfbc45e2d952d
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 14:40:50 2020 +0800
Upgrade to 0.4.0
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6977a6e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlink-packet-route-0.4.0.crate
diff --git a/rust-netlink-packet-route.spec b/rust-netlink-packet-route.spec
new file mode 100644
index 0000000..cdbdd7b
--- /dev/null
+++ b/rust-netlink-packet-route.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 13
+# Disable the check as it has loop dependency on other rust-netlink-* packages.
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate netlink-packet-route
+
+Name: rust-%{crate}
+Version: 0.4.0
+Release: 1%{?dist}
+Summary: Netlink packet types
+
+# Upstream license specification: MIT
+# Pull request https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL: https://crates.io/crates/netlink-packet-route
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Netlink packet types.}
+
+%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 Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.0-1
+- Upgrade to 0.4.0
+
+* Tue Jul 07 16:52:57 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..18610ff
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (netlink-packet-route-0.4.0.crate) = 389e16ca7cb48c98567945349648ca13845fe00d3e35ca6a616944f9a70b2b334a594615f5265fe07de00e69944b331244363ea8133e0a5e392fb8fb6297e697
3 years, 8 months
Architecture specific change in rpms/rust-netlink-proto.git
by githook-noreply@fedoraproject.org
The package rpms/rust-netlink-proto.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-netlink-proto.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f75e20b7be878e50fa5d50a0549478bb55468309
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 13:55:14 2020 +0800
Upgrade to 0.4.1
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b446408
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlink-proto-0.4.1.crate
diff --git a/rust-netlink-proto.spec b/rust-netlink-proto.spec
new file mode 100644
index 0000000..ba6fa93
--- /dev/null
+++ b/rust-netlink-proto.spec
@@ -0,0 +1,91 @@
+# Generated by rust2rpm 13
+%bcond_with check
+# Disable the check as it has loop dependency on other rust-netlink-* packages.
+%global debug_package %{nil}
+
+%global crate netlink-proto
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: 1%{?dist}
+Summary: Async netlink protocol
+
+# Upstream license specification: MIT
+# Pull request https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL: https://crates.io/crates/netlink-proto
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Async netlink protocol.}
+
+%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
+
+%package -n %{name}+workaround-audit-bug-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+workaround-audit-bug-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "workaround-audit-bug" feature of "%{crate}" crate.
+
+%files -n %{name}+workaround-audit-bug-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 Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.1-1
+- Upgrade to 0.4.1
+
+* Tue Jul 07 17:57:59 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.4.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..54ae729
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (netlink-proto-0.4.1.crate) = 4534dbb15d96958860cb9975b75c40327ab28e18cb71cb90560aa7387c51f177bc34108959257793e78fe4b1c44c35378ee3b8d70492ea911efb33b68afd30f9
3 years, 8 months
Architecture specific change in rpms/rust-netlink-packet-core.git
by githook-noreply@fedoraproject.org
The package rpms/rust-netlink-packet-core.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-netlink-packet-core.git/comm....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9a05cd4533df36ea803a9e287ca0fcaaf397b0d5
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 13:49:12 2020 +0800
Initial package
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c47062c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlink-packet-core-0.2.0.crate
diff --git a/rust-netlink-packet-core.spec b/rust-netlink-packet-core.spec
new file mode 100644
index 0000000..ed6dc2c
--- /dev/null
+++ b/rust-netlink-packet-core.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 13
+# Disable the check by default as it depend on rust-netlink-packet-route
+# which cause loop dependency
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate netlink-packet-core
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Netlink packet types
+
+# Upstream license specification: MIT
+# Pull request https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL: https://crates.io/crates/netlink-packet-core
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Netlink packet types.}
+
+%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
+* Tue Jul 07 16:40:56 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e9b003f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (netlink-packet-core-0.2.0.crate) = 1ca87ca9ff135c2407dbcfe2791f92622e4847535e1c9edcb18aed91badcc53ac45113a2bf249a02cb4d763e8a4979f6a82a32541b22b2750dd796f129ff1b8b
3 years, 8 months
Architecture specific change in rpms/rust-netlink-packet-utils.git
by githook-noreply@fedoraproject.org
The package rpms/rust-netlink-packet-utils.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-netlink-packet-utils.git/com....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit bdf4a8e7611f43bbe47cb9d17308227b55a30378
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 12:53:44 2020 +0800
Initial package
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..93cf800
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlink-packet-utils-0.2.0.crate
diff --git a/rust-netlink-packet-utils.spec b/rust-netlink-packet-utils.spec
new file mode 100644
index 0000000..990a136
--- /dev/null
+++ b/rust-netlink-packet-utils.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 13
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate netlink-packet-utils
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Macros and helpers for parsing netlink messages
+
+# Upstream license specification: MIT
+# Pull request https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL: https://crates.io/crates/netlink-packet-utils
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Macros and helpers for parsing netlink messages.}
+
+%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
+* Tue Jul 07 16:43:54 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..f06144f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (netlink-packet-utils-0.2.0.crate) = f0bea24af5f53da7a94c8b15bbede21c68445140f887d0f64f675d8d6c84abb6f7a8a59ebe11b50ba181cc2c965d08920ef33115b6f24ab1ff87f253b1362833
3 years, 8 months
Architecture specific change in rpms/rust-netlink-sys.git
by githook-noreply@fedoraproject.org
The package rpms/rust-netlink-sys.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-netlink-sys.git/commit/?id=e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e856d4244e19626323339e818d418ebe6bbbf6e5
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 12:48:16 2020 +0800
Initial build
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4f8a7df
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlink-sys-0.4.0.crate
diff --git a/rust-netlink-sys.spec b/rust-netlink-sys.spec
new file mode 100644
index 0000000..5366969
--- /dev/null
+++ b/rust-netlink-sys.spec
@@ -0,0 +1,139 @@
+# Generated by rust2rpm 13
+# Disable the check as it has loop dependency on other rust-netlink-* packages.
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate netlink-sys
+
+Name: rust-%{crate}
+Version: 0.4.0
+Release: 1%{?dist}
+Summary: Netlink sockets, with optional integration with mio and tokio
+
+# Upstream license specification: MIT
+# Pull request https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL: https://crates.io/crates/netlink-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Netlink sockets, with optional integration with mio and tokio.}
+
+%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
+
+%package -n %{name}+futures-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+futures-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "futures" feature of "%{crate}" crate.
+
+%files -n %{name}+futures-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+mio-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+mio-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "mio" feature of "%{crate}" crate.
+
+%files -n %{name}+mio-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+mio_socket-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+mio_socket-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "mio_socket" feature of "%{crate}" crate.
+
+%files -n %{name}+mio_socket-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tokio-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tokio_socket-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio_socket-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio_socket" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio_socket-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 Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.0-1
+- Upgrade to 0.4.0
+
+* Tue Jul 07 16:23:51 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..25d2535
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (netlink-sys-0.4.0.crate) = 7967eb3aaad5e05e617c4a6d3c6720a443d23158a1156fe50f1f2bd2378fc332455e0089021429e39b97b8130c280df8b3ca3093d65599ae788733172a43e8a6
3 years, 8 months