config.site: install /usr/share config.site again

This should be safe for Fedora packages now.  The rpmbuild exports the
CONFIG_SITE=NONE environment variable (in rawhide - fc20 only now, see the
bug #962837) so the package building process is not affected by this change.

Version: 2.69-11
Resolves: #772999
This commit is contained in:
Pavel Raiskup 2013-06-17 15:29:45 +02:00
parent c3f287abf9
commit 836b1ccd10

View File

@ -1,7 +1,7 @@
Summary: A GNU tool for automatically configuring source code
Name: autoconf
Version: 2.69
Release: 10%{?dist}
Release: 11%{?dist}
License: GPLv2+ and GFDL
Group: Development/Tools
Source0: http://ftpmirror.gnu.org/autoconf/autoconf-%{version}.tar.xz
@ -70,8 +70,7 @@ make check # TESTSUITEFLAGS='1-198 200-' # will disable nr. 199.
%install
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/share
# disable until it may cause too much mess in build system
# install -m 0644 %%{SOURCE1} %%{buildroot}%%{_datadir}
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}
%post
/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || :
@ -89,14 +88,17 @@ fi
# don't include info's TOP directory
%exclude %{_infodir}/dir
%{_datadir}/autoconf/
# disable until it may cause too much mess in build system
# %%{_datadir}/config.site
%config %{_datadir}/config.site
%dir %{_datadir}/emacs/
%{_datadir}/emacs/site-lisp/
%{_mandir}/man1/*
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
%changelog
* Mon Jun 17 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-11
- config.site installation should be safe as long as the CONFIG_SITE=NONE is
exported by the rpmbuild environment (#772999)
* Thu Feb 14 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-10
- BR the perl(Text::ParseWords) explicitly to enable build again