Skip to content
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

Build RPMs and tarballs based on VERSION in Makefile #96

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

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.

None yet

3 participants