Hi Ankur,
https://github.com/brocade/bsn-fc-txptd/
==>the name of the git repositriy Is as per brocade guide lines(bsn is the
domain name).
So if I create a new SRPM file with proper spec file and
Do the same process like below should resolve the issue ?
fedpkg import PATH_TO_SRPM
git commit -m "Initial import (#XXXXXX)."
git push
fedpkg build
Regards,
Muneendra.
-----Original Message-----
From: Ankur Sinha [mailto:sanjay.ankur@gmail.com]
Sent: Tuesday, September 3, 2019 2:30 PM
To: devel(a)lists.fedoraproject.org
Cc: zebob.m(a)gmail.com
Subject: Re: package name and spec name missmatch
(Cc'd reviewer/sponsor: eclipseo)
On Tue, Sep 03, 2019 13:42:18 +0530, Muneendra Kumar M via devel wrote:
Hi All,
Hi Muneendra,
An rpm package has been created by name fctxpd.
https://src.fedoraproject.org/rpms/fctxpd
But my spec file name and the name field in my spec file is fc_txptd.
And my SRPM also has the name with fc_txptd.
And I push the SRPM with fc_txptd because of which fedpkg build is
failing.
fedpkg import PATH_TO_SRPM
git commit -m "Initial import (#XXXXXX)."
git push
fedpkg build
Do I need to create a new SRPM with fctxpd and push the same again to
git.
Your spec file *must* have the same name as the package:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_file_nami
ng
So, yes, correcting the name of the spec file will "fix" the issue.
If, the name of the software, however, is fc_txptd, then it should've been
reviewed as "fc_txptd" and the SCM repository be called "fc_txptd"
also.
https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_general
_naming
I see the upstream repository is called "bsn-fc-txptd"---neither fc_txptd
nor fxtxptd. Any reason not to use this as the spec and package name?
https://github.com/brocade/bsn-fc-txptd/
--
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) |
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London