[git] Obsolete git-arch as needed

Todd Zullinger tmz at fedoraproject.org
Tue Aug 9 15:53:20 UTC 2011


commit 3f997b4b46f3f6e2a4e2e1a404aba0527060f8a9
Author: Todd Zullinger <tmz at pobox.com>
Date:   Fri Aug 5 16:29:26 2011 -0400

    Obsolete git-arch as needed

 git.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/git.spec b/git.spec
index 50a181d..dfed7cd 100644
--- a/git.spec
+++ b/git.spec
@@ -114,6 +114,11 @@ Requires:       zlib >= 1.2
 Provides:       git-core = %{version}-%{release}
 Obsoletes:      git-core <= %{git_core_version}
 
+# Obsolete git-arch as needed
+%if ! %{arch_support}
+Obsoletes:      git-arch < %{version}-%{release}
+%endif
+
 %description
 Git is a fast, scalable, distributed revision control system with an
 unusually rich command set that provides both high-level operations
@@ -527,6 +532,7 @@ rm -rf %{buildroot}
 %changelog
 * Fri Aug 05 2011 Todd Zullinger <tmz at pobox.com> - 1.7.6-5
 - Fix git push --quiet, thanks to Clemens Buchacher (#725593)
+- Obsolete git-arch as needed
 
 * Tue Jul 26 2011 Todd Zullinger <tmz at pobox.com> - 1.7.6-4
 - Drop git-arch on fedora >= 16, the tla package has been retired


More information about the scm-commits mailing list