create_tarball_command needs change
See original GitHub issueFor create_tarball_command
there is the following info in the docs:
A command which generates upstream tarball in the root of the upstream directory
(defaults to git archive -o "{package_name}-{version}.tar.gz"
--prefix "{package_name}-{version}/" HEAD)
After the past changes in the code, the tarball is by default created in the specfile dir:
git archive -o "{specfile_dir}/{package_name}-{version}.tar.gz" --prefix "{package_name}-{version}/" HEAD
and _sourcedir
in the rpmbuild command is set to the specfile dir . Therefore when users use custom create_tarball_command
and have spec file in the subdirectory, the SRPM creation fails.
Do we want to change the docs so that the command should generate upstream tarball in the directory with the spec file or do we want to create a symlink to the archive from the specfile directory or do you have some other suggestions?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
How to create tar.gz file in Linux using command line - nixCraft
Open the terminal application in Linux · Run tar command to create an archived named file.tar.gz for given directory name by running: tar...
Read more >How to create tar archive in a different directory?
The easy way, if you don't particularly need to use -C to tell tar to change to some other directory, is to simply...
Read more >Linux tar command help and examples - Computer Hope
On Unix-like operating systems, the tar command creates, maintains, modifies, and extracts files that are archived in the tar format.
Read more >How can I update a tar.gz file? - Ask Ubuntu
so this sequence will do what you need: # First create the tar file. It has to be UNCOMPRESSED ... Simply replace gzip...
Read more >Use tar to combine multiple files into an archive file - IU KB
Create a compressed archive file. Many Linux distributions use GNU tar , a version of tar produced by the Free Software Foundation. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, so this happened just in Dominika’s fork dhodovsk/convert2rhel#1 so we did not break any project for real.
Yes