Closed tomschr closed 7 years ago
We would like to have an RPM package which can be nicely installed under openSUSE.
osc
devel:tools:scm
py2pack
python3-py2pack
devel:languages:python3
spec-cleaner, package spec-cleaner
spec-cleaner
In your Git working repo:
git flow release start VERSION
Changelog.rst
bumpversion
git flow release finish
./setup.py sdist
dist/
In your OBS working repo:
osc mkpac sonnenhut
dist
.changes
osc vc
sonnenhut.changes
sonnenhut.spec
osc add *
osc build -j4 openSUSE_Leap_42.2 x86_64 sonnenhut.spec
osc ci
Your done! Congratulations! 👍
https://build.opensuse.org/package/show/home:dpopov/sonnenhut
We would like to have an RPM package which can be nicely installed under openSUSE.
What you need
osc
, packageosc
fromdevel:tools:scm
py2pack
, packagepython3-py2pack
fromdevel:languages:python3
spec-cleaner
, packagespec-cleaner
How it works
In your Git working repo:
git flow release start VERSION
)Changelog.rst
file.bumpversion
.git flow release finish
./setup.py sdist
. Find the archive under thedist/
directory.In your OBS working repo:
osc
accordingly.osc mkpac sonnenhut
dist
directory to the OBS directory..changes
file with:osc vc
and add a meaningful message.sonnenhut.changes
,sonnenhut.spec
, and the tarball) to the repo withosc add *
osc build -j4 openSUSE_Leap_42.2 x86_64 sonnenhut.spec
osc ci
Your done! Congratulations! 👍