Bug 10584 - File missing in python-pyp2rpm
Summary: File missing in python-pyp2rpm
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 15:24 CEST by Dimitrios Glentadakis
Modified: 2013-08-17 09:57 CEST (History)
1 user (show)

See Also:
Source RPM: python-pyp2rpm-1.0.1-1.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Dimitrios Glentadakis 2013-06-21 15:24:50 CEST
The executable file is missing in this package

/usr/bin/pyp2rpm

The line is commented in the spec file:
http://svnweb.mageia.org/packages/cauldron/python-pyp2rpm/current/SPECS/python-pyp2rpm.spec?view=markup

A question:
This utility looks at ~/rpmbuild/SOURCES but in my system the sources are in ~/rpm/SOURCES
Is it something important (a policy) about the local path that we have to respect ? 
Probably in the beginning was /rpm and now i saw in the wiki became  /rpmbuild

Reproducible: 

Steps to Reproduce:
Comment 1 Jani Välimaa 2013-06-22 14:00:30 CEST
(In reply to Dimitrios Glentadakis from comment #0)
> 
> A question:
> This utility looks at ~/rpmbuild/SOURCES but in my system the sources are in
> ~/rpm/SOURCES
> Is it something important (a policy) about the local path that we have to
> respect ? 
> Probably in the beginning was /rpm and now i saw in the wiki became 
> /rpmbuild

By system wide it's defined in /usr/lib/rpm/macros (look for %_topdir), but you can override it to whatever you want in ~/.rpmmacros. Copy %_topdir line to ~/.rpmmacros and edit it.

You can test your changes by using 'rpm --eval %_topdir' before and after editing ~/.rpmmacros file.

CC: (none) => jani.valimaa

Comment 2 Dimitrios Glentadakis 2013-06-23 07:00:38 CEST
(In reply to Jani Välimaa from comment #1)
> (In reply to Dimitrios Glentadakis from comment #0)
> > 
> > A question:
> > This utility looks at ~/rpmbuild/SOURCES but in my system the sources are in
> > ~/rpm/SOURCES
> > Is it something important (a policy) about the local path that we have to
> > respect ? 
> > Probably in the beginning was /rpm and now i saw in the wiki became 
> > /rpmbuild
> 
> By system wide it's defined in /usr/lib/rpm/macros (look for %_topdir), but
> you can override it to whatever you want in ~/.rpmmacros. Copy %_topdir line
> to ~/.rpmmacros and edit it.
> 
> You can test your changes by using 'rpm --eval %_topdir' before and after
> editing ~/.rpmmacros file.

I was thinking if there was a special policy because when i created the %_topdir folder in my system in the wiki (it was the wiki of Mandriva) was written /rpm, and now in Mageia i see the wiki is changed to /rpmbuild. But it seems that it is not something important either. Maybe most correctly is /rpmbuild
Comment 3 Dimitrios Glentadakis 2013-06-23 07:02:42 CEST
Nicolas, may be there is a special reason to comment the line in the spec ?

Assignee: bugsquad => nicolas.lecureuil

Comment 4 Nicolas Lécureuil 2013-06-25 15:25:58 CEST
i will take a look
Comment 5 Dimitrios Glentadakis 2013-08-17 09:57:26 CEST
It has been fixed here:
http://svnweb.mageia.org/packages/cauldron/python-pyp2rpm/current/SPECS/python-pyp2rpm.spec?r1=392906&r2=454067

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.