summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2013-01-03 11:13:45 -0500
committerTodd Zullinger <tmz@pobox.com>2013-02-26 09:46:00 -0500
commite313d827cc692d3626ca647c9092372a696b1ba3 (patch)
tree4b2a8e2082454ed7dc38fa9c44454a01208dd6e5
parent166c9f33c3002d0cb20a59fa312c4f838217819d (diff)
downloadgit-package-e313d827cc692d3626ca647c9092372a696b1ba3.tar.gz
git-package-e313d827cc692d3626ca647c9092372a696b1ba3.tar.xz
git-package-e313d827cc692d3626ca647c9092372a696b1ba3.zip
Update asciidoc requirements, drop unsupported ASCIIDOC7
Since git-1.7.12, asciidoc >= 8.4.1 is a requirement to build the documentation. Update the build requires to reflect this. Note that this means that EL-5 can no longer build documentation as asciidoc-8.1.0 is the latest in EPEL. (It might be worth adding support for using the prebuilt documentation files to enable EL-5 builds to continue working.)
-rw-r--r--git.spec19
1 files changed, 5 insertions, 14 deletions
diff --git a/git.spec b/git.spec
index 4213a41..d69c0ee 100644
--- a/git.spec
+++ b/git.spec
@@ -54,14 +54,6 @@
%global use_desktop_vendor 1
%endif
-# Use asciidoc-7 on EL <= 4. Again, we don't support EL-4, but no need to make
-# it more difficult to build a modern git there.
-%if 0%{?rhel} && 0%{?rhel} <= 4
-%global asciidoc7 1
-%else
-%global asciidoc7 0
-%endif
-
# Only build git-arch for Fedora < 16, where tla is available
%if 0%{?fedora} && 0%{?fedora} < 16
%global arch_support 1
@@ -78,7 +70,7 @@
Name: git
Version: 1.8.1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Fast Version Control System
License: GPLv2
Group: Development/Tools
@@ -108,7 +100,7 @@ BuildRequires: gettext
BuildRequires: pcre-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel >= 1.2
-%{!?_without_docs:BuildRequires: asciidoc > 6.0.3, xmlto}
+%{!?_without_docs:BuildRequires: asciidoc >= 8.4.1, xmlto}
%if %{gnome_keyring}
BuildRequires: libgnome-keyring-devel
%endif
@@ -353,10 +345,6 @@ echo gitexecdir = %{_bindir} >> config.mak
echo DOCBOOK_SUPPRESS_SP = 1 >> config.mak
%endif
-%if %{asciidoc7}
-echo ASCIIDOC7 = 1 >> config.mak
-%endif
-
# Filter bogus perl requires
# packed-refs comes from a comment in contrib/hooks/update-paranoid
cat << \EOF > %{name}-req
@@ -606,6 +594,9 @@ rm -rf %{buildroot}
# No files for you!
%changelog
+* Tue Feb 26 2013 Todd Zullinger <tmz@pobox.com> - 1.8.1.4-2
+- Update asciidoc requirements, drop unsupported ASCIIDOC7
+
* Wed Feb 20 2013 Adam Tkac <atkac redhat com> - 1.8.1.4-1
- update to 1.8.1.4