diff --git a/bunch.patch b/bunch.patch new file mode 100644 index 0000000000000000000000000000000000000000..8bc9f6518ee1032d42522439ba8faf693196034f --- /dev/null +++ b/bunch.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index b10f09e..278ee21 100644 +--- a/setup.py ++++ b/setup.py +@@ -8,7 +8,7 @@ from setuptools import setup + HERE = abspath(dirname(__file__)) + readme = open(join(HERE, 'README.rst')).read() + +-package_file = open(join(HERE, 'bunch/__init__.py'), 'rU') ++package_file = open(join(HERE, 'bunch/__init__.py'), 'r') + __version__ = re.sub( + r".*\b__version__\s+=\s+'([^']+)'.*", + r'\1', diff --git a/python-bunch.spec b/python-bunch.spec index ab77ade62429d9dd9e90332935e85c088aef89b1..823e3f979ca8202b010d4d6b573373979117fdfa 100644 --- a/python-bunch.spec +++ b/python-bunch.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-bunch Version: 1.0.1 -Release: 2 +Release: 3 Summary: A dot-accessible dictionary (a la JavaScript objects) License: MIT URL: http://github.com/dsc/bunch Source0: https://files.pythonhosted.org/packages/cc/56/ceef9c8c12600a1ceb3dcefdd9e5094c72fbdba0c3af785b4a69205022c1/bunch-1.0.1.zip +Patch001: bunch.patch BuildArch: noarch %description Bunch is a dictionary that supports attribute-style access, a la JavaScript. @@ -71,6 +72,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Aug 10 2023 zhengting - 1.0.1-3 +- DESC: fix conflict with bunch + * Fri Jul 30 2021 chenyanpanHW - 1.0.1-2 - DESC: delete -S git from %autosetup