Drop git-arch on fedora >= 16
The tla package was retired.
This commit is contained in:
parent
56b925003b
commit
3f0dc974fa
20
git.spec
20
git.spec
@ -5,9 +5,16 @@
|
|||||||
%global gitcoredir %{_libexecdir}/git-core
|
%global gitcoredir %{_libexecdir}/git-core
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Only build git-arch for Fedora < 16, where tla is available
|
||||||
|
%if 0%{?fedora} && 0%{?fedora} < 16
|
||||||
|
%global arch_support 1
|
||||||
|
%else
|
||||||
|
%global arch_support 0
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
Version: 1.7.6
|
Version: 1.7.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Fast Version Control System
|
Summary: Fast Version Control System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -76,7 +83,7 @@ Group: Development/Tools
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
Requires: git = %{version}-%{release}
|
Requires: git = %{version}-%{release}
|
||||||
%if 0%{?fedora}
|
%if %{arch_support}
|
||||||
Requires: git-arch = %{version}-%{release}
|
Requires: git-arch = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: git-cvs = %{version}-%{release}
|
Requires: git-cvs = %{version}-%{release}
|
||||||
@ -146,7 +153,7 @@ Requires: perl-DBD-SQLite
|
|||||||
%description cvs
|
%description cvs
|
||||||
Git tools for importing CVS repositories.
|
Git tools for importing CVS repositories.
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if %{arch_support}
|
||||||
%package arch
|
%package arch
|
||||||
Summary: Git tools for importing Arch repositories
|
Summary: Git tools for importing Arch repositories
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -323,7 +330,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|||||||
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||||
find %{buildroot} -type f -name perllocal.pod -exec rm -f {} ';'
|
find %{buildroot} -type f -name perllocal.pod -exec rm -f {} ';'
|
||||||
|
|
||||||
%if ! 0%{?fedora}
|
%if ! %{arch_support}
|
||||||
find %{buildroot} Documentation -type f -name 'git-archimport*' -exec rm -f {} ';'
|
find %{buildroot} Documentation -type f -name 'git-archimport*' -exec rm -f {} ';'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -403,7 +410,7 @@ rm -rf %{buildroot}
|
|||||||
%{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
|
%{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
|
||||||
%{!?_without_docs: %doc Documentation/*git-cvs*.html }
|
%{!?_without_docs: %doc Documentation/*git-cvs*.html }
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if %{arch_support}
|
||||||
%files arch
|
%files arch
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Documentation/git-archimport.txt
|
%doc Documentation/git-archimport.txt
|
||||||
@ -476,6 +483,9 @@ rm -rf %{buildroot}
|
|||||||
# No files for you!
|
# No files for you!
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 26 2011 Todd Zullinger <tmz@pobox.com> - 1.7.6-4
|
||||||
|
- Drop git-arch on fedora >= 16, the tla package has been retired
|
||||||
|
|
||||||
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.7.6-3
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.7.6-3
|
||||||
- Perl mass rebuild
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user