Yes,

How to I extract the .tgz (or the .spec) file from a src.rpm ?


>
> On 2021-06-19 2:35 p.m., Patrick Dupre wrote:
> > This what I have done.
> >
> > extrated the gsl.spec from gsl-2.7.tgz
> > edited it to set the version (2.7)
> > run rpmbuild -bb gsl.spec
> > It started to work, but finally stop with
> > * Examples:
> > * - to ignore standard and empty RPATHs, execute 'rpmbuild' like
> > *   $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm
> > * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths 
> > like
> > *   $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths
> > *
> > *******************************************************************************
> > ERROR   0001: file '/usr/bin/gsl-histogram' contains a standard rpath 
> > '/usr/lib64' in [/usr/lib64]
> > ERROR   0001: file '/usr/bin/gsl-randist' contains a standard rpath 
> > '/usr/lib64' in [/usr/lib64]
> > error: Bad exit status from /var/tmp/rpm-tmp.rVEtxu (%install)
>
> You probably need the Fedora spec file, not the upstream one.
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to