correct source URL and build dependencies
OBS-URL: https://build.opensuse.org/package/show/M17N/i18nspector?expand=0&rev=3
This commit is contained in:
parent
17d36b38b4
commit
229aaaa788
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 1 12:50:44 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Correct source UPL.
|
||||
- Correct build dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 25 19:58:18 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
|
@ -23,19 +23,17 @@ License: MIT
|
||||
Summary: Tool for Checking gettext POT/PO/MO Files
|
||||
Url: http://jwilk.net/software/i18nspector
|
||||
Group: Development/Tools/Other
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source0: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{version}.tar.gz
|
||||
Source1: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1220
|
||||
# Requires for tests.
|
||||
BuildRequires: python3-curses
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-polib
|
||||
%endif
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1230
|
||||
Requires: python3 >= 3.2
|
||||
%endif
|
||||
@ -64,15 +62,11 @@ headers, incorrect language codes and improper plural forms.
|
||||
%make_install PREFIX=%{_prefix}
|
||||
|
||||
# Python byte compile.
|
||||
%if 0%{?suse_version} >= 1210
|
||||
cd %{buildroot}%{_datadir}/%{name}/
|
||||
%py3_compile .
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1220
|
||||
%check
|
||||
make test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user