Mageia Bugzilla – Attachment 13292 Details for
Bug 30515
repo is a repository management tool built on top of git. NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
repo.spec (text/plain), 1.63 KB, created by
Kristoffer Grundström
on 2022-06-07 04:32:46 CEST
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2022-06-07 04:32:46 CEST
Size:
1.63 KB
patch
obsolete
>Name: repo >Version: 2.19 >Release: %mkrel 1 >Summary: Repository management tool built on top of git >License: ASL 2.0 >URL: https://gerrit.googlesource.com/git-repo >Source0: %{url}/+archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz >BuildArch: noarch >BuildRequires: python3-devel >BuildRequires: git >BuildRequires: gnupg2 >BuildRequires: sed >BuildRequires: tree >Requires: git >Requires: gnupg2 > >%description >Repo is a tool built on top of Git. Repo helps manage many Git repositories, >does the uploads to revision control systems, and automates parts of the >development workflow. Repo is not meant to replace Git, only to make it easier >to work with Git. > >%prep >%autosetup -c %{name}-%{version} > ># Fix shebang >sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' %{name} > >%build ># repo is an unusual tool because it downloads all of its own Python modules ># at runtime using GPG-signed git tags, and stores those files as part of the ># project that it is working with. This package just provides the wrapper ># script, which provides the GPG signing keys for verifying that the correct ># Python code was downloaded, so there's nothing to actually build. > >%install >install -Dpm0755 -t %{buildroot}%{_bindir} %{name} >install -Dpm0644 -t %{buildroot}%{_mandir}/man1 man/%{name}*.1 >install -Dpm0644 completion.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} > >%files >%license LICENSE >%doc README.md docs/*.md >%{_bindir}/%{name} >%{_mandir}/man1/%{name}*.1* >%dir %{_datadir}/bash-completion >%dir %{_datadir}/bash-completion/completions >%{_datadir}/bash-completion/completions/%{name}
Name: repo Version: 2.19 Release: %mkrel 1 Summary: Repository management tool built on top of git License: ASL 2.0 URL: https://gerrit.googlesource.com/git-repo Source0: %{url}/+archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: git BuildRequires: gnupg2 BuildRequires: sed BuildRequires: tree Requires: git Requires: gnupg2 %description Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. %prep %autosetup -c %{name}-%{version} # Fix shebang sed -i 's:#!/usr/bin/env python:#!/usr/bin/python3:' %{name} %build # repo is an unusual tool because it downloads all of its own Python modules # at runtime using GPG-signed git tags, and stores those files as part of the # project that it is working with. This package just provides the wrapper # script, which provides the GPG signing keys for verifying that the correct # Python code was downloaded, so there's nothing to actually build. %install install -Dpm0755 -t %{buildroot}%{_bindir} %{name} install -Dpm0644 -t %{buildroot}%{_mandir}/man1 man/%{name}*.1 install -Dpm0644 completion.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} %files %license LICENSE %doc README.md docs/*.md %{_bindir}/%{name} %{_mandir}/man1/%{name}*.1* %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/%{name}
View Attachment As Raw
Actions:
View
Attachments on
bug 30515
:
13292
|
13608