SHA256
1
0
forked from pool/m4

Accepting request 336031 from home:pluskalm:branches:Base:System

- Update info handling fro postun to preun

OBS-URL: https://build.opensuse.org/request/show/336031
OBS-URL: https://build.opensuse.org/package/show/Base:System/m4?expand=0&rev=31
This commit is contained in:
Marcus Meissner 2015-10-14 11:17:32 +00:00 committed by Git OBS Bridge
parent cb93fe3d34
commit 16c6d74b3d
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Oct 3 06:41:27 UTC 2015 - mpluskal@suse.com
- Update info handling fro postun to preun
-------------------------------------------------------------------
Mon Mar 2 20:37:45 UTC 2015 - mpluskal@suse.com

15
m4.spec
View File

@ -26,7 +26,8 @@ Url: http://www.gnu.org/software/m4/
Source0: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2
Source1: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring
Requires(pre): %{install_info_prereq}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Provides: base:%{_bindir}/m4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -38,10 +39,10 @@ GNU m4 is an implementation of the traditional Unix macro processor.
%build
%configure \
--without-included-regex \
gl_cv_func_isnanl_works=yes \
gl_cv_func_printf_directive_n=yes \
gl_cv_func_printf_infinite_long_double=yes
--without-included-regex \
gl_cv_func_isnanl_works=yes \
gl_cv_func_printf_directive_n=yes \
gl_cv_func_printf_infinite_long_double=yes
make %{?_smp_mflags}
%check
@ -53,14 +54,14 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%doc README COPYING NEWS THANKS TODO ChangeLog
%{_bindir}/*
%doc %{_infodir}/*.gz
%{_infodir}/*.gz
%{_mandir}/*/*
%changelog