Accepting request 535159 from Base:System
- Explicitly remove %{_infodir}/dir before creating package to allow builds on RHEL and derived Linux distributions - Enable configure option --disable-dependency-tracking to allow build on Mageia - Add xz as BuildRequires to unpack source on SLE 11 (forwarded request 535132 from jayvdb) OBS-URL: https://build.opensuse.org/request/show/535159 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m4?expand=0&rev=35
This commit is contained in:
commit
e6d90383d2
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 06:26:27 UTC 2017 - jayvdb@gmail.com
|
||||||
|
|
||||||
|
- Explicitly remove %{_infodir}/dir before creating package to
|
||||||
|
allow builds on RHEL and derived Linux distributions
|
||||||
|
- Enable configure option --disable-dependency-tracking to
|
||||||
|
allow build on Mageia
|
||||||
|
- Add xz as BuildRequires to unpack source on SLE 11
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 9 12:37:26 UTC 2017 - dimstar@opensuse.org
|
Thu Feb 9 12:37:26 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
6
m4.spec
6
m4.spec
@ -26,6 +26,7 @@ Url: https://www.gnu.org/software/m4/
|
|||||||
Source0: https://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.xz
|
Source0: https://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.xz
|
||||||
Source1: https://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.xz.sig
|
Source1: https://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.xz.sig
|
||||||
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=m4&download=1#/%{name}.keyring
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=m4&download=1#/%{name}.keyring
|
||||||
|
BuildRequires: xz
|
||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(preun): %{install_info_prereq}
|
Requires(preun): %{install_info_prereq}
|
||||||
Provides: base:%{_bindir}/m4
|
Provides: base:%{_bindir}/m4
|
||||||
@ -39,6 +40,9 @@ GNU m4 is an implementation of the traditional Unix macro processor.
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--without-included-regex \
|
--without-included-regex \
|
||||||
|
%if 0%{?mageia}
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
%endif
|
||||||
gl_cv_func_isnanl_works=yes \
|
gl_cv_func_isnanl_works=yes \
|
||||||
gl_cv_func_printf_directive_n=yes \
|
gl_cv_func_printf_directive_n=yes \
|
||||||
gl_cv_func_printf_infinite_long_double=yes
|
gl_cv_func_printf_infinite_long_double=yes
|
||||||
@ -49,6 +53,8 @@ make %{?_smp_mflags} check
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
# info's dir file is not auto ignored on some systems
|
||||||
|
rm -rf %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||||
|
Loading…
Reference in New Issue
Block a user