RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/xcb-proto#3a764be88c81d5e40856a820a491f7ccdc971a02
This commit is contained in:
parent
c86820798b
commit
711cc90dd6
|
@ -0,0 +1,8 @@
|
|||
xcb-proto-1.6.tar.bz2
|
||||
/xcb-proto-1.7.tar.bz2
|
||||
/xcb-proto-1.8.tar.bz2
|
||||
/xcb-proto-1.9.tar.bz2
|
||||
/xcb-proto-1.10.tar.bz2
|
||||
/xcb-proto-1.11.tar.bz2
|
||||
/xcb-proto-1.12.tar.bz2
|
||||
/xcb-proto-1.13.tar.bz2
|
|
@ -0,0 +1 @@
|
|||
SHA512 (xcb-proto-1.13.tar.bz2) = 002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7
|
|
@ -0,0 +1,39 @@
|
|||
Index: xcb-proto-1.13/xcbgen/matcher.py
|
||||
===================================================================
|
||||
--- xcb-proto-1.13.orig/xcbgen/matcher.py
|
||||
+++ xcb-proto-1.13/xcbgen/matcher.py
|
||||
@@ -7,7 +7,7 @@ we do not create a new type object, we j
|
||||
'''
|
||||
|
||||
from os.path import join
|
||||
-from xml.etree.cElementTree import parse
|
||||
+from xml.etree.ElementTree import parse
|
||||
|
||||
from xcbgen.xtypes import *
|
||||
|
||||
Index: xcb-proto-1.13/xcbgen/state.py
|
||||
===================================================================
|
||||
--- xcb-proto-1.13.orig/xcbgen/state.py
|
||||
+++ xcb-proto-1.13/xcbgen/state.py
|
||||
@@ -2,7 +2,7 @@
|
||||
This module contains the namespace class and the singleton module class.
|
||||
'''
|
||||
from os.path import dirname, basename
|
||||
-from xml.etree.cElementTree import parse
|
||||
+from xml.etree.ElementTree import parse
|
||||
|
||||
from xcbgen import matcher
|
||||
from xcbgen.error import *
|
||||
Index: xcb-proto-1.13/xcbgen/align.py
|
||||
===================================================================
|
||||
--- xcb-proto-1.13.orig/xcbgen/align.py
|
||||
+++ xcb-proto-1.13/xcbgen/align.py
|
||||
@@ -2,7 +2,7 @@
|
||||
This module contains helper classes for alignment arithmetic and checks
|
||||
'''
|
||||
|
||||
-from fractions import gcd
|
||||
+from math import gcd
|
||||
|
||||
class Alignment(object):
|
||||
|
|
@ -0,0 +1,131 @@
|
|||
%define debug_package %{nil}
|
||||
|
||||
Name: xcb-proto
|
||||
Version: 1.13
|
||||
Release: 14%{?dist}
|
||||
Summary: XCB protocol descriptions
|
||||
|
||||
License: MIT
|
||||
URL: https://xcb.freedesktop.org/
|
||||
Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
||||
|
||||
# cElementTree no longer exists in Python 3.9
|
||||
# fractions.gcd has been replaced by math.gcd
|
||||
Patch0001: xcb-proto-1.13-python39.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
%description
|
||||
XCB is a project to enable efficient language bindings to the X11 protocol.
|
||||
This package contains the protocol descriptions themselves. Language
|
||||
bindings use these protocol descriptions to generate code for marshalling
|
||||
the protocol.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# Bit of a hack to get the pc file in /usr/share, so we can be noarch.
|
||||
%configure --libdir=%{_datadir}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc NEWS README TODO doc/xml-xcb.txt
|
||||
%{_datadir}/pkgconfig/xcb-proto.pc
|
||||
%dir %{_datadir}/xcb/
|
||||
%{_datadir}/xcb/*.xsd
|
||||
%{_datadir}/xcb/*.xml
|
||||
%{python3_sitelib}/xcbgen
|
||||
|
||||
%changelog
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat May 30 2020 Björn Esser <besser82@fedoraproject.org> - 1.13-13
|
||||
- Update patch to fix python module for use with Python 3.9
|
||||
|
||||
* Sat May 30 2020 Björn Esser <besser82@fedoraproject.org> - 1.13-12
|
||||
- Add patch to fix python module for use with Python 3.9
|
||||
- Modernize spec file
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.13-11
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.13-9
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.13-8
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.13-4
|
||||
- Drop useless %%defattr
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.13-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Mon Mar 19 2018 Adam Jackson <ajax@redhat.com> - 1.13-2
|
||||
- Switch to python3
|
||||
|
||||
* Mon Mar 05 2018 Adam Jackson <ajax@redhat.com> - 1.13-1
|
||||
- xcb-proto 1.13
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Aug 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.12-5
|
||||
- Add a build-time dependency on python2-devel
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Wed May 18 2016 Adam Jackson <ajax@redhat.com> - 1.12-1
|
||||
- xcb-proto 1.12
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed Oct 01 2014 Adam Jackson <ajax@redhat.com> 1.11-1
|
||||
- xcb-proto 1.11
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2014 Adam Jackson <ajax@redhat.com> 1.10-1
|
||||
- xcb-proto 1.10
|
||||
|
||||
* Mon Dec 02 2013 Adam Jackson <ajax@redhat.com> 1.9-1
|
||||
- xcb-proto 1.9
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
Loading…
Reference in New Issue