Skip to content

Conversation

@nkadel
Copy link

@nkadel nkadel commented May 2, 2021

Issue #, if available:

Build RPM tarballs and RPMs based on VERSION in Makefile

Description of changes:

Set the VERSION from the Makefile, not hardcoded in the .spec file.
Set the tarball name based on the VERSION.
Have the "make rpm-only" depend on "make tarball" and "make $(SPECFILE)
Reduce the complexity of the .spec file copying from "%{buildroot}%{builddir}filename", which can be shortened to "filename"
Update .gitignore to include *.spec, *.out, *.orig, *~, *.gz, *.zip and efs-utils/

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nkadel nkadel changed the title Nkadel makefile Build RPMs and tarballs based on VERSION in Makefile May 6, 2021
@bahildebrand
Copy link

See issue: #95

@Cappuccinuo Cappuccinuo self-requested a review December 17, 2021 06:41
@Cappuccinuo
Copy link
Contributor

Hey @nkadel , thanks for the PR. Can you combine your commits into single commit and address the code conflict?

@nkadel
Copy link
Author

nkadel commented Dec 17, 2021

I'd prefer not to make it one commit. How about segregating the .gitignore, from the Makefile, from the .spec commit.

@Cappuccinuo
Copy link
Contributor

Thanks. We suggest to make a single commit, it will be easier to track and manage. Unless you are not only doing Build RPMs and tarballs based on VERSION in Makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants