Skip to content

Commit

Permalink
[dist] fix build for SLE 11
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Apr 14, 2016
1 parent e8ad4b1 commit bad3f55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist/obs-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,13 @@ DESTDIR=%{buildroot} make install
%fdupes $RPM_BUILD_ROOT/srv/www/obs
%endif

# fix build for SLE 11
%if 0%{?suse_version} < 1315
touch %{buildroot}/%{secret_key_file}
chmod 0640 %{buildroot}/%{secret_key_file}
chown root.www %{buildroot}/%{secret_key_file}
%endif

%check
### TEMPORARY HACK
# disabling this testsuite, since sphinx startup breaks unreliable in kvm
Expand Down

0 comments on commit bad3f55

Please sign in to comment.