From: Kacper Kornet Date: Wed, 13 Mar 2013 10:47:44 +0000 (+0000) Subject: - enable Perl regular expressions X-Git-Tag: auto/th/git-core-1.8.1.5-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgit-core.git;a=commitdiff_plain;h=202eeb4b788f43661b00089997abdccb11f42309 - enable Perl regular expressions - rel. 2 --- diff --git a/git-core.spec b/git-core.spec index 1e0232d..0df3388 100644 --- a/git-core.spec +++ b/git-core.spec @@ -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