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.an...@gmail.com]
Sent: Tuesday, September 3, 2019 2:30 PM
To: devel@lists.fedoraproject.org
Cc: zebo...@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
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org

Reply via email to