3.0-dev: move xorg-x11-server and xorg-x11-drv-libinput to SPECS-EXTE… (#9884)

This commit is contained in:
Hideyuki Nagase 2024-07-20 03:00:28 -07:00 коммит произвёл GitHub
Родитель 0978d4ef00
Коммит 321d359429
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
48 изменённых файлов: 16 добавлений и 24 удалений

Просмотреть файл

@ -5,7 +5,7 @@
Summary: Xorg X11 libinput input driver
Name: xorg-x11-drv-libinput
Version: 0.30.0
Release: 6%{?dist}
Release: 7%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
@ -75,6 +75,9 @@ cp %{SOURCE1} %{buildroot}%{_datadir}/X11/xorg.conf.d/
%{_includedir}/xorg/libinput-properties.h
%changelog
* Thu Jul 18 2024 Hideyuki Nagase <hideyukn@microsoft.com> - 0.30.0-7
- Moved to SPECS-EXTENDED.
* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 0.30.0-6
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)

Просмотреть файл

@ -21,7 +21,7 @@
Summary: X.Org X11 X server
Name: xorg-x11-server
Version: 1.20.10
Release: 5%{?dist}
Release: 6%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
@ -386,6 +386,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_datadir}/aclocal/xorg-server.m4
%changelog
* Thu Jul 18 2024 Hideyuki Nagase <hideyukn@microsoft.com> - 1.20.10-6
- Moved to SPECS-EXTENDED.
* Mon Apr 01 2024 Riken Maharjan <rmaharjan@microsoft.com> - 1.20.10-5
- Add patch 0001-render-Fix-build-with-gcc-12.patch from Fedora 41 (License: MIT)
- Add patch 0001-hw-Rename-boolean-config-value-field-from-bool-to-bo.patch from Fedora 41 (License: MIT)

Просмотреть файл

@ -11,7 +11,7 @@ use gmpy to speed up high precision operations.}
Summary: A pure Python library for multiprecision floating-point arithmetic
Name: python-mpmath
Version: 1.3.0
Release: 4%{?dist}
Release: 5%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Azure Linux
@ -24,7 +24,6 @@ BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-sphinx
BuildRequires: xorg-x11-server-Xvfb
BuildArch: noarch
%description %{_description}
@ -72,11 +71,6 @@ sed -i -r 's/use_scm_version=True/version="%{version}"/' setup.py
%install
%py3_install
%check
pip3 install iniconfig
cd build/lib/mpmath/tests/
xvfb-run -a pytest -v
%files -n python3-mpmath
%license LICENSE
%doc CHANGES README.rst
@ -84,6 +78,9 @@ xvfb-run -a pytest -v
%{python3_sitelib}/mpmath-%{version}-*.egg-info
%changelog
* Thu Jul 18 2024 Hideyuki Nagase <hideyukn@microsoft.com> - 1.3.0-5
- Remove dependency to xorg-x11-server-Xvfb
* Mon May 13 2024 Sam Meluch <sammeluch@microsoft.com> - 1.3.0-4
- Add missing iniconfig dependency to check section

Просмотреть файл

@ -12,7 +12,7 @@ Python and does not require any external libraries.
Summary: A Python library for symbolic mathematics
Name: sympy
Version: 1.12
Release: 1%{?dist}
Release: 2%{?dist}
# The project as a whole is BSD-3-Clause.
# The files in sympy/parsing/latex are MIT.
License: BSD-3-Clause AND MIT
@ -37,8 +37,6 @@ BuildRequires: python3-mpmath
BuildRequires: python3-numpy-f2py
BuildRequires: python3-pip
BuildRequires: python3-wheel
#Test
BuildRequires: xorg-x11-server-Xvfb
%description %{_description}
@ -135,18 +133,6 @@ chmod 0755 %{buildroot}%{python3_sitelib}/sympy/benchmarks/bench_symbench.py \
# Try to get rid of pyc files, which aren't useful for documentation
find examples/ -name '*.py[co]' -print -delete
%check
# Many tests assume they are running on an x86_64 machine. Some assume that
# native 64-bit integers are available. Some assume that 80-bit floating point
# numbers are available. Some assume that certain operations always produce
# numpy float64 values (but produce float32 values on some architectures). I
# used to try to keep the test suite working on all architectures, but it has
# become too much of a burden. Only run tests if we happen to build on x86_64.
# We cannot use %%ifarch here because this is a noarch package.
if [ "$(uname -m)" = "x86_64" ]; then
xvfb-run -d %{python3} bin/test -v
fi
%files -n python3-%{name} -f %{pyproject_files}
%doc AUTHORS README.md
%{_bindir}/isympy
@ -156,6 +142,9 @@ fi
%doc examples/*
%changelog
* Thu Jul 18 2024 Hideyuki Nagase <hideyukn@microsoft.com> - 1.12-2
- Remove dependency to xorg-x11-server-Xvfb
* Thu Nov 02 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.12-1
- Auto-upgrade to 1.12 - Azure Linux 3.0 - package upgrades