|
|
|
|
@ -31,15 +31,15 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Language |
|
|
|
|
License: Apache |
|
|
|
|
Version: 2.3.13 |
|
|
|
|
Release: 20131205 |
|
|
|
|
Version: 2.3.19 |
|
|
|
|
Release: 20160306 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://closure-linter.googlecode.com/files/closure_linter-%{version}.tar.gz |
|
|
|
|
Source0: https://github.com/google/closure-linter/archive/v%{version}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, python |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101, python |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, python |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101, python |
|
|
|
|
BuildPreReq: python-text, python-setup |
|
|
|
|
PreReq: python-text, python-setup |
|
|
|
|
|
|
|
|
|
@ -50,12 +50,12 @@ PreReq: python-text, python-setup
|
|
|
|
|
%track |
|
|
|
|
prog closurelinter = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = http://code.google.com/p/closure-linter/downloads/list |
|
|
|
|
regex = closure_linter-(\d+\.\d+\.\d+)\.tar.gz |
|
|
|
|
url = https://github.com/google/closure-linter/releases |
|
|
|
|
regex = v(\d+\.\d+\.\d+)\.tar.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n closure_linter-%{version} |
|
|
|
|
%setup -q -n closure-linter-%{version} |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
|