[BackupPC] cleanup build macros for Fedora

Bernard Johnson bjohnson at fedoraproject.org
Mon Dec 24 23:46:09 UTC 2012


commit 234f1cbfaaff48c5bf714644055723d5e71b23e0
Author: Bernard Johnson <bjohnson at symetrix.com>
Date:   Mon Dec 24 13:42:18 2012 -0700

    cleanup build macros for Fedora

 BackupPC.spec |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/BackupPC.spec b/BackupPC.spec
index fd54c10..02c8d7d 100644
--- a/BackupPC.spec
+++ b/BackupPC.spec
@@ -2,21 +2,17 @@
 %global _without_selinux 1
 %endif
 
-# tmpfiles.d support starts in Fedora 15
-%if 0%{?fedora} && 0%{?fedora} > 14
-%global _with_tmpfilesd 1
-%endif
-
-# systemd was introduced in Fedora 15, but we don't support it until Fedora 16
-%if 0%{?fedora} && 0%{?fedora} > 15
-%global _with_systemd 1
+# tmpfiles.d & systemd support in all supported Fedora now, but not RHEL
+%if 0%{?rhel}
+%global _with_tmpfilesd 0
+%global _with_systemd 0
 %endif
 
 %global _updatedb_conf /etc/updatedb.conf
 
 Name:           BackupPC
 Version:        3.2.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        High-performance backup system
 Group:          Applications/System
 License:        GPLv2+
@@ -334,6 +330,9 @@ fi
 %endif
 
 %changelog
+* Sun Dec 24 2012 Bernard Johnson <bjohnson at symetrix.com> 3.2.1-10
+- cleanup build macros for Fedora
+
 * Sun Dec  6 2012 Peter Robinson <pbrobinson at fedoraproject.org> 3.2.1-9
 - Fix FTBFS on F-18+
 


More information about the scm-commits mailing list