-
Notifications
You must be signed in to change notification settings - Fork 1
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
updated nwchem.spec available #3
Comments
Thanks for the update. |
Commit pushed 210d2d7 |
Pushed new commit |
patch needed to build against ga rpm without peigs |
I would like we stop using the release_date in the spec and don't refer anymore to the "versioned" tarballs Lines 8 to 10 in 1ecb311
but use instead major_version and git_hash
and point to the github archive
Such versioning is much simpler and allows one to easily test various git hashes and not being limited to only "released" tarballs. We have now also a conflict in the changelog https://src.fedoraproject.org/rpms/nwchem/blob/49cce8446fc0434a6bca421b3f6e3448efb0185a/f/nwchem.spec#_478 Let's start using a develop branch for the changes in the repository. |
I'll prepare nwchem.spec according to the comments above and test it. |
It's fine for me. My preference for using released tarballs is for two reasons: |
update dd52d5a |
master branch of https://github.com/edoapra/fedpkg.nwchem is now in sync with https://src.fedoraproject.org/rpms/nwchem |
My preference for building straight from a git hash is due to the necessity of this during last year Lines 486 to 494 in dd52d5a
Very often new fedora changes and mass rebuilds cause the nwchem build to fail and I've been building from hashes multiple times before we settled on a specific, unreleased hash to be used in the spec. Is there any difference between |
This might have unexpected consequences, since we do run travis ci on every github commit, but that does not cover all the code functionality. For this reason, my recommendation is to use release tar files in conjunction with patches. Patches "should'' be easy to generate (yes, I do remember some issues last here with the python3 transition ...). In other words, I do not considered a supported version code generated by a certain code snapshot at a certain time.
It should be the same. It seems easier to me to track down the release version to use the github tag instead of the git hash |
I'm using Line 45 in dac6f2e
as a convenience, so I don't need to rewrite the spec every time I want to test a git hash of nwchem. I'm not planning to regularly release git hashes that do not correspond to git tags, and if this happens such nwchem versions will be built only on rawhide, and hopefully replaced by a git hash of a tagged release as soon as the tag is made. There are several changes (source, PKG_TOP, prep) to the spec in order to switch from tag based archive to hash based archive and back (like here 63d1b9a). This is an extra work that does not provide a value. |
I think we can close this old issue. |
The latest spec is at https://src.fedoraproject.org/rpms/nwchem/c/406bd9b8b37781a9c617e0f29e4845014fd903bd
I simply updated to nwchemgit/nwchem@6b5bd31 due to https://bugzilla.redhat.com/show_bug.cgi?id=1793464 and the build succeeded.
The text was updated successfully, but these errors were encountered: