mirror of
https://github.com/Fishwaldo/obs-service-set_version.git
synced 2025-03-15 19:31:34 +00:00
An OBS source service: Update spec file version
debian | ||
tests | ||
.gitignore | ||
.travis.yml | ||
Makefile | ||
README.md | ||
set_version | ||
set_version.service |
set_version (OBS source service) 
This service updates a RPM spec or Debian changelog according to the existing files. The service can be used in combination with other services like download_files or tar_scm. This is the git repository for openSUSE:Tools/obs-service-set_version. The authoritative source is https://github.com/openSUSE/obs-service-set_version
Dependencies
Install the following deps:
zypper in python-packaging
Test suite
To run the full testsuite, some dependencies are needed:
zypper in devscripts dpkg
If the dependencies are not installed, some tests are skipped. zypper
itself
is also needed for the tests with python packages and PEP440 compatible versions.
To run the testsuite, execute:
python -m unittest discover tests/
The testrun may take some time. Don't forget to run also
flake8 set_version tests/