Architecture specific change in rpms/oci-seccomp-bpf-hook.git
by githook-noreply@fedoraproject.org
The package rpms/oci-seccomp-bpf-hook.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/oci-seccomp-bpf-hook.git/commit/?....
Change:
+ExcludeArch: i686
Thanks.
Full change:
============
commit bd7cd8fcf397cbc423e747c1a0538c30ac28a0ef
Author: Jindrich Novy <jnovy(a)redhat.com>
Date: Wed Sep 30 20:21:19 2020 +0200
oci-seccomp-bpf-hook-1.2.0-2.fc34
- fix spec file to accommodate the new upstream release
Signed-off-by: Jindrich Novy <jnovy(a)redhat.com>
diff --git a/oci-seccomp-bpf-hook.spec b/oci-seccomp-bpf-hook.spec
index 2366363..37ee65a 100644
--- a/oci-seccomp-bpf-hook.spec
+++ b/oci-seccomp-bpf-hook.spec
@@ -11,8 +11,13 @@
%global debug_package %{nil}
%endif
+%if 0%{?rhel} > 7 && ! 0%{?fedora}
+%define gobuild(o:) \
+go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
+%else
%if ! 0%{?gobuild:1}
-%define gobuild(o:) GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v -x %{?**};
+%define gobuild(o:) GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v -x %{?**};
+%endif
%endif
%global provider github
@@ -20,20 +25,16 @@
%global project containers
%global repo oci-seccomp-bpf-hook
# https://github.com/containers/oci-seccomp-bpf-hook
-%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
-%global git0 https://%{import_path}
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+%global git0 https://%{provider}.%{provider_tld}/%{project}/%{repo}
-# bcc is built only for these arches
-ExclusiveArch: x86_64 %{power64} aarch64 s390x
-
-# Used for comparing with latest upstream tag
-# to decide whether to autobuild (non-rawhide only)
-%define built_tag v1.1.0
-%define built_tag_strip %(b=%{built_tag}; echo ${b:1})
+# bcc is not built for i686
+ExcludeArch: i686
Name: oci-seccomp-bpf-hook
Version: 1.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: OCI Hook to generate seccomp json files based on EBF syscalls used by container
License: ASL 2.0
URL: %{git0}
@@ -57,25 +58,33 @@ the Container Pod concept popularized by Kubernetes.
%prep
%autosetup -Sgit
+sed -i '/$(MAKE) -C docs install/d' Makefile
+sed -i 's/HOOK_BIN_DIR/\%{_usr}\/libexec\/oci\/hooks.d/' %{name}.json
+sed -i '/$(HOOK_DIR)\/%{name}.json/d' Makefile
%build
+export GO111MODULE=off
+export GOPATH=$(pwd):$(pwd)/_build
+export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+
mkdir _build
pushd _build
mkdir -p src/%{provider}.%{provider_tld}/%{project}
ln -s ../../../../ src/%{import_path}
popd
ln -s vendor src
+
export GOPATH=$(pwd)/_build:$(pwd)
+export LDFLAGS="-X main.version=%{version}"
%gobuild -o bin/%{name} %{import_path}
-%{__make} GOMD2MAN=go-md2man -C docs
+
+pushd docs
+go-md2man -in %{name}.md -out %{name}.1
+popd
%install
-%{__make} \
- DESTDIR=%{buildroot} \
- PREFIX=%{_prefix} \
- OCI-SECCOMP-BPF_VERSION=%{version} \
- install-nobuild \
- install.docs-nobuild
+%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install-nobuild
+%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} GOMD2MAN=go-md2man -C docs install-nobuild
%check
%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
@@ -100,16 +109,15 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%files
%license LICENSE
%doc README.md
-%dir %{_libexecdir}/oci
%dir %{_libexecdir}/oci/hooks.d
%{_libexecdir}/oci/hooks.d/%{name}
-%dir %{_datadir}/containers
-%dir %{_datadir}/containers/oci
-%dir %{_datadir}/containers/oci/hooks.d
%{_datadir}/containers/oci/hooks.d/%{name}.json
%{_mandir}/man1/%{name}.1*
%changelog
+* Wed Sep 30 2020 Jindrich Novy <jnovy(a)redhat.com> - 1.2.0-2
+- fix spec file to accommodate the new upstream release
+
* Wed Sep 30 2020 Jindrich Novy <jnovy(a)redhat.com> - 1.2.0-1
- update to
https://github.com/containers/oci-seccomp-bpf-hook/releases/tag/v1.2.0
2 years, 7 months
Architecture specific change in rpms/scipy.git
by githook-noreply@fedoraproject.org
The package rpms/scipy.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/scipy.git/commit/?id=803fd0655ea3....
Change:
-%ifarch ppc64le
Thanks.
Full change:
============
commit 803fd0655ea31392409c6b9121a612b2bc0ca631
Author: Nikola Forró <nforro(a)redhat.com>
Date: Wed Sep 30 15:34:25 2020 +0200
New upstream release 1.5.2
- resolves: #1853871 and #1840077
diff --git a/.gitignore b/.gitignore
index 821493f..d3a3c93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@ scipy-0.7.2.tar.gz
/scipy-1.3.1.tar.gz
/scipy-1.4.1.tar.gz
/scipy-1.5.0.tar.gz
+/scipy-1.5.2.tar.gz
diff --git a/acceptable_failure_rate.patch b/acceptable_failure_rate.patch
deleted file mode 100644
index aacb1f1..0000000
--- a/acceptable_failure_rate.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/scipy/conftest.py b/scipy/conftest.py
-index e5fac23..1a971e8 100644
---- a/scipy/conftest.py
-+++ b/scipy/conftest.py
-@@ -37,3 +38,15 @@ def check_fpu_mode(request):
- warnings.warn("FPU mode changed from {0:#x} to {1:#x} during "
- "the test".format(old_mode, new_mode),
- category=FPUModeChangeWarning, stacklevel=0)
-+
-+
-+ACCEPTABLE_FAILURE_RATE = int(os.environ.get('ACCEPTABLE_FAILURE_RATE', 0))
-+
-+
-+(a)pytest.hookimpl()
-+def pytest_sessionfinish(session, exitstatus):
-+ if exitstatus != 1:
-+ return
-+ failure_rate = (100.0 * session.testsfailed) / session.testscollected
-+ if failure_rate <= ACCEPTABLE_FAILURE_RATE:
-+ session.exitstatus = 0
diff --git a/scipy.spec b/scipy.spec
index 5412207..9ade31b 100644
--- a/scipy.spec
+++ b/scipy.spec
@@ -14,8 +14,8 @@
Summary: Scientific Tools for Python
Name: scipy
-Version: 1.5.0
-Release: 4%{?dist}
+Version: 1.5.2
+Release: 1%{?dist}
# BSD -- whole package except:
# Boost -- scipy/special/cephes/scipy_iv.c
@@ -24,10 +24,8 @@ License: BSD and Boost and Public Domain
Url: http://www.scipy.org/scipylib/index.html
Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{vers...
-# Previously we ignored the tests results, because they don't always pass
-# Instead of ignoring the results entirely, we allow certain failure rate
-# https://stackoverflow.com/a/47731333/1839451
-Patch0: acceptable_failure_rate.patch
+# https://github.com/scipy/scipy/pull/12899
+Patch0: test_nnz_overflow.patch
BuildRequires: fftw-devel, suitesparse-devel
BuildRequires: %{blaslib}-devel
@@ -139,33 +137,24 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch
# check against the reference BLAS/LAPACK
export FLEXIBLAS=netlib
-# Skip all tests on s390x because they hangs unexpectedly and randomly
-# and pytest-timeout has no effect. Note that the outcome of the tests
-# was previously ignored anyway so by disabling the test for s390x we
-# are not doing anything more dangerous.
%ifarch s390x
-exit 0
-%endif
-
-%ifarch x86_64
-export ACCEPTABLE_FAILURE_RATE=0
-%else
-# there are usually 10-21 test failing, so we allow 1% failure rate
-# XXX ppc fails 2%+, so we've extended this to 3% for now
-export ACCEPTABLE_FAILURE_RATE=3
-%endif
-
-%ifarch ppc64le
-# test_decomp segfaults on ppc64le
-export k="not test_denormals and not test_decomp"
-%else
-# test_denormals tends to stuck
-export k="not test_denormals"
+# skip failing tests on s390x for now
+export PYTEST_ADDOPTS="-k '\
+ not (TestNoData and test_nodata) and \
+ not test_fortranfile_read_mixed_record and \
+ not test_kde_1d and \
+ not test_kde_1d_weighted and \
+ not test_kde_2d and \
+ not test_kde_2d_weighted and \
+ not test_gaussian_kde_subclassing and \
+ not test_gaussian_kde_covariance_caching and \
+ not test_kde_integer_input and \
+ not test_pdf_logpdf and \
+ not test_pdf_logpdf_weighted'"
%endif
pushd %{buildroot}/%{python3_sitearch}
-# TODO TestIQR.test_scale fails on Python 3.8+ due to some warnings, investigate
-%{pytest} --timeout=500 -k "$k and not (TestIQR and test_scale)" scipy --numprocesses=auto
+%{pytest} --timeout=300 scipy --numprocesses=auto
# Remove test remnants
rm -rf gram{A,B}
popd
@@ -182,6 +171,10 @@ popd
%endif
%changelog
+* Mon Aug 31 2020 Nikola Forró <nforro(a)redhat.com> - 1.5.2-1
+- New upstream release 1.5.2
+ resolves: #1853871 and #1840077
+
* Sun Aug 16 2020 Iñaki Úcar <iucar(a)fedoraproject.org> - 1.5.0-4
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
diff --git a/sources b/sources
index e0a0492..339a005 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (scipy-1.5.0.tar.gz) = 4c981a3125a88593cbc5a17417022a5db8f6ccb4c1c24e78afeb9bb26428b81d2d0fe9965caa418753b1bbbda2fa30533fa1307aac6ab168458d68f7b46049be
+SHA512 (scipy-1.5.2.tar.gz) = 45463df30a0f6270d9f4cf52235f31607904a6ae1375e12600e7f1ab2d27b1dc25a6211b49dceb71506be22c756890adaf9f81d9e6be7455def86c9caf0dc923
diff --git a/test_nnz_overflow.patch b/test_nnz_overflow.patch
new file mode 100644
index 0000000..52d5cd3
--- /dev/null
+++ b/test_nnz_overflow.patch
@@ -0,0 +1,30 @@
+From b4da1455615fd7dc6d3554d16008a1e88018fa4d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro(a)redhat.com>
+Date: Wed, 30 Sep 2020 11:44:25 +0200
+Subject: [PATCH] TST: skip test_nnz_overflow on 32-bit architectures
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+On a 32-bit architecture, in case check_free_memory() passes, the first
+np.zeros() fails with "ValueError: Maximum allowed dimension exceeded",
+which I believe is expected.
+
+Signed-off-by: Nikola Forró <nforro(a)redhat.com>
+---
+ scipy/sparse/tests/test_sparsetools.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/scipy/sparse/tests/test_sparsetools.py b/scipy/sparse/tests/test_sparsetools.py
+index 0c208ef4451..19c7de43fa1 100644
+--- a/scipy/sparse/tests/test_sparsetools.py
++++ b/scipy/sparse/tests/test_sparsetools.py
+@@ -61,6 +61,8 @@ def test_regression_std_vector_dtypes():
+
+
+ @pytest.mark.slow
++(a)pytest.mark.skipif(not (sys.platform.startswith('linux') and np.dtype(np.intp).itemsize >= 8),
++ reason="test requires 64-bit Linux")
+ def test_nnz_overflow():
+ # Regression test for gh-7230 / gh-7871, checking that coo_todense
+ # with nnz > int32max doesn't overflow.
2 years, 7 months
Architecture specific change in rpms/scipy.git
by githook-noreply@fedoraproject.org
The package rpms/scipy.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/scipy.git/commit/?id=803fd0655ea3....
Change:
-%ifarch ppc64le
Thanks.
Full change:
============
commit 803fd0655ea31392409c6b9121a612b2bc0ca631
Author: Nikola Forró <nforro(a)redhat.com>
Date: Wed Sep 30 15:34:25 2020 +0200
New upstream release 1.5.2
- resolves: #1853871 and #1840077
diff --git a/.gitignore b/.gitignore
index 821493f..d3a3c93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@ scipy-0.7.2.tar.gz
/scipy-1.3.1.tar.gz
/scipy-1.4.1.tar.gz
/scipy-1.5.0.tar.gz
+/scipy-1.5.2.tar.gz
diff --git a/acceptable_failure_rate.patch b/acceptable_failure_rate.patch
deleted file mode 100644
index aacb1f1..0000000
--- a/acceptable_failure_rate.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/scipy/conftest.py b/scipy/conftest.py
-index e5fac23..1a971e8 100644
---- a/scipy/conftest.py
-+++ b/scipy/conftest.py
-@@ -37,3 +38,15 @@ def check_fpu_mode(request):
- warnings.warn("FPU mode changed from {0:#x} to {1:#x} during "
- "the test".format(old_mode, new_mode),
- category=FPUModeChangeWarning, stacklevel=0)
-+
-+
-+ACCEPTABLE_FAILURE_RATE = int(os.environ.get('ACCEPTABLE_FAILURE_RATE', 0))
-+
-+
-+(a)pytest.hookimpl()
-+def pytest_sessionfinish(session, exitstatus):
-+ if exitstatus != 1:
-+ return
-+ failure_rate = (100.0 * session.testsfailed) / session.testscollected
-+ if failure_rate <= ACCEPTABLE_FAILURE_RATE:
-+ session.exitstatus = 0
diff --git a/scipy.spec b/scipy.spec
index 5412207..9ade31b 100644
--- a/scipy.spec
+++ b/scipy.spec
@@ -14,8 +14,8 @@
Summary: Scientific Tools for Python
Name: scipy
-Version: 1.5.0
-Release: 4%{?dist}
+Version: 1.5.2
+Release: 1%{?dist}
# BSD -- whole package except:
# Boost -- scipy/special/cephes/scipy_iv.c
@@ -24,10 +24,8 @@ License: BSD and Boost and Public Domain
Url: http://www.scipy.org/scipylib/index.html
Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{vers...
-# Previously we ignored the tests results, because they don't always pass
-# Instead of ignoring the results entirely, we allow certain failure rate
-# https://stackoverflow.com/a/47731333/1839451
-Patch0: acceptable_failure_rate.patch
+# https://github.com/scipy/scipy/pull/12899
+Patch0: test_nnz_overflow.patch
BuildRequires: fftw-devel, suitesparse-devel
BuildRequires: %{blaslib}-devel
@@ -139,33 +137,24 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch
# check against the reference BLAS/LAPACK
export FLEXIBLAS=netlib
-# Skip all tests on s390x because they hangs unexpectedly and randomly
-# and pytest-timeout has no effect. Note that the outcome of the tests
-# was previously ignored anyway so by disabling the test for s390x we
-# are not doing anything more dangerous.
%ifarch s390x
-exit 0
-%endif
-
-%ifarch x86_64
-export ACCEPTABLE_FAILURE_RATE=0
-%else
-# there are usually 10-21 test failing, so we allow 1% failure rate
-# XXX ppc fails 2%+, so we've extended this to 3% for now
-export ACCEPTABLE_FAILURE_RATE=3
-%endif
-
-%ifarch ppc64le
-# test_decomp segfaults on ppc64le
-export k="not test_denormals and not test_decomp"
-%else
-# test_denormals tends to stuck
-export k="not test_denormals"
+# skip failing tests on s390x for now
+export PYTEST_ADDOPTS="-k '\
+ not (TestNoData and test_nodata) and \
+ not test_fortranfile_read_mixed_record and \
+ not test_kde_1d and \
+ not test_kde_1d_weighted and \
+ not test_kde_2d and \
+ not test_kde_2d_weighted and \
+ not test_gaussian_kde_subclassing and \
+ not test_gaussian_kde_covariance_caching and \
+ not test_kde_integer_input and \
+ not test_pdf_logpdf and \
+ not test_pdf_logpdf_weighted'"
%endif
pushd %{buildroot}/%{python3_sitearch}
-# TODO TestIQR.test_scale fails on Python 3.8+ due to some warnings, investigate
-%{pytest} --timeout=500 -k "$k and not (TestIQR and test_scale)" scipy --numprocesses=auto
+%{pytest} --timeout=300 scipy --numprocesses=auto
# Remove test remnants
rm -rf gram{A,B}
popd
@@ -182,6 +171,10 @@ popd
%endif
%changelog
+* Mon Aug 31 2020 Nikola Forró <nforro(a)redhat.com> - 1.5.2-1
+- New upstream release 1.5.2
+ resolves: #1853871 and #1840077
+
* Sun Aug 16 2020 Iñaki Úcar <iucar(a)fedoraproject.org> - 1.5.0-4
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
diff --git a/sources b/sources
index e0a0492..339a005 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (scipy-1.5.0.tar.gz) = 4c981a3125a88593cbc5a17417022a5db8f6ccb4c1c24e78afeb9bb26428b81d2d0fe9965caa418753b1bbbda2fa30533fa1307aac6ab168458d68f7b46049be
+SHA512 (scipy-1.5.2.tar.gz) = 45463df30a0f6270d9f4cf52235f31607904a6ae1375e12600e7f1ab2d27b1dc25a6211b49dceb71506be22c756890adaf9f81d9e6be7455def86c9caf0dc923
diff --git a/test_nnz_overflow.patch b/test_nnz_overflow.patch
new file mode 100644
index 0000000..52d5cd3
--- /dev/null
+++ b/test_nnz_overflow.patch
@@ -0,0 +1,30 @@
+From b4da1455615fd7dc6d3554d16008a1e88018fa4d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro(a)redhat.com>
+Date: Wed, 30 Sep 2020 11:44:25 +0200
+Subject: [PATCH] TST: skip test_nnz_overflow on 32-bit architectures
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+On a 32-bit architecture, in case check_free_memory() passes, the first
+np.zeros() fails with "ValueError: Maximum allowed dimension exceeded",
+which I believe is expected.
+
+Signed-off-by: Nikola Forró <nforro(a)redhat.com>
+---
+ scipy/sparse/tests/test_sparsetools.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/scipy/sparse/tests/test_sparsetools.py b/scipy/sparse/tests/test_sparsetools.py
+index 0c208ef4451..19c7de43fa1 100644
+--- a/scipy/sparse/tests/test_sparsetools.py
++++ b/scipy/sparse/tests/test_sparsetools.py
+@@ -61,6 +61,8 @@ def test_regression_std_vector_dtypes():
+
+
+ @pytest.mark.slow
++(a)pytest.mark.skipif(not (sys.platform.startswith('linux') and np.dtype(np.intp).itemsize >= 8),
++ reason="test requires 64-bit Linux")
+ def test_nnz_overflow():
+ # Regression test for gh-7230 / gh-7871, checking that coo_todense
+ # with nnz > int32max doesn't overflow.
2 years, 7 months
Architecture specific change in rpms/sems.git
by githook-noreply@fedoraproject.org
The package rpms/sems.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/sems.git/commit/?id=c4fe8ae4c0eca....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit c4fe8ae4c0eca40b18d8b3f05a0d59904434b8ae
Author: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Wed Sep 30 13:23:16 2020 +0200
Disable lto on s390x
In function 'strncpy',
inlined from 'fctstr_safe_cpy' at /builddir/build/BUILD/sems-baad4717fdb3c02a63eb4869f31ec33ff8ec1fed/core/tests/fct.h:267:12,
inlined from 'fct_ts_new' at /builddir/build/BUILD/sems-baad4717fdb3c02a63eb4869f31ec33ff8ec1fed/core/tests/fct.h:1157:20:
/usr/include/bits/string_fortified.h:106:34: error: '__builtin_strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^
lto1: some warnings being treated as errors
diff --git a/sems.spec b/sems.spec
index 8010829..9f9af8f 100644
--- a/sems.spec
+++ b/sems.spec
@@ -23,6 +23,10 @@ Patch8: sems-0008-cmake-fix-symbol-visibility.patch
# Workaround for bug in GCC 10 on s390x (test again in the next builds)
Patch9: sems-0009-Don-t-copy-byte-which-will-be-replaced-with-NULL-any.patch
+%ifarch s390x
+%define _lto_cflags %{nil}
+%endif
+
BuildRequires: cmake >= 3.0
BuildRequires: flite-devel
BuildRequires: gcc-c++
commit 65ece67429b768d5e2e060249cf4c7b48552d846
Author: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Wed Sep 30 12:18:06 2020 +0200
Fix build
I kept adding BRs while there were errors in the build log. Some of those
might be unnecessary, but they probably don't hurt either.
diff --git a/sems.spec b/sems.spec
index 44616c6..8010829 100644
--- a/sems.spec
+++ b/sems.spec
@@ -1,7 +1,3 @@
-# This package depends on automagic byte compilation
-# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
-%global _python_bytecompile_extra 1
-
Summary: SIP Express Media Server, an extensible SIP media server
Name: sems
Version: 1.7.0
@@ -45,11 +41,13 @@ BuildRequires: opus-devel
#BuildRequires: python2-devel
BuildRequires: spandsp-devel
BuildRequires: speex-devel
-BuildRequires: systemd
+BuildRequires: systemd-rpm-macros
+BuildRequires: /usr/bin/git
+BuildRequires: /usr/bin/man
+BuildRequires: git-core-doc
+BuildRequires: groff
+BuildRequires: python2
Requires(pre): /usr/sbin/useradd
-Requires(post): systemd-units
-Requires(preun): systemd-units
-Requires(postun): systemd-units
# Disable gateway module
Obsoletes: %{name}-gateway =< 1.3.1
Provides: %{name}-gateway%{?_isa} = %{version}-%{release}
@@ -259,12 +257,12 @@ mv doc/README.stats core/plug-in/stats/README.stats
-DSEMS_AUDIO_PREFIX=%{_datadir} \
-DSEMS_EXEC_PREFIX=%{_prefix} \
-DSEMS_LIBDIR=%{_lib} \
- -DSEMS_DOC_PREFIX=%{_docdir}
-
-make %{?_smp_mflags}
+ -DSEMS_DOC_PREFIX=%{_docdir} \
+ -DSEMS_USE_PYTHON=no
+%cmake_build
%install
-make install DESTDIR=%{buildroot}
+%cmake_install
# FIXME disable python2 until upstream adds support for Py3
rm -f %{buildroot}/%{_sbindir}/%{name}-get-callproperties
@@ -693,6 +691,9 @@ getent passwd %{name} >/dev/null || \
%changelog
+* Tue Sep 29 20:44:24 CEST 2020 Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> - 1.7.0-0.3.20200311.git.baad471
+- Adjust cmake and python config to fix build (#1865475)
+
* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.0-0.3.20200311.git.baad471
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2 years, 8 months
Architecture specific change in rpms/sems.git
by githook-noreply@fedoraproject.org
The package rpms/sems.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/sems.git/commit/?id=beef747b46414....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit beef747b4641429459065bd39dbea447405f33e9
Author: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Wed Sep 30 13:23:16 2020 +0200
Disable lto on s390x
In function 'strncpy',
inlined from 'fctstr_safe_cpy' at /builddir/build/BUILD/sems-baad4717fdb3c02a63eb4869f31ec33ff8ec1fed/core/tests/fct.h:267:12,
inlined from 'fct_ts_new' at /builddir/build/BUILD/sems-baad4717fdb3c02a63eb4869f31ec33ff8ec1fed/core/tests/fct.h:1157:20:
/usr/include/bits/string_fortified.h:106:34: error: '__builtin_strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^
lto1: some warnings being treated as errors
diff --git a/sems.spec b/sems.spec
index b1bba28..18afa89 100644
--- a/sems.spec
+++ b/sems.spec
@@ -23,6 +23,10 @@ Patch8: sems-0008-cmake-fix-symbol-visibility.patch
# Workaround for bug in GCC 10 on s390x (test again in the next builds)
Patch9: sems-0009-Don-t-copy-byte-which-will-be-replaced-with-NULL-any.patch
+%ifarch s390x
+%define _lto_cflags %{nil}
+%endif
+
BuildRequires: cmake >= 3.0
BuildRequires: flite-devel
BuildRequires: gcc-c++
2 years, 8 months
Architecture specific change in rpms/firefox.git
by githook-noreply@fedoraproject.org
The package rpms/firefox.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/firefox.git/commit/?id=5bf600b31c....
Change:
-ExcludeArch: ppc64le
Thanks.
Full change:
============
commit e6116691d2883a0fe662f22eda019be7f2054150
Merge: d27db77 5bf600b
Author: Martin Stransky <stransky(a)redhat.com>
Date: Wed Sep 30 11:30:44 2020 +0200
merged with master, release up
diff --cc firefox.spec
index a2e5f99,a40edae..b61f07a
--- a/firefox.spec
+++ b/firefox.spec
@@@ -116,7 -112,7 +116,7 @@@ ExcludeArch: s390
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
--Release: 8%{?dist}
++Release: 9%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@@ -979,9 -975,9 +979,12 @@@ gtk-update-icon-cache %{_datadir}/icons
#---------------------------------------------------------------------
%changelog
- * Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-8
++* Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-9
+- Disabled openh264 download
+
+ * Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+ - Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
commit 5bf600b31c962564bc59464114463080c1a5824c
Author: Dan Horák <dan(a)danny.cz>
Date: Sat Sep 26 11:50:33 2020 +0200
- Re-enable builds for ppc64le
diff --git a/firefox.spec b/firefox.spec
index 141e329..a40edae 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -4,10 +4,6 @@
%global build_with_clang 0
%global build_with_asan 0
-# Temporary disabled, filed as rhbz#1862012
-%if 0%{?fedora} == 33
-ExcludeArch: ppc64le
-%endif
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
ExcludeArch: s390x
@@ -116,7 +112,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@ -979,6 +975,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+- Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
2 years, 8 months
Architecture specific change in rpms/firefox.git
by githook-noreply@fedoraproject.org
The package rpms/firefox.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/firefox.git/commit/?id=5bf600b31c....
Change:
-ExcludeArch: ppc64le
Thanks.
Full change:
============
commit e6116691d2883a0fe662f22eda019be7f2054150
Merge: d27db77 5bf600b
Author: Martin Stransky <stransky(a)redhat.com>
Date: Wed Sep 30 11:30:44 2020 +0200
merged with master, release up
diff --cc firefox.spec
index a2e5f99,a40edae..b61f07a
--- a/firefox.spec
+++ b/firefox.spec
@@@ -116,7 -112,7 +116,7 @@@ ExcludeArch: s390
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
--Release: 8%{?dist}
++Release: 9%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@@ -979,9 -975,9 +979,12 @@@ gtk-update-icon-cache %{_datadir}/icons
#---------------------------------------------------------------------
%changelog
- * Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-8
++* Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-9
+- Disabled openh264 download
+
+ * Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+ - Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
commit 5bf600b31c962564bc59464114463080c1a5824c
Author: Dan Horák <dan(a)danny.cz>
Date: Sat Sep 26 11:50:33 2020 +0200
- Re-enable builds for ppc64le
diff --git a/firefox.spec b/firefox.spec
index 141e329..a40edae 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -4,10 +4,6 @@
%global build_with_clang 0
%global build_with_asan 0
-# Temporary disabled, filed as rhbz#1862012
-%if 0%{?fedora} == 33
-ExcludeArch: ppc64le
-%endif
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
ExcludeArch: s390x
@@ -116,7 +112,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@ -979,6 +975,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+- Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
2 years, 8 months
Architecture specific change in rpms/firefox.git
by githook-noreply@fedoraproject.org
The package rpms/firefox.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/firefox.git/commit/?id=5bf600b31c....
Change:
-ExcludeArch: ppc64le
Thanks.
Full change:
============
commit e6116691d2883a0fe662f22eda019be7f2054150
Merge: d27db77 5bf600b
Author: Martin Stransky <stransky(a)redhat.com>
Date: Wed Sep 30 11:30:44 2020 +0200
merged with master, release up
diff --cc firefox.spec
index a2e5f99,a40edae..b61f07a
--- a/firefox.spec
+++ b/firefox.spec
@@@ -116,7 -112,7 +116,7 @@@ ExcludeArch: s390
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
--Release: 8%{?dist}
++Release: 9%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@@ -979,9 -975,9 +979,12 @@@ gtk-update-icon-cache %{_datadir}/icons
#---------------------------------------------------------------------
%changelog
- * Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-8
++* Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-9
+- Disabled openh264 download
+
+ * Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+ - Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
commit 5bf600b31c962564bc59464114463080c1a5824c
Author: Dan Horák <dan(a)danny.cz>
Date: Sat Sep 26 11:50:33 2020 +0200
- Re-enable builds for ppc64le
diff --git a/firefox.spec b/firefox.spec
index 141e329..a40edae 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -4,10 +4,6 @@
%global build_with_clang 0
%global build_with_asan 0
-# Temporary disabled, filed as rhbz#1862012
-%if 0%{?fedora} == 33
-ExcludeArch: ppc64le
-%endif
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
ExcludeArch: s390x
@@ -116,7 +112,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@ -979,6 +975,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+- Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
2 years, 8 months
Architecture specific change in rpms/firefox.git
by githook-noreply@fedoraproject.org
The package rpms/firefox.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/firefox.git/commit/?id=d27db77328....
Change:
-ExcludeArch: ppc64le
Thanks.
Full change:
============
commit e6116691d2883a0fe662f22eda019be7f2054150
Merge: d27db77 5bf600b
Author: Martin Stransky <stransky(a)redhat.com>
Date: Wed Sep 30 11:30:44 2020 +0200
merged with master, release up
diff --cc firefox.spec
index a2e5f99,a40edae..b61f07a
--- a/firefox.spec
+++ b/firefox.spec
@@@ -116,7 -112,7 +116,7 @@@ ExcludeArch: s390
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
--Release: 8%{?dist}
++Release: 9%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@@ -979,9 -975,9 +979,12 @@@ gtk-update-icon-cache %{_datadir}/icons
#---------------------------------------------------------------------
%changelog
- * Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-8
++* Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-9
+- Disabled openh264 download
+
+ * Sat Sep 26 2020 Dan Horák <dan[at]danny.cz> - 81.0-8
+ - Re-enable builds for ppc64le
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
commit d27db773287a244ff32554501cf94c8b58ce744a
Author: Martin Stransky <stransky(a)redhat.com>
Date: Wed Sep 30 11:27:59 2020 +0200
Disabled openh264 download
diff --git a/disable-openh264-download.patch b/disable-openh264-download.patch
index 1064911..028b730 100644
--- a/disable-openh264-download.patch
+++ b/disable-openh264-download.patch
@@ -12,3 +12,28 @@ diff -up firefox-81.0/toolkit/modules/GMPInstallManager.jsm.old firefox-81.0/too
id: "gmp-widevinecdm",
src: "chrome://global/content/gmp-sources/widevinecdm.json",
},
+diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
+--- a/toolkit/content/jar.mn
++++ b/toolkit/content/jar.mn
+@@ -108,7 +108,6 @@ toolkit.jar:
+ #ifdef XP_MACOSX
+ content/global/macWindowMenu.js
+ #endif
+- content/global/gmp-sources/openh264.json (gmp-sources/openh264.json)
+ content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json)
+
+ # Third party files
+diff --git a/toolkit/modules/GMPInstallManager.jsm b/toolkit/modules/GMPInstallManager.jsm
+--- a/toolkit/modules/GMPInstallManager.jsm
++++ b/toolkit/modules/GMPInstallManager.jsm
+@@ -238,6 +234,9 @@ GMPInstallManager.prototype = {
+ * downloaderr, verifyerr or previouserrorencountered
+ */
+ installAddon(gmpAddon) {
++ if (gmpAddon.isOpenH264) {
++ return Promise.reject({ type: "disabled" });
++ }
+ if (this._deferred) {
+ let log = getScopedLogger("GMPInstallManager.installAddon");
+ log.error("previous error encountered");
+
diff --git a/firefox.spec b/firefox.spec
index 141e329..a2e5f99 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -5,9 +5,9 @@
%global build_with_asan 0
# Temporary disabled, filed as rhbz#1862012
-%if 0%{?fedora} == 33
-ExcludeArch: ppc64le
-%endif
+#%if 0%{?fedora} == 33
+#ExcludeArch: ppc64le
+#%endif
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
ExcludeArch: s390x
@@ -116,7 +116,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@ -979,6 +979,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-8
+- Disabled openh264 download
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
2 years, 8 months
Architecture specific change in rpms/firefox.git
by githook-noreply@fedoraproject.org
The package rpms/firefox.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/firefox.git/commit/?id=d27db77328....
Change:
-ExcludeArch: ppc64le
Thanks.
Full change:
============
commit d27db773287a244ff32554501cf94c8b58ce744a
Author: Martin Stransky <stransky(a)redhat.com>
Date: Wed Sep 30 11:27:59 2020 +0200
Disabled openh264 download
diff --git a/disable-openh264-download.patch b/disable-openh264-download.patch
index 1064911..028b730 100644
--- a/disable-openh264-download.patch
+++ b/disable-openh264-download.patch
@@ -12,3 +12,28 @@ diff -up firefox-81.0/toolkit/modules/GMPInstallManager.jsm.old firefox-81.0/too
id: "gmp-widevinecdm",
src: "chrome://global/content/gmp-sources/widevinecdm.json",
},
+diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
+--- a/toolkit/content/jar.mn
++++ b/toolkit/content/jar.mn
+@@ -108,7 +108,6 @@ toolkit.jar:
+ #ifdef XP_MACOSX
+ content/global/macWindowMenu.js
+ #endif
+- content/global/gmp-sources/openh264.json (gmp-sources/openh264.json)
+ content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json)
+
+ # Third party files
+diff --git a/toolkit/modules/GMPInstallManager.jsm b/toolkit/modules/GMPInstallManager.jsm
+--- a/toolkit/modules/GMPInstallManager.jsm
++++ b/toolkit/modules/GMPInstallManager.jsm
+@@ -238,6 +234,9 @@ GMPInstallManager.prototype = {
+ * downloaderr, verifyerr or previouserrorencountered
+ */
+ installAddon(gmpAddon) {
++ if (gmpAddon.isOpenH264) {
++ return Promise.reject({ type: "disabled" });
++ }
+ if (this._deferred) {
+ let log = getScopedLogger("GMPInstallManager.installAddon");
+ log.error("previous error encountered");
+
diff --git a/firefox.spec b/firefox.spec
index 141e329..a2e5f99 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -5,9 +5,9 @@
%global build_with_asan 0
# Temporary disabled, filed as rhbz#1862012
-%if 0%{?fedora} == 33
-ExcludeArch: ppc64le
-%endif
+#%if 0%{?fedora} == 33
+#ExcludeArch: ppc64le
+#%endif
# Disabled due to https://pagure.io/fedora-infrastructure/issue/7581
ExcludeArch: s390x
@@ -116,7 +116,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 81.0
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version...
@@ -979,6 +979,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Wed Sep 30 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-8
+- Disabled openh264 download
+
* Fri Sep 25 2020 Martin Stransky <stransky(a)redhat.com> - 81.0-7
- Added openh264 fixes
2 years, 8 months