Skip to content

Commit

Permalink
Merge pull request #1471 from M0ses/fix_spec_for_sles11sp3
Browse files Browse the repository at this point in the history
[dist] fixed BuildRequires for SLE_11_SP3/4
  • Loading branch information
M0ses committed Jan 22, 2016
2 parents e606854 + c9a5788 commit 75d6502
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dist/obs-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ BuildRequires: perl-TimeDate
BuildRequires: perl-XML-Parser
BuildRequires: perl-XML-Simple
BuildRequires: perl(Devel::Cover)
BuildRequires: perl(Test::Simple) > 1
BuildRequires: procps
BuildRequires: xorg-x11-server
PreReq: /usr/sbin/useradd /usr/sbin/groupadd
Expand Down Expand Up @@ -318,11 +319,6 @@ DESTDIR=%{buildroot} make install
%endif

%check
%if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
# temporary hack to get building packages on SLE 11
rm src/backend/t/0000-use.t
%endif

export DESTDIR=$RPM_BUILD_ROOT
# check installed backend
pushd $RPM_BUILD_ROOT/usr/lib/obs/server/
Expand Down

0 comments on commit 75d6502

Please sign in to comment.