Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
otrs
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
otrs.spec
@@ -16,7 +16,8 @@ %if 0%{?suse_version} Requires: perl-GD perl-GDGraph perl-GDTextUtil perl-Net-DNS perl-Digest-MD5 apache2 apache2-mod_perl mysql-client Requires: perl-Msql-Mysql-modules mysql-shared procmail -BuildRequires: apache2 apache2-devel +BuildRequires: apache2 apache2-devel pwdutils +PreReq: pwdutils %define _apxs /usr/sbin/apxs2 %define _apausr wwwrun %define _apagrp www @@ -27,7 +28,8 @@ %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} Requires: perl-URI mod_perl httpd mysql mysql-server procmail -BuildRequires: httpd httpd-devel +BuildRequires: httpd httpd-devel shadow-utils +PreReq: shadow-utils %define _apxs /usr/sbin/apxs %define _apausr apache %define _apagrp apache @@ -184,7 +186,7 @@ # set permission useradd %{_otrsusr} || : -$RPM_BUILD_ROOT/opt/otrs/bin/SetPermissions.sh $RPM_BUILD_ROOT/opt/otrs %{_otrsusr} %{_apausr} %{_otrsgrp} %{_apagrp} +$RPM_BUILD_ROOT/opt/otrs/bin/SetPermissions.sh $RPM_BUILD_ROOT/opt/otrs %{_otrsusr} %{_apausr} %{_otrsgrp} %{_apagrp} || : %pre # remember about the installed version