Commit 3f0dc9 Drop git-arch on fedora >= 16

1 file Authored and Committed by tmz 7 years ago
Drop git-arch on fedora >= 16

The tla package was retired.

    
git.spec +15 -5
 1 @@ -5,9 +5,16 @@
 2   %global gitcoredir %{_libexecdir}/git-core
 3   %endif
 4   
 5 + # Only build git-arch for Fedora < 16, where tla is available
 6 + %if 0%{?fedora} && 0%{?fedora} < 16
 7 + %global arch_support 1
 8 + %else
 9 + %global arch_support 0
10 + %endif
11 + 
12   Name:           git
13   Version:        1.7.6
14 - Release:        3%{?dist}
15 + Release:        4%{?dist}
16   Summary:        Fast Version Control System
17   License:        GPLv2
18   Group:          Development/Tools
19 @@ -76,7 +83,7 @@
20   BuildArch:      noarch
21   %endif
22   Requires:       git = %{version}-%{release}
23 - %if 0%{?fedora}
24 + %if %{arch_support}
25   Requires:       git-arch = %{version}-%{release}
26   %endif
27   Requires:       git-cvs = %{version}-%{release}
28 @@ -146,7 +153,7 @@
29   %description cvs
30   Git tools for importing CVS repositories.
31   
32 - %if 0%{?fedora}
33 + %if %{arch_support}
34   %package arch
35   Summary:        Git tools for importing Arch repositories
36   Group:          Development/Tools
37 @@ -323,7 +330,7 @@
38   find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
39   find %{buildroot} -type f -name perllocal.pod -exec rm -f {} ';'
40   
41 - %if ! 0%{?fedora}
42 + %if ! %{arch_support}
43   find %{buildroot} Documentation -type f -name 'git-archimport*' -exec rm -f {} ';'
44   %endif
45   
46 @@ -403,7 +410,7 @@
47   %{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
48   %{!?_without_docs: %doc Documentation/*git-cvs*.html }
49   
50 - %if 0%{?fedora}
51 + %if %{arch_support}
52   %files arch
53   %defattr(-,root,root)
54   %doc Documentation/git-archimport.txt
55 @@ -476,6 +483,9 @@
56   # No files for you!
57   
58   %changelog
59 + * Tue Jul 26 2011 Todd Zullinger <tmz@pobox.com> - 1.7.6-4
60 + - Drop git-arch on fedora >= 16, the tla package has been retired
61 + 
62   * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.7.6-3
63   - Perl mass rebuild
64