]> git.pld-linux.org Git - packages/git-core.git/blobdiff - git-core.spec
- bcond header
[packages/git-core.git] / git-core.spec
index 012eff1df994d9694f4cdf767aa551669a16c8b0..be0f47f6ae392a85de6f7cd58346e0e30208b91a 100644 (file)
@@ -1,16 +1,20 @@
 # TODO:
 # - gitweb subpackage
 # - gitk subpackage?
+#
+# Conditional build:
+%bcond_without tests   # don't perform make test
+#
 %include       /usr/lib/rpm/macros.perl
 Summary:       The stupid content tracker
 Summary(pl.UTF-8):     Prymitywne narzędzie do śledzenia treści
 Name:          git-core
-Version:       1.5.1
-Release:       2
+Version:       1.5.2.1
+Release:       1
 License:       GPL v2
 Group:         Development/Tools
 Source0:       http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
-# Source0-md5: d60eb458742b6da332f80f3bba68de8f
+# Source0-md5: 0a39e786a12974cbe7b14f2fe92dc163
 URL:           http://git.or.cz/
 BuildRequires: asciidoc
 BuildRequires: autoconf
@@ -115,6 +119,8 @@ wykonania przy użyciu ogólnego interfejsu poleceń.
 
 %{__make} -C Documentation
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
@@ -140,8 +146,8 @@ rm -rf $RPM_BUILD_ROOT
 %doc README Documentation/*.html Documentation/howto Documentation/technical
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man*/*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/*
+%{_datadir}/%{name}
+%{_datadir}/git-gui
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.055883 seconds and 4 git commands to generate.