uname-build-checks-1.0-0.6.oe24090>    ff ;G|`u` JS[[3C*A!'X'L2踕w:j4V~6!N:RGJ~A sqW ZNIS֙c"Dz^֜k60LjwTqtYF o99mY:wP9 iZ8rGs| ?cgxZY'?RNCtb$Z]CP&̆sdG 5 W? Gd $ Wlp     z | ( 8(9,:YFvGHIRXY\]^defDHCuname-build-checks1.00.6.oe2409post checks for build after rpms have been createdmodify uname commondffdc-64g.compass-ci GPL-2.0-or-laterhttp://openeuler.orgDevelopment/Tools/Buildinguname.shlinuxx86_64fefe2357609776001cc259c3f9ee755e4dd0e361b4033af6f18583cc3c7b40237ed80c983e6d806cec662a0f39e96567225adb5c86a0e954e573902394ba1753b967 rootrootrootrootuname-build-checks  coreutilskernelrpmrpmlib(CompressedFileNames)rpmlib(FileDigests)3.0.4-14.6.0-14.18.2fiyinyongkang 1.0-0.6- license info rectificationdc-64g.compass-ci 17274241531.0-0.6.oe2409uname-build-checks.specuname.shcpiogzip9utf-8399b76f1d94ad46dd4a453cea421a8dc413353a8395d493af3fd3f7a244029f85702c916a5144a02e1c67e2e82823cf9c6c740eb90f000335a5a3b643443b17f Name: uname-build-checks License: GPL-2.0-or-later Group: Development/Tools/Building Summary: post checks for build after rpms have been created Version: 1.0 Release: 0.6 BuildRequires: kernel, rpm, coreutils Source0: uname.sh BuildRoot: /var/tmp/uname-build-checks-1.0-build Requires: coreutils %description modify uname commond %prep MREL=`rpm -qi kernel | grep Version | awk -F' ' '{print $3}'` MREL=$MREL-`rpm -qi kernel | grep Release | awk -F' ' '{print $3}'` MREL=$MREL.`rpm -qi kernel | grep Architecture | awk -F' ' '{print $2}'` echo $MREL > oe_kernelversion %install install -d $RPM_BUILD_ROOT/usr/bin install -m 755 /home/lkp/rpmbuild/SOURCES/uname.sh $RPM_BUILD_ROOT/usr/bin/uname.sh cp oe_kernelversion $RPM_BUILD_ROOT/.oe_kernelversion %check %clean rm -rf $RPM_BUILD_ROOT %post if test -f /usr/bin/uname -a ! -L /usr/bin/uname ; then mv /usr/bin/uname /usr/bin/uname.bin ln -s /usr/bin/uname.sh /usr/bin/uname fi %preun if test "$1" = 0 -a -f /bin/uname.bin ; then mv /bin/uname.bin /bin/uname fi %files %defattr(-, root, root) /usr/bin/uname.sh /.oe_kernelversion %changelog * Wed Jun 12 2024 yinyongkang 1.0-0.6 - license info rectification * Tue Jan 5 2021 shenyangyang4@huawei.com 1.0-0.5 - rename uname-build-check.spec to uname-build-checks.spec * Mon Jan 13 2020 buildteam@openeuler.org 1.0-0.4 - strengthen spec * Thu Nov 26 2015 hexiaowen@huawei.com 1.0-0.3 - add ARCH info when get kernel version using "uname -r" * Wed Nov 25 2015 hexiaowen@huawei.com 1.0-0.2 - Fixed bugs when get kernel version using "uname -r" * Sat Dec 27 2014 zhenghaizhen@huawei.com 1.0-0.1 - new log ?VmS8~v $-iK'& \[5%#@7˝">j}dWl6^Q]fzv2k9G#{`.O*3C>drOa1cU۪mK*+)Q$Z9c,QȄ ;Ő0j<7d!IMz * ccŐ%_sj&]0]nXoFL 2%1D9>^I@9s)u4aQO+ZC4KY[PbGH% ˽qƃFa(Qpp.vC_0Dqև}IPv:JʀIG:Is}߲<*t fxTfƌ 0[w4ۇJ&PіEa7}&Wrm f0`Ű'㙨1P Ƅu`_b#lj[XWX* -bbH^̅ωj jv\~_9.d\v[Su IwhZpO| 1sXO#e,x[F Z–l.PYz`쬩iF1TÜb|C~.RϞ8Ll{uSG4dzV3'16a(T'>%D: aK,=\pvdX}ͼITE"Hgkيųt7|Iuo-*\v痽i:kx BjțsqXz77h &0y\͚