forked from pool/sgmltool
Accepting request 145151 from home:neilbrown:branches:Publishing
The lack of buildrequires of groff is stopping mdadm from building. - Add buildrequires for groff so that sgml2txt works, and rationalize setting of CFLAGS. In particular having a "\" line continuation before a %configure macro probably doesn't behave as expected. OBS-URL: https://build.opensuse.org/request/show/145151 OBS-URL: https://build.opensuse.org/package/show/Publishing/sgmltool?expand=0&rev=12
This commit is contained in:
parent
a68ab1d716
commit
b84052e951
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 12 04:34:42 UTC 2012 - nfbrown@suse.com
|
||||||
|
|
||||||
|
- Add buildrequires for groff so that sgml2txt
|
||||||
|
works, and rationalize setting of CFLAGS.
|
||||||
|
In particular having a "\" line continuation
|
||||||
|
before a %configure macro probably doesn't
|
||||||
|
behave as expected.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 19 09:06:57 UTC 2012 - idonmez@suse.com
|
Mon Nov 19 09:06:57 UTC 2012 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
Name: sgmltool
|
Name: sgmltool
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
BuildRequires: groff
|
||||||
BuildRequires: opensp
|
BuildRequires: opensp
|
||||||
%if 0%{suse_version} > 1220
|
%if 0%{suse_version} > 1220
|
||||||
BuildRequires: texlive-kpathsea
|
BuildRequires: texlive-kpathsea
|
||||||
@ -95,19 +96,18 @@ an example).
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||||
%configure --prefix="%buildroot/%_prefix" \
|
%configure --prefix="%buildroot/%_prefix" \
|
||||||
--with-installed-nsgmls
|
--with-installed-nsgmls
|
||||||
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
make %{?_smp_mflags}
|
||||||
make install DESTDIR="%buildroot" prefix="%_prefix"
|
make install DESTDIR="%buildroot" prefix="%_prefix"
|
||||||
(cd doc; PATH="$PATH:%buildroot/%_bindir" sh Makedoc.sh)
|
(cd doc; PATH="$PATH:%buildroot/%_bindir" sh Makedoc.sh)
|
||||||
cp -p doc/README doc/README.doc
|
cp -p doc/README doc/README.doc
|
||||||
# the Makefiles are a bit nasty
|
# the Makefiles are a bit nasty
|
||||||
make clean
|
make clean
|
||||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-installed-nsgmls
|
--with-installed-nsgmls
|
||||||
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
> doc/Makedoc.sh
|
> doc/Makedoc.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user