forked from pool/python-platformio
- Add python-platformio.rpmlintrc to avoid false positives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=20
This commit is contained in:
@@ -4,6 +4,7 @@ Thu Nov 10 12:07:39 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
- Switch to wheel build/install, move scripts/ directory to the
|
||||
packages's namespace (see
|
||||
https://community.platformio.org/t/installs-scripts-directory-to-the-global-namespace/30396).
|
||||
- Add python-platformio.rpmlintrc to avoid false positives.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 9 16:27:43 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
13
python-platformio.rpmlintrc
Normal file
13
python-platformio.rpmlintrc
Normal file
@@ -0,0 +1,13 @@
|
||||
# These hidden files are legitimate part of the package
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.ccls.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.clang_complete.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.cproject.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.gcc-flags.json.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.gitignore.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.project.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.settings")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.vscode")
|
||||
# These two names are links to the same file
|
||||
addFilter("files-duplicate /usr/bin/platformio-3\.\d+ /usr/bin/pio-3\.\d+")
|
||||
|
||||
|
||||
@@ -23,7 +23,8 @@ Summary: New Generation Ecosystem for Embedded Development
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/platformio/platformio-core
|
||||
Source: https://files.pythonhosted.org/packages/source/p/platformio/platformio-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/platformio/platformio-%{version}.tar.gz
|
||||
Source99: python-platformio.rpmlintrc
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
|
||||
Reference in New Issue
Block a user