|
|
|
|
@ -31,8 +31,8 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Language |
|
|
|
|
License: MIT |
|
|
|
|
Version: 0.2.1 |
|
|
|
|
Release: 20201022 |
|
|
|
|
Version: 0.3.0 |
|
|
|
|
Release: 20210916 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://github.com/RDambrosio016/RSLint/archive/v%{version}.tar.gz |
|
|
|
|
@ -53,7 +53,7 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n RSLint-%{version} |
|
|
|
|
%setup -q |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
HOME=`pwd` |
|
|
|
|
@ -63,7 +63,7 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin |
|
|
|
|
%{l_shtool} install -c -s -m 755 \ |
|
|
|
|
target/release/rslint_cli $RPM_BUILD_ROOT%{l_prefix}/bin/rslint |
|
|
|
|
target/release/rslint $RPM_BUILD_ROOT%{l_prefix}/bin/rslint |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|