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

not honouring ~/.rpmmacros #161

Open
brianjmurrell opened this issue Jan 23, 2018 · 3 comments
Open

not honouring ~/.rpmmacros #161

brianjmurrell opened this issue Jan 23, 2018 · 3 comments
Labels

Comments

@brianjmurrell
Copy link

In my ~/.rpmmacros I have:

%_topdir	/home/brian/rpm

but pyp2rpm doesn't seem to be honouring that though:

$ pyp2rpm requests-unixsocket
[Errno 2] No such file or directory: '/home/brian/rpmbuild/SOURCES/requests-unixsocket-0.1.5.tar.gz'

If I work-around that with ln -s ../rpm/SOURCES /home/brian/rpmbuild/ things work better:

$ pyp2rpm requests-unixsocket >/dev/null
@hroncok hroncok added the bug label Jan 23, 2018
@irushchyshyn
Copy link
Contributor

This looks like a duplicate of #117, which should be fixed starting 3.2.3 release.

Can you please let us know which version of pyp2rpm you are using to reproduce this?

@brianjmurrell
Copy link
Author

Heh. I know the guy who opened #117. He's good people. :-)

Seriously, I thought I opened a ticket about this before and searched but just could not find it. So yeah, probably duplicate. Or maybe not. Is the solution in #117 specific to the SAVE_DIR (-d)?

In any case, I am using 3.2.3, so maybe #117 is not as general/comprehensive as it needs to be.

@irushchyshyn
Copy link
Contributor

Sorry, my mistake. This fix went into the latest 3.3.0 release. Can you please try updating to 3.3.0 and let me know if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants