Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
stress
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
stress.spec
@@ -12,7 +12,9 @@ License: GNU General Public License (GPL) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: autoconf automake libtool make gcc glibc-devel +%if 0%{?suse_version} PreReq: %install_info_prereq +%endif %description stress is a simple tool that imposes a configurable amount of CPU, memory, @@ -44,10 +46,14 @@ %__rm -rf "%{buildroot}" %post +%if 0%{?suse_version} %install_info --info-dir="%{_infodir}" "%{_infodir}/stress.info.gz" +%endif %preun +0%{?suse_version} %install_info_delete --info-dir="%{_infodir}" "%{_infodir}/stress.info.gz" +%endif %files %defattr(-,root,root)