34 lines
876 B
RPMSpec
34 lines
876 B
RPMSpec
Name: increase-file-max
|
|
Version: 1
|
|
Release: 0
|
|
Summary: Increase `ulimit -Hn` on OBS
|
|
License: SUSE-Public-Domain
|
|
Group: System/Kernel
|
|
Requires: this-is-only-for-build-envs
|
|
%if 0%{?suse_version} >= 1699
|
|
Requires: pam-config
|
|
%else
|
|
Requires(post): pam
|
|
%endif
|
|
BuildArch: noarch
|
|
URL: https://build.opensuse.org/package/show/devel:tools:ide:vscode/increase-file-max
|
|
|
|
|
|
%description
|
|
Increase the limit of open file descriptors in the Open Build Service VM.
|
|
|
|
Installation of this package does not make sense on real systems.
|
|
|
|
%prep
|
|
%build
|
|
%install
|
|
%files
|
|
%post
|
|
echo 'abuild hard nofile 99999' >> /etc/security/limits.conf
|
|
|
|
%changelog
|
|
* Fri Sep 20 2024 Bruno Pitrus - 1-0
|
|
- Add pam-extra Require to work around bsc#1230867
|
|
|
|
* Tue Sep 06 2011 The Coon of Ty <root@localhost> - 0-0
|
|
- Initial version of the package |