#479 Issue closed: rear.spec contains obsolete sles_version

Labels: enhancement, cleanup, fixed / solved / done

gdha opened issue at 2014-10-17 12:04:

%if %{!?sles_version:1}0
Requires: lsb
%endif

According https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto it is obsolete, we better use suse_version instead.
While we are busy we better fix the OS_VERSION variable for SuSe as well (now it is commented out).
And most likely we can replace lsb by lsb-release?

gdha commented at 2015-02-23 13:42:

added to the release notes so we can close this issue


[Export of Github issue for rear/rear.]