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