openSUSE / obs-service-replace_using_package_version

An OBS service to replace a regex with some package version available in the build time repositories
GNU General Public License v3.0
4 stars 12 forks source link

Update RPM spec to the current project setup #33

Closed davidcassany closed 1 year ago

davidcassany commented 1 year ago

The RPM spec is out of sync form the current poetry based project setup. The package in Virtualization:containers can't be currently updated to the latest master because the spec and the package setup there is outdated.

The package should be easily upgradable from master and successfully build from Leap 15 and TW.

davidcassany commented 1 year ago

@dcermak I may require some of your help here, as I am not familiar with poetry + tox combo. So far I did a few attempts on trying to run poetry build and use the outcome wheel or tarball in spec, however I could not manage to properly install the entry script and the *.service file in /usr/lib/obs/service/. Do you have any idea about how to deal with it?

I will try to quickly check if wheels installation can be configured in whl tarball directly, if so then I guess this is the right path of doing so, adding the *.whl file as source in OBS and then install it. I assume using the setuptools like tarball will be a PITA seams to be convoluted customizing the generated setup.py.