forked from pool/sgmltool
Accepting request 145528 from 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. (forwarded request 145151 from neilbrown) OBS-URL: https://build.opensuse.org/request/show/145528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sgmltool?expand=0&rev=17
This commit is contained in:
commit
00c0d30ebd
@ -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
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
Name: sgmltool
|
||||
BuildRequires: flex
|
||||
BuildRequires: groff
|
||||
BuildRequires: opensp
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRequires: texlive-kpathsea
|
||||
@ -95,19 +96,18 @@ an example).
|
||||
%endif
|
||||
|
||||
%build
|
||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
||||
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||
%configure --prefix="%buildroot/%_prefix" \
|
||||
--with-installed-nsgmls
|
||||
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
||||
make %{?_smp_mflags}
|
||||
make install DESTDIR="%buildroot" prefix="%_prefix"
|
||||
(cd doc; PATH="$PATH:%buildroot/%_bindir" sh Makedoc.sh)
|
||||
cp -p doc/README doc/README.doc
|
||||
# the Makefiles are a bit nasty
|
||||
make clean
|
||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
||||
%configure \
|
||||
--with-installed-nsgmls
|
||||
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
> doc/Makedoc.sh
|
||||
|
Loading…
Reference in New Issue
Block a user