File project.diff of Package gitea

--- apparmor-usr.bin.gitea.orig
+++ apparmor-usr.bin.gitea
@@ -21,6 +21,7 @@ profile gitea /usr/bin/gitea flags=(atta
   /usr/share/mime/globs2 r,
   /etc/machine-id r,
   /etc/gitea/ r,
+  /etc/gitea/{JWT_SECRET,SECRET_KEY,INTERNAL_TOKEN,LFS_JWT_SECRET} r,
   /etc/gitea/{conf,https,mailer}/ r,
   /etc/gitea/https/*.{crt,key,pem} r,
 
--- gitea.changes.orig
+++ gitea.changes
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Jan 27 14:59:12 UTC 2026 - Frank Schreiner <FSchreiner@suse.com>
+
+- Fix appamor profile by allowing read of
+  * /etc/gitea/{JWT_SECRET,SECRET_KEY,INTERNAL_TOKEN,LFS_JWT_SECRET}
+
+-------------------------------------------------------------------
 Thu Jan 22 09:34:22 UTC 2026 - ecsos@opensuse.org
 
 - Update to version 1.25.4:
--- gitea.spec.orig
+++ gitea.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package gitea
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -55,13 +55,13 @@ Patch104:       opensuse-buildresults.pa
 Patch105:       opensuse-reparent.patch
 BuildRequires:  apache-rpm-macros
 BuildRequires:  git-core
-BuildRequires:  golang(API) = 1.25
 BuildRequires:  golang-packaging
 BuildRequires:  make
+BuildRequires:  pnpm >= 10.0.0
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  sysuser-tools
+BuildRequires:  golang(API) = 1.25
 BuildRequires:  nodejs(abi) >= 22
-BuildRequires:  pnpm >= 10.0.0
 %if %{with apparmor}
 BuildRequires:  apparmor-abstractions
 BuildRequires:  apparmor-rpm-macros
openSUSE Build Service is sponsored by