forked from pool/python-specfile
Accepting request 1043093 from home:david.anes:branches:devel:languages:python
- Add config.cfg improvements to remove deprecation warnings * python-specfile-improve-setup-cfg.patch - Update to version 0.11.1 * Tags enclosed in conditional macro expansions are not ignored anymore. * Fixed context managers being shared between Specfile instances. 1q - Update to version 0.11.0 * Context managers (Specfile.sections(), Specfile.tags() etc.) can now be nested and combined together (with one exception - Specfile.macro_definitions()), and it is also possible to use tag properties (e.g. Specfile.version, Specfile.license) inside them. It is also possible to access the data directly, avoiding the with statement, by using the content property (e.g. Specfile.tags().content), but be aware that no modifications done to such data will be preserved. You must use with to make changes. OBS-URL: https://build.opensuse.org/request/show/1043093 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=7
This commit is contained in:
14
python-specfile-improve-setup-cfg.patch
Normal file
14
python-specfile-improve-setup-cfg.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: specfile-0.11.1/setup.cfg
|
||||
===================================================================
|
||||
--- specfile-0.11.1.orig/setup.cfg
|
||||
+++ specfile-0.11.1/setup.cfg
|
||||
@@ -7,7 +7,8 @@ url = https://github.com/packit/specfile
|
||||
author = Red Hat
|
||||
author_email = user-cont-team@redhat.com
|
||||
license = MIT
|
||||
-license_file = LICENSE
|
||||
+license_files =
|
||||
+ LICENSE
|
||||
classifiers =
|
||||
Development Status :: 4 - Beta
|
||||
Environment :: Console
|
Reference in New Issue
Block a user