mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
Merge pull request #370 from aikawayataro/fix-packages
Fix aarch64 package dependencies
This commit is contained in:
commit
3369cc00f3
2 changed files with 4 additions and 4 deletions
|
@ -5,8 +5,8 @@ Summary: Open-source & Free Git Gui Client
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://sourcegit-scm.github.io/
|
URL: https://sourcegit-scm.github.io/
|
||||||
Source: https://github.com/sourcegit-scm/sourcegit/archive/refs/tags/v%_version.tar.gz
|
Source: https://github.com/sourcegit-scm/sourcegit/archive/refs/tags/v%_version.tar.gz
|
||||||
Requires: libX11.so.6
|
Requires: libX11
|
||||||
Requires: libSM.so.6
|
Requires: libSM
|
||||||
|
|
||||||
%define _build_id_links none
|
%define _build_id_links none
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ mkdir -p %{buildroot}/%{_bindir}
|
||||||
mkdir -p %{buildroot}/usr/share/applications
|
mkdir -p %{buildroot}/usr/share/applications
|
||||||
mkdir -p %{buildroot}/usr/share/icons
|
mkdir -p %{buildroot}/usr/share/icons
|
||||||
cp -f ../../../SourceGit/* %{buildroot}/opt/sourcegit/
|
cp -f ../../../SourceGit/* %{buildroot}/opt/sourcegit/
|
||||||
ln -sf ../../opt/sourcegit/sourcegit %{buildroot}/%{_bindir}
|
ln -rsf %{buildroot}/opt/sourcegit/sourcegit %{buildroot}/%{_bindir}
|
||||||
cp -r ../../_common/applications %{buildroot}/%{_datadir}
|
cp -r ../../_common/applications %{buildroot}/%{_datadir}
|
||||||
cp -r ../../_common/icons %{buildroot}/%{_datadir}
|
cp -r ../../_common/icons %{buildroot}/%{_datadir}
|
||||||
chmod 755 -R %{buildroot}/opt/sourcegit
|
chmod 755 -R %{buildroot}/opt/sourcegit
|
||||||
|
|
|
@ -60,7 +60,7 @@ mkdir -p resources/deb/usr/bin
|
||||||
mkdir -p resources/deb/usr/share/applications
|
mkdir -p resources/deb/usr/share/applications
|
||||||
mkdir -p resources/deb/usr/share/icons
|
mkdir -p resources/deb/usr/share/icons
|
||||||
cp -f SourceGit/* resources/deb/opt/sourcegit
|
cp -f SourceGit/* resources/deb/opt/sourcegit
|
||||||
ln -sf ../../opt/sourcegit/sourcegit resources/deb/usr/bin
|
ln -rsf resources/deb/opt/sourcegit/sourcegit resources/deb/usr/bin
|
||||||
cp -r resources/_common/applications resources/deb/usr/share
|
cp -r resources/_common/applications resources/deb/usr/share
|
||||||
cp -r resources/_common/icons resources/deb/usr/share
|
cp -r resources/_common/icons resources/deb/usr/share
|
||||||
sed -i -e "s/^Version:.*/Version: $VERSION/" -e "s/^Architecture:.*/Architecture: $arch/" resources/deb/DEBIAN/control
|
sed -i -e "s/^Version:.*/Version: $VERSION/" -e "s/^Architecture:.*/Architecture: $arch/" resources/deb/DEBIAN/control
|
||||||
|
|
Loading…
Reference in a new issue