SHA256
3
0
forked from pool/texinfo

- Avoid also provide libtool() on texinfo specific perl linkage

- Drop require on perl(Locale::Messages) as long as we bundle
  perl-libintl-perl (the system one leaves tests failing)

- Do not provide perl() - the modules are not globally available
  (bsc#1062028)

- Change perl requires to be exactly the perl version makeinfo was
  built against. We ship a perl loadable module which is hard
  linked to the right version.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=48
This commit is contained in:
Dominique Leuenberger 2017-10-13 12:04:24 +00:00 committed by Git OBS Bridge
parent 3edbe3ca2d
commit 050af47ea4
2 changed files with 32 additions and 3 deletions

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Oct 9 07:20:30 UTC 2017 - werner@suse.de
- Avoid also provide libtool() on texinfo specific perl linkage
-------------------------------------------------------------------
Sat Oct 7 12:35:18 UTC 2017 - coolo@suse.com
- Drop require on perl(Locale::Messages) as long as we bundle
perl-libintl-perl (the system one leaves tests failing)
-------------------------------------------------------------------
Sat Oct 7 08:31:43 UTC 2017 - coolo@suse.com
- Do not provide perl() - the modules are not globally available
(bsc#1062028)
-------------------------------------------------------------------
Wed Oct 4 08:41:08 UTC 2017 - dimstar@opensuse.org
- Change perl requires to be exactly the perl version makeinfo was
built against. We ship a perl loadable module which is hard
linked to the right version.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 12 12:48:12 UTC 2017 - mpluskal@suse.com Wed Jul 12 12:48:12 UTC 2017 - mpluskal@suse.com

View File

@ -53,6 +53,9 @@ Requires(preun): %{install_info_prereq}
Recommends: texi2html Recommends: texi2html
Recommends: texi2roff Recommends: texi2roff
# perl modules are not installed in global path
%global __provides_exclude ^(libtool|perl)\\(
%description %description
Texinfo is a documentation system that uses a single source file to Texinfo is a documentation system that uses a single source file to
produce both online information and printed output. Using Texinfo, you produce both online information and printed output. Using Texinfo, you
@ -76,9 +79,7 @@ reader" to read the manuals.
%package -n makeinfo %package -n makeinfo
Summary: Translate Texinfo documents to info format Summary: Translate Texinfo documents to info format
Group: Productivity/Publishing/Texinfo Group: Productivity/Publishing/Texinfo
Requires: perl %requires_eq perl
# /usr/share/texinfo/Texinfo/Report.pm uses Locale::Messages
Requires: perl(Locale::Messages)
# /usr/share/texinfo/Texinfo/Convert/NodeNameNormalization.pm uses Text::Unidecode # /usr/share/texinfo/Texinfo/Convert/NodeNameNormalization.pm uses Text::Unidecode
Requires: perl(Text::Unidecode) Requires: perl(Text::Unidecode)
Suggests: texinfo Suggests: texinfo
@ -94,6 +95,8 @@ or standalone GNU Info.
%patch1 -p1 %patch1 -p1
%build %build
LANG=en_GB.UTF-8
export LANG
%configure \ %configure \
--with-external-Text-Unidecode \ --with-external-Text-Unidecode \
--enable-perl-xs --enable-perl-xs
@ -123,6 +126,8 @@ install -m 644 %{SOURCE10} %{buildroot}%{_infodir}/dir
%find_lang %{name}_document %{name}_document.lang %find_lang %{name}_document %{name}_document.lang
%check %check
LANG=en_GB.UTF-8
export LANG
make %{?_smp_mflags} check make %{?_smp_mflags} check
%post %post