Skip to content

Commit

Permalink
Remove sled-release/sles-release/openSUSE-release testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Oct 19, 2015
1 parent b383d5e commit c9d9531
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions platforms/packaging/bareos.spec
Expand Up @@ -135,23 +135,11 @@ BuildRequires: termcap
BuildRequires: pwdutils
BuildRequires: tcpd-devel
BuildRequires: update-desktop-files

# SLE-12
%if 0%{?suse_version} == 1315
BuildRequires: sles-release
%else
# Some magic to be able to determine what platform we are running on.
%if !0%{sles_version}
BuildRequires: openSUSE-release
%else
%if 0%{?sles_version} && !0%{?sled_version}
BuildRequires: sles-release
%else
BuildRequires: sled-release
%endif
%endif
%endif

%if 0%{?suse_version} > 1010
# link identical files
BuildRequires: fdupes
BuildRequires: lsb-release

%else
Expand Down

0 comments on commit c9d9531

Please sign in to comment.