Hello community, here is the log from the commit of package tog-pegasus for openSUSE:Factory checked in at 2015-06-30 10:16:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tog-pegasus (Old) and /work/SRC/openSUSE:Factory/.tog-pegasus.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tog-pegasus" Changes: -------- --- /work/SRC/openSUSE:Factory/tog-pegasus/tog-pegasus.changes 2015-06-11 08:22:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tog-pegasus.new/tog-pegasus.changes 2015-06-30 10:16:27.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 19 07:03:42 UTC 2015 - [email protected] + +- Fix SLE 11 build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tog-pegasus.spec ++++++ --- /var/tmp/diff_new_pack.P61yj0/_old 2015-06-30 10:16:29.000000000 +0200 +++ /var/tmp/diff_new_pack.P61yj0/_new 2015-06-30 10:16:29.000000000 +0200 @@ -16,6 +16,12 @@ # +%if 0%{?suse_version} > 1140 || 0%{?fedora_version} > 14 +%define has_systemd 1 +%else +%define has_systemd 0 +%endif + %{?!PEGASUS_BUILD_TEST_RPM: %global PEGASUS_BUILD_TEST_RPM 1} # do "rpmbuild --define 'PEGASUS_BUILD_TEST_RPM 1'" to build test RPM. @@ -149,21 +155,23 @@ BuildRequires: openslp-devel BuildRequires: openssl-devel BuildRequires: pam-devel -%if 0%{?suse_version} +%if 0%{?has_systemd} BuildRequires: systemd +%if 0%{?suse_version} %{?systemd_requires} %else BuildRequires: systemd-units Requires: net-snmp-libs %endif +%endif %if 0%{?suse_version} Requires: %{name}-libs = %{version}-%{release} %else Requires: %{name}-libs = %{version}-%{release} %endif -Requires: ca-certificates Requires: openssl -%if 0%{?suse_version} +%if 0%{?suse_version} > 1130 +Requires: ca-certificates BuildRequires: ca-certificates # for restorecon(8) BuildRequires: policycoreutils
