Accepting request 1160096 from home:rrahl0:branches:devel:tools:scm
. OBS-URL: https://build.opensuse.org/request/show/1160096 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo?expand=0&rev=5
This commit is contained in:
parent
e5096b53ec
commit
b2c8cd471a
17
forgejo.spec
17
forgejo.spec
@ -50,14 +50,24 @@ BuildRequires: make
|
|||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
BuildRequires: apparmor-abstractions
|
BuildRequires: apparmor-abstractions
|
||||||
|
BuildRequires: apparmor-parser
|
||||||
BuildRequires: apparmor-rpm-macros
|
BuildRequires: apparmor-rpm-macros
|
||||||
Recommends: apparmor-abstractions
|
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
Requires: git-lfs
|
Requires: git-lfs
|
||||||
|
Requires: (%{name}-apparmor if apparmor)
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
%{systemd_requires}
|
%{systemd_requires}
|
||||||
%{sysusers_requires}
|
%{sysusers_requires}
|
||||||
|
|
||||||
|
%package apparmor
|
||||||
|
Summary: Apparmor profile for %{name}
|
||||||
|
Supplements: (%{name} and apparmor)
|
||||||
|
Requires: apparmor
|
||||||
|
Recommends: apparmor-abstractions
|
||||||
|
|
||||||
|
%description apparmor
|
||||||
|
This package includes the apparmor profile for %{name}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo
|
Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo
|
||||||
– the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.
|
– the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.
|
||||||
@ -110,8 +120,6 @@ install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.forgejo
|
|||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/gitea
|
%{_bindir}/gitea
|
||||||
%{_sysconfdir}/apparmor.d
|
|
||||||
%config %{_sysconfdir}/apparmor.d/usr.bin.forgejo
|
|
||||||
%defattr(0660,root,forgejo,770)
|
%defattr(0660,root,forgejo,770)
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/conf/app.ini
|
%config(noreplace) %{_sysconfdir}/%{name}/conf/app.ini
|
||||||
%{_sysconfdir}/%{name}
|
%{_sysconfdir}/%{name}
|
||||||
@ -121,4 +129,7 @@ install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.forgejo
|
|||||||
%{_sharedstatedir}/%{name}
|
%{_sharedstatedir}/%{name}
|
||||||
%{_sysusersdir}/%{name}.conf
|
%{_sysusersdir}/%{name}.conf
|
||||||
|
|
||||||
|
%files apparmor
|
||||||
|
%config %{_sysconfdir}/apparmor.d/usr.bin.forgejo
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user