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:
Kyrill Detinov 2013-06-01 12:53:15 +00:00 committed by Git OBS Bridge
parent 17d36b38b4
commit 229aaaa788
2 changed files with 7 additions and 7 deletions

View File

@ -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 Sat May 25 19:58:18 UTC 2013 - lazy.kent@opensuse.org

View File

@ -23,19 +23,17 @@ License: MIT
Summary: Tool for Checking gettext POT/PO/MO Files Summary: Tool for Checking gettext POT/PO/MO Files
Url: http://jwilk.net/software/i18nspector Url: http://jwilk.net/software/i18nspector
Group: Development/Tools/Other 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 Source1: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring Source2: %{name}.keyring
BuildRequires: python3-devel BuildRequires: python3-devel
%if 0%{?suse_version} >= 1230 %if 0%{?suse_version} >= 1230
BuildRequires: gpg-offline BuildRequires: gpg-offline
%endif %endif
%if 0%{?suse_version} >= 1220
# Requires for tests. # Requires for tests.
BuildRequires: python3-curses BuildRequires: python3-curses
BuildRequires: python3-nose BuildRequires: python3-nose
BuildRequires: python3-polib BuildRequires: python3-polib
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1230 %if 0%{?suse_version} && 0%{?suse_version} < 1230
Requires: python3 >= 3.2 Requires: python3 >= 3.2
%endif %endif
@ -64,15 +62,11 @@ headers, incorrect language codes and improper plural forms.
%make_install PREFIX=%{_prefix} %make_install PREFIX=%{_prefix}
# Python byte compile. # Python byte compile.
%if 0%{?suse_version} >= 1210
cd %{buildroot}%{_datadir}/%{name}/ cd %{buildroot}%{_datadir}/%{name}/
%py3_compile . %py3_compile .
%endif
%if 0%{?suse_version} >= 1220
%check %check
make test make test
%endif
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)