Deleted some unnecessary command when make master.filelist

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
This commit is contained in:
Yang Yanchao 2021-12-09 21:14:02 +08:00
parent f5e24fbbc9
commit 91e26f23d2

View File

@ -65,7 +65,7 @@
############################################################################## ##############################################################################
Name: glibc Name: glibc
Version: 2.34 Version: 2.34
Release: 31 Release: 32
Summary: The GNU libc libraries Summary: The GNU libc libraries
License: %{all_license} License: %{all_license}
URL: http://www.gnu.org/software/glibc/ URL: http://www.gnu.org/software/glibc/
@ -775,7 +775,7 @@ touch compat-2.17.filelist
-e '\,.*/share/i18n/locales/.*,d' \ -e '\,.*/share/i18n/locales/.*,d' \
-e '\,.*/share/i18n/charmaps/.*,d' \ -e '\,.*/share/i18n/charmaps/.*,d' \
-e '\,.*/etc/\(localtime\|nsswitch.conf\|ld\.so\.conf\|ld\.so\.cache\|default\|rpc\|gai\.conf\),d' \ -e '\,.*/etc/\(localtime\|nsswitch.conf\|ld\.so\.conf\|ld\.so\.cache\|default\|rpc\|gai\.conf\),d' \
-e '\,.*/%{_libdir}/lib\(pcprofile\|memusage\)\.so,d' \ -e '\,.*%{_libdir}/lib\(pcprofile\|memusage\)\.so,d' \
%if %{with compat_2_17} %if %{with compat_2_17}
-e '\,.*%{_libdir}/libpthread-2.17.so,d' \ -e '\,.*%{_libdir}/libpthread-2.17.so,d' \
%endif %endif
@ -813,7 +813,9 @@ for module in compat files dns; do
-e "/libnss_$module(\.so\.[0-9.]+|-[0-9.]+\.so)$" \ -e "/libnss_$module(\.so\.[0-9.]+|-[0-9.]+\.so)$" \
>> glibc.filelist >> glibc.filelist
done done
grep -e "libmemusage.so" -e "libpcprofile.so" master.filelist >> glibc.filelist
echo '%{_libdir}/libmemusage.so' >> glibc.filelist
echo '%{_libdir}/libpcprofile.so' >> glibc.filelist
############################################################################## ##############################################################################
# glibc "common" sub-package # glibc "common" sub-package
@ -844,10 +846,7 @@ grep '%{_libdir}/lib.*\.a' master.filelist \
grep '%{_libdir}/.*\.o' < master.filelist >> devel.filelist grep '%{_libdir}/.*\.o' < master.filelist >> devel.filelist
grep '%{_libdir}/lib.*\.so' < master.filelist >> devel.filelist grep '%{_libdir}/lib.*\.so' < master.filelist >> devel.filelist
sed -i -e '\,libmemusage.so,d' \ sed -i -e '\,/libnss_[a-z]*\.so$,d' devel.filelist
-e '\,libpcprofile.so,d' \
-e '\,/libnss_[a-z]*\.so$,d' \
devel.filelist
grep '%{_prefix}/include' < master.filelist >> devel.filelist grep '%{_prefix}/include' < master.filelist >> devel.filelist
@ -1334,6 +1333,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Dec 9 2021 Yang Yanchao <yangyanchao6@huawei.com> - 2.34-32
- Deleted some unnecessary command when make master.filelist
* Thu Dec 9 2021 Yang Yanchao <yangyanchao6@huawei.com> - 2.34-31 * Thu Dec 9 2021 Yang Yanchao <yangyanchao6@huawei.com> - 2.34-31
- support all Chinese and English by default - support all Chinese and English by default
add zh_* and en_* to glibc-common add zh_* and en_* to glibc-common