-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update devpod and fix its build (#114)
- Loading branch information
1 parent
3056cb5
commit 42759d5
Showing
1 changed file
with
13 additions
and
17 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
%global debug_package %{nil} | ||
%global _missing_build_ids_terminate_build 0 | ||
|
||
Name: devpod | ||
# renovate: datasource=github-releases depName=loft-sh/devpod | ||
Version: v0.6.7 | ||
Version: v0.6.8 | ||
Release: 1%{?dist} | ||
Summary: Codespaces but open-source, client-only and unopinionated. | ||
|
||
|
@@ -15,31 +18,24 @@ Requires: webkit2gtk4.0 | |
%description | ||
Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker. | ||
|
||
%if 0%{?fedora} == 41 | ||
%global _missing_build_ids_terminate_build 0 | ||
%global debug_package %{nil} | ||
%endif | ||
|
||
%prep | ||
%autosetup -c | ||
|
||
%install | ||
mkdir -p %{buildroot}%{_bindir}/ | ||
mkdir -p %{buildroot}%{_datadir}/ | ||
rm -rf usr/bin/xdg-open | ||
rm -rf usr/share/glib-2.0 | ||
cp -rf usr/bin/* %{buildroot}%{_bindir}/ | ||
cp -rf usr/share/* %{buildroot}%{_datadir}/ | ||
rm -rf usr | ||
install -Dm0755 -t %{buildroot}%{_bindir} usr/bin/DevPod | ||
install -Dm0755 -t %{buildroot}%{_bindir} usr/bin/devpod-cli | ||
install -Dm0644 -t %{buildroot}%{_datadir}/applications usr/share/applications/DevPod.desktop | ||
install -Dm0644 -t %{buildroot}%{_datadir}/icons/hicolor/32x32/apps usr/share/icons/hicolor/32x32/apps/DevPod.png | ||
install -Dm0644 -t %{buildroot}%{_datadir}/icons/hicolor/128x128/apps usr/share/icons/hicolor/128x128/apps/DevPod.png | ||
install -Dm0644 -t %{buildroot}%{_datadir}/icons/hicolor/256x256@2/apps usr/share/icons/hicolor/256x256@2/apps/DevPod.png | ||
|
||
%files | ||
%{_bindir}/devpod-cli | ||
%{_bindir}/DevPod | ||
%{_datadir}/icons/hicolor/256x256@2/apps/DevPod.png | ||
%{_datadir}/icons/hicolor/128x128/apps/DevPod.png | ||
%{_datadir}/icons/hicolor/32x32/apps/DevPod.png | ||
%{_datadir}/icons/hicolor/128x128/apps/DevPod.png | ||
%{_datadir}/icons/hicolor/256x256@2/apps/DevPod.png | ||
%{_datadir}/applications/DevPod.desktop | ||
|
||
%changelog | ||
* Sun Nov 03 2024 - Zeglius <[email protected]> | ||
- Dummy changelog | ||
%autochangelog |