fix Merge Review comments (#225700) - unversion requires, fix buildroot
This commit is contained in:
parent
abc2a9c4f1
commit
6903a7e7b9
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: docbook-dtds
|
Name: docbook-dtds
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 50%{?dist}
|
Release: 51%{?dist}
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
|
|
||||||
Summary: SGML and XML document type definitions for DocBook
|
Summary: SGML and XML document type definitions for DocBook
|
||||||
@ -33,21 +33,13 @@ Provides: docbook-dtd44-xml = %{version}-%{release}
|
|||||||
Provides: docbook-dtd45-sgml = %{version}-%{release}
|
Provides: docbook-dtd45-sgml = %{version}-%{release}
|
||||||
Provides: docbook-dtd45-xml = %{version}-%{release}
|
Provides: docbook-dtd45-xml = %{version}-%{release}
|
||||||
|
|
||||||
Requires(post): libxml2 >= 2.4.8
|
Requires(post): libxml2
|
||||||
Requires(postun): libxml2 >= 2.4.8
|
Requires(postun): libxml2
|
||||||
# If upgrading, the old package's postun scriptlet may use install-catalog
|
|
||||||
# to remove its entries. xmlcatalog (which this package uses) adds quotes
|
|
||||||
# to the catalog files, and install-catalog only handles this in 0.6.3-4 or
|
|
||||||
# later.
|
|
||||||
Requires(post): /bin/chmod
|
Requires(post): /bin/chmod
|
||||||
Requires: sgml-common >= 0.6.3-4
|
Requires: sgml-common
|
||||||
# We provide the directory layout expected by 0.6.3-5 or later of
|
Requires: xml-common
|
||||||
# xml-common. Earlier versions won't understand. Additionally
|
|
||||||
# require xml-common >= 0.6.3-24 to workaround issue with F9
|
|
||||||
# install+update and empty xmlcatalog
|
|
||||||
Requires: xml-common >= 0.6.3-24
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
|
Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
|
||||||
@ -92,25 +84,25 @@ eval mkdir %{version_list}
|
|||||||
# DocBook V3.0
|
# DocBook V3.0
|
||||||
cd 3.0-sgml
|
cd 3.0-sgml
|
||||||
unzip %{SOURCE0}
|
unzip %{SOURCE0}
|
||||||
patch -b docbook.cat %{PATCH0}
|
%patch0 -p0 -b docbook.cat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# DocBook V3.1
|
# DocBook V3.1
|
||||||
cd 3.1-sgml
|
cd 3.1-sgml
|
||||||
unzip %{SOURCE1}
|
unzip %{SOURCE1}
|
||||||
patch -b docbook.cat %{PATCH1}
|
%patch1 -p0 -b docbook.cat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# DocBook V4.0
|
# DocBook V4.0
|
||||||
cd 4.0-sgml
|
cd 4.0-sgml
|
||||||
unzip %{SOURCE2}
|
unzip %{SOURCE2}
|
||||||
patch -b docbook.cat %{PATCH2}
|
%patch2 -p0 -b docbook.cat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# DocBook V4.1
|
# DocBook V4.1
|
||||||
cd 4.1-sgml
|
cd 4.1-sgml
|
||||||
unzip %{SOURCE3}
|
unzip %{SOURCE3}
|
||||||
patch -b docbook.cat %{PATCH3}
|
%patch3 -p0 -b docbook.cat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# DocBook XML V4.1.2
|
# DocBook XML V4.1.2
|
||||||
@ -121,7 +113,7 @@ cd ..
|
|||||||
# DocBook V4.2
|
# DocBook V4.2
|
||||||
cd 4.2-sgml
|
cd 4.2-sgml
|
||||||
unzip %{SOURCE5}
|
unzip %{SOURCE5}
|
||||||
patch -b docbook.cat %{PATCH4}
|
%patch4 -p0 -b docbook.cat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# DocBook XML V4.2
|
# DocBook XML V4.2
|
||||||
@ -408,6 +400,10 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 03 2010 Ondrej Vasik <ovasik@redhat.com> - 1.0-51
|
||||||
|
- fix Merge Review comments (#225700) - unversion requires,
|
||||||
|
fix buildroot
|
||||||
|
|
||||||
* Thu Dec 17 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-50
|
* Thu Dec 17 2009 Ondrej Vasik <ovasik@redhat.com> - 1.0-50
|
||||||
- comment patches
|
- comment patches
|
||||||
- License: Copyright only
|
- License: Copyright only
|
||||||
|
Loading…
Reference in New Issue
Block a user