Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip rpmrebuild #14

Closed
a-lyupa opened this issue Aug 10, 2018 · 5 comments
Closed

Skip rpmrebuild #14

a-lyupa opened this issue Aug 10, 2018 · 5 comments

Comments

@a-lyupa
Copy link
Contributor

a-lyupa commented Aug 10, 2018

@ilya-palachev ,
Is it ok to skip rpmrebuild stage?
What is the correct way to build and install it? I got rpmrebuild.tar with 0 byte size.
Why yum is set instead of zypp with --disable-rpm-patching option enabled?

@ilya-palachev
Copy link

ilya-palachev commented Aug 10, 2018

Unfortunately, I don't remember the details about rpmrebuild clearly.

Is it ok to skip rpmrebuild stage?

If the use case is at used to be, no.

What is the correct way to build and install it?

Doesn't we describe it in the setup.py script?

I got rpmrebuild.tar with 0 byte size.

Could you provide more details, with what conditions, with what use case do you get rpmrebuild.tar with 0 byte size. Does it happen during combirepo Deb package building? Or at combirepo runtime?

Why yum is set instead of zypp with --disable-rpm-patching option enabled?

If I recall correctly, yum is more stable that zypp. I've tried them both, but due to the C++-to-python bindings, zypp is very hard to debug, so I preferred yum since it was the only package manager from these two, that I succeeded to make work in the use case.

@a-lyupa
Copy link
Contributor Author

a-lyupa commented Aug 13, 2018

Doesn't we describe it in the setup.py script?
Could you provide more details, with what conditions, with what use case do you get rpmrebuild.tar with 0 byte size. Does it happen during combirepo Deb package building? Or at combirepo runtime?

I executed
`$ python -m pip install stdeb --user
$ ./setup.py sdist
$ ./setup.py --command-packages=stdeb.command bdist_deb
After that it can be installed as follows:

$ sudo dpkg -i deb_dist/combirepo_*.deb`

as it is described in README.

@ilya-palachev
Copy link

Could you check that rpmrebuild submodule has been initialized? It can be done via git submodules update or smth. like that. Usual git clone doesn't clones submodules.

@a-lyupa
Copy link
Contributor Author

a-lyupa commented Aug 14, 2018

On my host rpmrebuild sources appear when I execute
git submodule init git submodule update

Why rpmrebuild is located on git.code.sf.net?

[submodule "combirepo/rpmrebuild"]
path = rpmrebuild
url = https://git.code.sf.net/p/rpmrebuild/git
revision = .

@ilya-palachev
Copy link

Did it help?

Why rpmrebuild is located on git.code.sf.net?

For the time when it we added it, it was the main repo of that tool.

@a-lyupa a-lyupa closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants