From 8e1dfe35dfb166720bd2cbac5a740f68b54a9d53f1197d9f8f98a22799c00791 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 22 Feb 2021 12:56:42 +0000 Subject: [PATCH 1/3] Accepting request 873412 from home:alois:branches:Archiving - Add _multibuild and create python module package OBS-URL: https://build.opensuse.org/request/show/873412 OBS-URL: https://build.opensuse.org/package/show/Archiving/brotli?expand=0&rev=30 --- _multibuild | 4 ++++ brotli.changes | 5 +++++ brotli.spec | 2 +- python-brotli.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 _multibuild create mode 100644 python-brotli.spec diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..d5ae92b --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + python-brotli + + diff --git a/brotli.changes b/brotli.changes index 18256f6..30fafa6 100644 --- a/brotli.changes +++ b/brotli.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 18 09:25:31 UTC 2021 - Luigi Baldoni + +- Add _multibuild and create python module package + ------------------------------------------------------------------- Tue Sep 1 13:56:47 UTC 2020 - Jan Engelhardt diff --git a/brotli.spec b/brotli.spec index 2a747ec..94472b3 100644 --- a/brotli.spec +++ b/brotli.spec @@ -1,7 +1,7 @@ # # spec file for package brotli # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2017 Buschmann # # All modifications and additions to the file contributed by third parties diff --git a/python-brotli.spec b/python-brotli.spec new file mode 100644 index 0000000..9f3b0e7 --- /dev/null +++ b/python-brotli.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-brotli +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-brotli +Version: 1.0.9 +Release: 0 +Summary: Brotli python module +License: MIT +Group: Development/Languages/Python +URL: https://github.com/google/brotli +Source: https://github.com/google/brotli/archive/v%version.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: gcc-c++ +BuildRequires: python-rpm-macros +%python_subpackages + +%description +Module to use Brotli with python. + +%prep +%autosetup -n brotli-%version + +%build +%python_build + +%install +%python_install + +%files %python_files +%doc python/README.md +%license LICENSE +%python_sitearch/__pycache__ +%python_sitearch/_brotli.cpython*.so +%python_sitearch/brotli.py +%python_sitearch/Brotli-%version-py%python_version.egg-info + +%changelog From 975e5b49e570d2029434a59c128badd586759ab4d96bbba19ffe75116c732c78 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 26 Feb 2021 13:18:42 +0000 Subject: [PATCH 2/3] Accepting request 875350 from home:alois:branches:Archiving Revert ill-advised python changes OBS-URL: https://build.opensuse.org/request/show/875350 OBS-URL: https://build.opensuse.org/package/show/Archiving/brotli?expand=0&rev=31 --- _multibuild | 4 ---- brotli.changes | 5 ----- python-brotli.spec | 55 ---------------------------------------------- 3 files changed, 64 deletions(-) delete mode 100644 _multibuild delete mode 100644 python-brotli.spec diff --git a/_multibuild b/_multibuild deleted file mode 100644 index d5ae92b..0000000 --- a/_multibuild +++ /dev/null @@ -1,4 +0,0 @@ - - python-brotli - - diff --git a/brotli.changes b/brotli.changes index 30fafa6..18256f6 100644 --- a/brotli.changes +++ b/brotli.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu Feb 18 09:25:31 UTC 2021 - Luigi Baldoni - -- Add _multibuild and create python module package - ------------------------------------------------------------------- Tue Sep 1 13:56:47 UTC 2020 - Jan Engelhardt diff --git a/python-brotli.spec b/python-brotli.spec deleted file mode 100644 index 9f3b0e7..0000000 --- a/python-brotli.spec +++ /dev/null @@ -1,55 +0,0 @@ -# -# spec file for package python-brotli -# -# Copyright (c) 2021 SUSE LLC -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via https://bugs.opensuse.org/ -# - - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -Name: python-brotli -Version: 1.0.9 -Release: 0 -Summary: Brotli python module -License: MIT -Group: Development/Languages/Python -URL: https://github.com/google/brotli -Source: https://github.com/google/brotli/archive/v%version.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: gcc-c++ -BuildRequires: python-rpm-macros -%python_subpackages - -%description -Module to use Brotli with python. - -%prep -%autosetup -n brotli-%version - -%build -%python_build - -%install -%python_install - -%files %python_files -%doc python/README.md -%license LICENSE -%python_sitearch/__pycache__ -%python_sitearch/_brotli.cpython*.so -%python_sitearch/brotli.py -%python_sitearch/Brotli-%version-py%python_version.egg-info - -%changelog From 584b7a5a638b2fa21d1f3b7c43b0b9074e07c2655e1645bdab256e8b4b927ee7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 27 Feb 2023 12:14:40 +0000 Subject: [PATCH 3/3] Accepting request 1067969 from home:msmeissn:branches:Archiving - add 32bit devel package for Wine development. OBS-URL: https://build.opensuse.org/request/show/1067969 OBS-URL: https://build.opensuse.org/package/show/Archiving/brotli?expand=0&rev=32 --- baselibs.conf | 4 ++++ brotli.changes | 5 +++++ brotli.spec | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/baselibs.conf b/baselibs.conf index d8e03b8..88b8b40 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,8 @@ libbrotlicommon1 libbrotlidec1 libbrotlienc1 +libbrotli-devel + requires "libbrotlicommon1- = " + requires "libbrotlidec1- = " + requires "libbrotlienc1- = " diff --git a/brotli.changes b/brotli.changes index 18256f6..a0feaaf 100644 --- a/brotli.changes +++ b/brotli.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 25 10:48:18 UTC 2023 - Marcus Meissner + +- add 32bit devel package for Wine development. + ------------------------------------------------------------------- Tue Sep 1 13:56:47 UTC 2020 - Jan Engelhardt diff --git a/brotli.spec b/brotli.spec index 94472b3..37e1fe2 100644 --- a/brotli.spec +++ b/brotli.spec @@ -1,7 +1,7 @@ # # spec file for package brotli # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2017 Buschmann # # All modifications and additions to the file contributed by third parties