fix grep usage in macros.scl #1315051

This commit is contained in:
Remi Collet 2016-03-07 09:50:43 +01:00 committed by Lubos Kardos
parent 77e33eea0d
commit 2e50fdf192
2 changed files with 5 additions and 2 deletions

View File

@ -293,7 +293,7 @@ ln -snf usr/%{_lib} %{_lib}
%endif
sed -n -f %{buildroot}/iso_639.sed /usr/share/xml/iso-codes/iso_639.xml >%{buildroot}/iso_639.tab
sed -n -f %{buildroot}/iso_3166.sed /usr/share/xml/iso-codes/iso_3166.xml >%{buildroot}/iso_3166.tab
grep -v "^$" %{buildroot}/iso_639.tab | grep -v "^#" | while read a b c d ; do
grep -av "^$" %{buildroot}/iso_639.tab | grep -av "^#" | while read a b c d ; do
[[ "$d" =~ "^Reserved" ]] && continue
[[ "$d" =~ "^No linguistic" ]] && continue
locale=$c

View File

@ -3,7 +3,7 @@
Name: scl-utils
Epoch: 1
Version: 2.0.1
Release: 8%{dist}
Release: 9%{dist}
Summary: Utilities for alternative packaging
License: GPLv2+
@ -79,6 +79,9 @@ rm -rf %buildroot
%{_rpmconfigdir}/brp-scl-python-bytecompile
%changelog
* Mon Mar 7 2016 Remi Collet <remi@fedoraproject.org> - 1:2.0.1-9
- fix grep usage in macros.scl #1315051
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild