]> git.pld-linux.org Git - packages/git-core.git/commitdiff
- enable Perl regular expressions auto/th/git-core-1.8.1.5-2
authorKacper Kornet <draenog@pld-linux.org>
Wed, 13 Mar 2013 10:47:44 +0000 (10:47 +0000)
committerKacper Kornet <draenog@pld-linux.org>
Wed, 13 Mar 2013 10:47:44 +0000 (10:47 +0000)
- rel. 2

git-core.spec

index 1e0232da0cd823fc5356aa5954c360e0b7e068b0..0df3388cfa27c8df8c1092bcf64512807a989936 100644 (file)
@@ -4,13 +4,14 @@
 %bcond_with    tests_cvs       # perform tests which use CVS
 %bcond_without tests_svn       # perform tests which use subversion
 %bcond_without doc             # skip building/packaging docs/manuals (takes some time)
+%bcond_without pcre            # link with libpcre
 
 %include       /usr/lib/rpm/macros.perl
 Summary:       Distributed version control system focused on speed, effectivity and usability
 Summary(pl.UTF-8):     Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
 Name:          git-core
 Version:       1.8.1.5
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Development/Tools
 Source0:       http://git-core.googlecode.com/files/git-%{version}.tar.gz
@@ -32,6 +33,7 @@ BuildRequires:        curl-devel
 BuildRequires: expat-devel
 BuildRequires: gettext-devel
 BuildRequires: openssl-devel
+%{?with_pcre:BuildRequires:    pcre-devel}
 BuildRequires: perl-Error > 0.15
 BuildRequires: perl-base
 BuildRequires: python-devel
@@ -387,6 +389,7 @@ Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita.
 %{__autoconf}
 %configure \
        --sysconfdir=%{_sysconfdir}/git-core \
+       %{?with_pcre:--with-libpcre} \
        --with-openssl
 
 echo "BLK_SHA1=1" >> config.mak
This page took 0.117364 seconds and 4 git commands to generate.