remove git clone
This commit is contained in:
parent
69207ee685
commit
20de8d0343
1
checksum
Normal file
1
checksum
Normal file
@ -0,0 +1 @@
|
|||||||
|
ba33958f74272b94a085d9724d87d08ea317793e1408cf1c17907990b386d64a vscode-1.93.1.tar.gz
|
||||||
BIN
vscode-1.93.1_aa
Normal file
BIN
vscode-1.93.1_aa
Normal file
Binary file not shown.
BIN
vscode-1.93.1_ab
Normal file
BIN
vscode-1.93.1_ab
Normal file
Binary file not shown.
BIN
vscode-1.93.1_ac
Normal file
BIN
vscode-1.93.1_ac
Normal file
Binary file not shown.
BIN
vscode-1.93.1_ad
Normal file
BIN
vscode-1.93.1_ad
Normal file
Binary file not shown.
21
vscode.spec
21
vscode.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: code
|
Name: code
|
||||||
Version: 1.93.1
|
Version: 1.93.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Summary: Code editing. Redefined.
|
Summary: Code editing. Redefined.
|
||||||
@ -11,6 +11,12 @@ AutoReq: 0
|
|||||||
|
|
||||||
%global __provides_exclude_from ^%{_datadir}/%{name}/.*\\.so.*$
|
%global __provides_exclude_from ^%{_datadir}/%{name}/.*\\.so.*$
|
||||||
|
|
||||||
|
Source0: vscode-%{version}_aa
|
||||||
|
Source1: vscode-%{version}_ab
|
||||||
|
Source2: vscode-%{version}_ac
|
||||||
|
Source3: vscode-%{version}_ad
|
||||||
|
Source4: %{name}.png
|
||||||
|
|
||||||
Patch1: vscode-name.patch
|
Patch1: vscode-name.patch
|
||||||
|
|
||||||
|
|
||||||
@ -44,9 +50,17 @@ Features include support for debugging, syntax highlighting, intelligent code co
|
|||||||
snippets, code refactoring, and embedded Git.
|
snippets, code refactoring, and embedded Git.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
pushd %{_sourcedir}
|
||||||
|
cat vscode-%{version}_a* > vscode-%{version}.tar.gz
|
||||||
|
sha256sum -c checksum
|
||||||
|
popd
|
||||||
|
|
||||||
|
rm -rf vscode-%{version}
|
||||||
|
|
||||||
mkdir -p vscode-%{version}
|
mkdir -p vscode-%{version}
|
||||||
pushd vscode-%{version}
|
pushd vscode-%{version}
|
||||||
git clone https://gitee.com/microsoft/vscode .
|
tar -xf %{_sourcedir}/vscode-%{version}.tar.gz --strip-components=1
|
||||||
|
pwd | xargs git config --global --add safe.directory
|
||||||
git checkout %{version}
|
git checkout %{version}
|
||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@ -148,5 +162,8 @@ update-desktop-database
|
|||||||
update-mime-database %{_datadir}/mime
|
update-mime-database %{_datadir}/mime
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 10 2024 wangkui <wangkui35@h-partner.com> - 1.93.1-2
|
||||||
|
- remove git clone
|
||||||
|
|
||||||
* Wed Oct 9 2024 wangkui <wangkui35@h-partner.com> - 1.93.1-1
|
* Wed Oct 9 2024 wangkui <wangkui35@h-partner.com> - 1.93.1-1
|
||||||
- init
|
- init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user