fix(gaphor.spec): conflicts and icons size
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 8s
Pre-commit updater / Update (push) Failing after 52s
Update Gvsbuild / check-version (push) Failing after 47s
Update Gvsbuild / update-version (push) Has been skipped
Hypothesis Tests / hypothesis (push) Failing after 31s

This commit is contained in:
2024-10-24 14:59:34 +03:00
parent 857efd98ae
commit 4d01ccc7d6

View File

@ -35,7 +35,7 @@ BuildRequires: python3-module-better-exceptions
BuildRequires: python3-module-gaphas >= 4.0 BuildRequires: python3-module-gaphas >= 4.0
BuildRequires: python3-module-generic BuildRequires: python3-module-generic
Conflicts: python3-module-gaphas < 5.0 Conflicts: python3-module-gaphas >= 5.0
%description %description
Gaphor is a UML and SysML modeling application written in Python. Gaphor is a UML and SysML modeling application written in Python.
@ -58,7 +58,7 @@ highly complex models.
install -Dm0644 %SOURCE1 %buildroot/%_desktopdir/%mod_name.desktop install -Dm0644 %SOURCE1 %buildroot/%_desktopdir/%mod_name.desktop
# Icon # Icon
for size in 24 48 64 128 256; do for size in 128 256 512; do
install -Dm644 "_packaging/macos/%mod_name.iconset/icon_${size}x${size}.png" \ install -Dm644 "_packaging/macos/%mod_name.iconset/icon_${size}x${size}.png" \
"%buildroot/%_iconsdir/hicolor/${size}x${size}/apps/%mod_name.png" "%buildroot/%_iconsdir/hicolor/${size}x${size}/apps/%mod_name.png"
done done
@ -72,10 +72,11 @@ done
%python3_sitelibdir/%{pyproject_distinfo %mod_name}/ %python3_sitelibdir/%{pyproject_distinfo %mod_name}/
%_bindir/* %_bindir/*
%_desktopdir/%mod_name.desktop %_desktopdir/%mod_name.desktop
%_iconsdir/hicolor/512x512/apps/%mod_name.png %_iconsdir/hicolor/*/apps/*.png
%doc README.md %doc README.md
%changelog %changelog
* Thu Oct 17 2024 Konstantin Kozoriz <kozorizki@basealt.ru> 2.27.0-alt1 * Thu Oct 17 2024 Konstantin Kozoriz <kozorizki@basealt.ru> 2.27.0-alt1
- Initial build - Initial build