From 5f9eb8882216f40f916de6956b8d2cd5c10b1ae0 Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Fri, 17 Jan 2025 16:24:59 +0100 Subject: [PATCH] Initial setup --- config.yaml | 22 +++++++++ ...-Adjust-default-values-for-AlmaLinux.patch | 47 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 config.yaml create mode 100644 files/0001-Adjust-default-values-for-AlmaLinux.patch diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..116b6e9 --- /dev/null +++ b/config.yaml @@ -0,0 +1,22 @@ +actions: + - replace: + - target: "spec" + find: "%autosetup -n background-logo-extension-%{tarball_version} -S git" + replace: "%autosetup -n background-logo-extension-%{tarball_version} -S git -p1" + count: 1 + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Debrand for AlmaLinux OS - apply AlmaLinux patch" + - "Adjust logo size and default values for AlmaLinux OS" + + - add_files: + - type: "patch" + name: "0001-Adjust-default-values-for-AlmaLinux.patch" + number: "Latest" diff --git a/files/0001-Adjust-default-values-for-AlmaLinux.patch b/files/0001-Adjust-default-values-for-AlmaLinux.patch new file mode 100644 index 0000000..fe3c547 --- /dev/null +++ b/files/0001-Adjust-default-values-for-AlmaLinux.patch @@ -0,0 +1,47 @@ +From b1de707062a2478f9a980683db8a8fbf55881f8d Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 10 Oct 2024 20:50:04 +0000 +Subject: [PATCH] Adjust default values for AlmaLinux + +--- + ...org.fedorahosted.background-logo-extension.gschema.xml | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/schemas/org.fedorahosted.background-logo-extension.gschema.xml b/schemas/org.fedorahosted.background-logo-extension.gschema.xml +index 14f6793..5e23b3a 100644 +--- a/schemas/org.fedorahosted.background-logo-extension.gschema.xml ++++ b/schemas/org.fedorahosted.background-logo-extension.gschema.xml +@@ -13,18 +13,18 @@ + + +- '/usr/share/fedora-logos/fedora_lightbackground.svg' ++ '/usr/share/almalinux-logos/fedora_logo_darkbackground.svg' + Logo file + The full logo file path + + +- '/usr/share/fedora-logos/fedora_darkbackground.svg' ++ '/usr/share/almalinux-logos/fedora_logo_darkbackground.svg' + Logo file in dark mode + The full logo file path for dark mode + + +- 'bottom-right' ++ 'bottom-left' + Logo position + + The position logo of the logo; valid values are 'center', +@@ -34,7 +34,7 @@ + + + +- 9.0 ++ 9.0 + Logo size + The logo size in percent relative to the screen width + +-- +2.43.5 +