diff --git a/python-xcffib.spec b/python-xcffib.spec index a550e43..68d5a31 100644 --- a/python-xcffib.spec +++ b/python-xcffib.spec @@ -1,20 +1,13 @@ %global srcname xcffib -Name: python-xcffib -Version: 1.2.0 -Release: 1 -Summary: A drop in replacement for xpyb, an XCB python binding -License: ASL 2.0 -URL: https://github.com/tych0/xcffib -Source0: https://files.pythonhosted.org/packages/0f/7e/b83f38ad12910c22b3e56e9edf2352178924c30b2256a3f11468eec312c4/xcffib-1.2.0.tar.gz -BuildArch: noarch - -BuildRequires: libxcb-devel -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pycparser -BuildRequires: python3-cffi >= 1.1.2 -BuildRequires: python3-six +Name: python-xcffib +Version: 1.3.0 +Release: 1 +Summary: A drop in replacement for xpyb, an XCB python binding +License: ASL 2.0 +URL: https://github.com/tych0/xcffib +Source0: https://files.pythonhosted.org/packages/e9/3e/d513b437d2e24d7c27bb435e11470ea343aae8666ab8e41510adb132d9b9/xcffib-1.3.0.tar.gz +BuildArch: noarch %description xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb @@ -24,7 +17,14 @@ some of the issues described above. xcffib also builds bindings for 27 of the 29 (xprint and xkb are missing) X extensions in 1.10. %package -n python3-xcffib -Summary: A drop in replacement for xpyb, an XCB python binding +Summary: A drop in replacement for xpyb, an XCB python binding +Provides: python-xcffib = %{version}-%{release} +BuildRequires: libxcb-devel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pycparser +BuildRequires: python3-cffi +BuildRequires: python3-six Requires: python3-six Requires: python3-cffi Requires: libxcb @@ -37,7 +37,7 @@ some of the issues described above. xcffib also builds bindings for 27 of the 29 (xprint and xkb are missing) X extensions in 1.10. %prep -%setup -q -n xcffib-%{version} +%autosetup -n xcffib-%{version} %build %py3_build @@ -52,6 +52,9 @@ the 29 (xprint and xkb are missing) X extensions in 1.10. %{python3_sitelib}/xcffib*.egg-info %changelog +* Wed Apr 26 2023 wubijie - 1.3.0-1 +- Update package to version 1.3.0 + * Tue Feb 7 2023 wubijie - 1.2.0-1 - Update package to version 1.2.0 diff --git a/xcffib-1.2.0.tar.gz b/xcffib-1.2.0.tar.gz deleted file mode 100644 index 25f068c..0000000 Binary files a/xcffib-1.2.0.tar.gz and /dev/null differ diff --git a/xcffib-1.3.0.tar.gz b/xcffib-1.3.0.tar.gz new file mode 100644 index 0000000..ce46ebb Binary files /dev/null and b/xcffib-1.3.0.tar.gz differ