[abrt] build fixes

Jiří Moskovčák jmoskovc at fedoraproject.org
Tue Jan 3 12:11:48 UTC 2012


commit 345a47681eb0c58d6bf49cdd38a0db58f1e484be
Author: Jiri <moskovcak at gmail.com>
Date:   Tue Jan 3 13:11:59 2012 +0100

    build fixes

 abrt.spec |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/abrt.spec b/abrt.spec
index 26ecac9..ead2932 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -7,6 +7,16 @@
     %bcond_with systemd
 %endif
 
+# systemd wasn't set by the code above - so we're on old Fedora or we're not on Fedora at all
+%if %{without systemd}
+    %if 0%{?rhel} >= 7
+        %bcond_without systemd
+    %else
+        %bcond_with systemd
+    %endif
+%endif
+
+
 %if 0%{?rhel} >= 6
 %define vendor redhat
 %else
@@ -16,7 +26,7 @@
 Summary: Automatic bug detection and reporting tool
 Name: abrt
 Version: 2.0.7
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://fedorahosted.org/abrt/
@@ -529,6 +539,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %defattr(-,root,root,-)
 
 %changelog
+* Tue Jan 03 2012 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.7-3
+- build fixes
+
 * Thu Dec 08 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.7-2
 - added man page
 - fixed weird number formatting


More information about the scm-commits mailing list