* drop python<=3.7 support
Filter all python code over `pyupgrade --py38-plus`.
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
* filter all code over `ruff` as well
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
---------
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
This change adds an RPM file and makes some
minor modifications to the build in order to create
an RPM file which passed the Fedora review process.
For this spec file to work there has to be a tag named
`open62541-<version>`, e.g. `open62541-0.2`. However this
can be locally emulated by providing a sources file of the
same name, e.g. `open62541-0.2.tar.gz`.
An easier option is to use `tito` for a local build and
execute `tito --test --rpm` in order to build a local version
of the latest git commit automatically.
Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1487578
Conflicts:
CMakeLists.txt