X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgit-core.git;a=blobdiff_plain;f=git-core.spec;h=6a20ac88a3a5a425f5cb5b5e81c0448d26cc62f7;hp=d0a7e048fd317e7e185bc51d33dfc443c0e5850c;hb=8754353ce08744188a7e3959973794267819724b;hpb=21f26c1e6b72808a10c21925e75d8076ac3b6498 diff --git a/git-core.spec b/git-core.spec index d0a7e04..6a20ac8 100644 --- a/git-core.spec +++ b/git-core.spec @@ -60,10 +60,12 @@ BuildRequires: pkgconfig BuildRequires: python-devel BuildRequires: rpm-perlprov >= 4.1-13 BuildRequires: rpm-pythonprov -BuildRequires: rpmbuild(macros) >= 1.745 +BuildRequires: rpmbuild(macros) >= 1.752 +BuildRequires: tar >= 1:1.22 %if %{with tk} # wish BuildRequires: tk +BuildRequires: xz %endif BuildRequires: zlib-devel %if %{with doc} @@ -156,9 +158,7 @@ katalogu. Summary: Documentation for git-core Summary(pl.UTF-8): Dokumentacja do git-core Group: Documentation -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description doc Documentation for git-core. @@ -223,9 +223,7 @@ Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git Group: Development/Tools Requires: %{name} = %{version}-%{release} Requires: tk -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description gitk gitk displays changes in a repository or a selected set of commits. @@ -391,9 +389,7 @@ Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita Group: Applications/Shells Requires: %{name} = %{version}-%{release} Requires: bash-completion >= 2.0 -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description -n bash-completion-git This package provides bash-completion for git. @@ -406,9 +402,7 @@ Summary: Perl interface to the Git version control system Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git Group: Development/Languages/Perl Obsoletes: perl-git-core -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description -n perl-Git This module provides Perl scripts easy way to interface the Git @@ -711,8 +705,9 @@ fi %exclude %{_mandir}/man1/git-archimport.1* %exclude %{_mandir}/man1/git-svn.1* %exclude %{_mandir}/man1/git-cvs*.1* -%exclude %{_mandir}/man1/git-imap-send*.1* -%exclude %{_mandir}/man1/*email*.1* +%exclude %{_mandir}/man1/git-imap-send.1* +%exclude %{_mandir}/man1/git-p4.1* +%exclude %{_mandir}/man1/git-send-email.1* %{_mandir}/man1/git.1* %{_mandir}/man5/gitattributes.5* %{_mandir}/man5/githooks.5* @@ -885,6 +880,9 @@ fi %defattr(644,root,root,755) %attr(755,root,root) %{gitcoredir}/git-p4 %attr(755,root,root) %{gitcoredir}/mergetools/p4merge +%if %{with doc} +%{_mandir}/man1/git-p4.1* +%endif %files svn %defattr(644,root,root,755) @@ -898,10 +896,10 @@ fi %files email %defattr(644,root,root,755) %attr(755,root,root) %{gitcoredir}/git-imap-send -%attr(755,root,root) %{gitcoredir}/*email* +%attr(755,root,root) %{gitcoredir}/git-send-email %if %{with doc} -%{_mandir}/man1/*email*.1* -%{_mandir}/man1/*imap-send*.1* +%{_mandir}/man1/git-imap-send.1* +%{_mandir}/man1/git-send-email.1* %endif %files -n bash-completion-git