Accepting request 110417 from devel:languages:perl

add %perl_requires, libxslt1 for Factory and move ca and pl mandir directory to -lang

OBS-URL: https://build.opensuse.org/request/show/110417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2012-03-22 11:38:33 +00:00 committed by Git OBS Bridge
commit cf3cd01f09
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 21 13:45:36 UTC 2012 - elchevive@opensuse.org
- Add perl_requires and libxslt1
-------------------------------------------------------------------
Mon Feb 13 14:34:29 UTC 2012 - prusnak@opensuse.org

View File

@ -26,7 +26,11 @@ Url: http://po4a.alioth.debian.org/
Group: Development/Tools/Other
Source: %{name}-%{version}.tar.gz
BuildRequires: docbook-xsl-stylesheets
%if 0%{?suse_version} >= 1210
BuildRequires: libxslt1
%else
BuildRequires: libxslt
%endif
BuildRequires: perl-gettext
BuildRequires: perl-Module-Build
BuildRequires: perl-SGMLS
@ -39,6 +43,11 @@ BuildRequires: iso_ent
BuildRequires: opensp
BuildRequires: perl-HTML-Parser
BuildRequires: texlive
%if 0%{?suse_version} < 1140
Requires: perl = %{perl_version}
%else
%{perl_requires}
%endif
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -85,10 +94,11 @@ rm -rf %{buildroot}
%dir %{perl_vendorlib}/Locale/
%{perl_vendorlib}/Locale/Po4a
%{_mandir}/man[1357]/*
%dir %{_mandir}/ca
%dir %{_mandir}/pl
%files lang -f %{name}.lang
%defattr(-,root,root)
%dir %{_mandir}/ca
%dir %{_mandir}/pl
%changelog