1
0
mirror of https://github.com/altlinux/admx-basealt.git synced 2025-03-06 04:58:22 +03:00

Merge pull request from altlinux/admx-lint-check

Add admx and adml files checking via admx-lint
This commit is contained in:
Evgeny Sinelnikov 2021-07-14 18:11:27 +04:00 committed by GitHub
commit 9fcfd17388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,8 @@ Group: System/Configuration/Other
Url: https://github.com/altlinux/admx-basealt
BuildArch: noarch
BuildRequires: admx-lint
Source0: %name-%version.tar
%description
@ -24,6 +26,11 @@ policy settings in the Group Policy Object Editor.
mkdir -p %buildroot%_destdir
cp -r ru-RU/ en-US/ BaseALT*.admx %buildroot%_destdir/
%check
for file in *.admx *-*/*.adml; do
admx-lint --input_file "$file"
done
%files
%dir %_destdir
%_destdir