Accepting request 338813 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/338813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m4?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2015-10-19 20:13:46 +00:00 committed by Git OBS Bridge
commit 6b5d342911
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 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 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 Source1: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring Source2: %{name}.keyring
Requires(pre): %{install_info_prereq} Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Provides: base:%{_bindir}/m4 Provides: base:%{_bindir}/m4
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -38,10 +39,10 @@ GNU m4 is an implementation of the traditional Unix macro processor.
%build %build
%configure \ %configure \
--without-included-regex \ --without-included-regex \
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
make %{?_smp_mflags} make %{?_smp_mflags}
%check %check
@ -53,14 +54,14 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun %preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README COPYING NEWS THANKS TODO ChangeLog %doc README COPYING NEWS THANKS TODO ChangeLog
%{_bindir}/* %{_bindir}/*
%doc %{_infodir}/*.gz %{_infodir}/*.gz
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog