Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7304 from cms-sw/test-download-usercommand
added dummy test-download package to show how to use custom download command
- Loading branch information
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%define pip_name pycurl | ||
%define source0 usercommand://%{pip_name}?package_dependency=py3-pip,git&command=pip3%%20download%%20--no-deps%%20--no-binary%%3D:all:%%20--disable-pip-version-check%%20-d%%20.%%20%{pip_name}==%{realversion};/bin/ls%%20|grep%%20-v%%20files.list>%%20files.list&output=/source.tar.gz |