File README.md of Package mock
# How to maintain mock in OBS for SUSE Note that mock requires two packages: mock and mock-core-configs ## Updating mock You can find prebuild tar files here: https://github.com/rpm-software-management/mock/releases/ Mock requires tito[1] to be build directly from git. Since tito is not currently built for SUSE, the prebuild packages from upstream can be used. To download a new version of the package, you need to edit the "Version:" value in mock.spec and run the following command: ``` osc service manualrun ``` [1]: https://github.com/rpm-software-management/tito ## Keeping spec file up-to-date Currently the .spec file is only being maintained in OBS and therefore has to be manually updated. You can see the diffrence between OBS and upsteam by running: ```sh # Note that the version might have changed tar -xf mock-5.0.tar.gz # You can also use vimdiff for nice visuals diff ./mock-5.0/mock.spec mock.spec ```