D: [iurt_root_command] chroot warning: extra tokens at the end of %endif directive in line 27: %endif # end use_numlockx warning: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: NumLock warning: extra tokens at the end of %endif directive in line 49: %endif # end use_numlockx warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 60: %endif # end use_numlockx warning: extra tokens at the end of %endif directive in line 72: %endif # end use_numlockx warning: extra tokens at the end of %endif directive in line 102: %endif # end use_numlockx Installing /home/pterjan/rpmbuild/SRPMS/numlock-2.1.2-17.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xEdJWb + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf numlock-2.1.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/numlock-2.1.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd numlock-2.1.2 + rm -rf /home/pterjan/rpmbuild/BUILD/numlock-2.1.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/numlock-2.1.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + cd numlock-2.1.2 + rm -rf /home/pterjan/rpmbuild/BUILD/numlock-2.1.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/numlock-2.1.2-SPECPARTS + /usr/lib/rpm/rpmuncompress -x -v /home/pterjan/rpmbuild/SOURCES/numlockx-1.2.tar.gz /usr/bin/gzip -dc '/home/pterjan/rpmbuild/SOURCES/numlockx-1.2.tar.gz' | /usr/bin/tar -xvvof - drwxr-xr-x seli/users 0 2010-03-13 19:26 numlockx-1.2/ -rw-r--r-- seli/users 1146 2001-04-30 18:31 numlockx-1.2/LICENSE -rwxr-xr-x seli/users 15936 2005-10-03 16:47 numlockx-1.2/depcomp -rw-r--r-- seli/users 3753 2001-04-30 19:34 numlockx-1.2/Makefile.am -rw-r--r-- seli/users 6490 2005-10-03 12:25 numlockx-1.2/main.c -rw-r--r-- seli/users 23586 2010-03-13 19:25 numlockx-1.2/Makefile.in -rwxr-xr-x seli/users 9233 2005-10-03 16:47 numlockx-1.2/install-sh -rw-r--r-- seli/users 541 2010-03-13 19:25 numlockx-1.2/configure.in -rw-r--r-- seli/users 7160 2000-06-22 09:15 numlockx-1.2/INSTALL -rw-r--r-- seli/users 1380 2010-03-13 19:25 numlockx-1.2/ChangeLog -rw-r--r-- seli/users 4230 2010-03-13 19:25 numlockx-1.2/README -rwxr-xr-x seli/users 3474 2005-10-03 16:47 numlockx-1.2/mkinstalldirs -rw-r--r-- seli/users 29 2001-04-30 18:47 numlockx-1.2/TODO -rw-r--r-- seli/users 7076 2005-10-03 16:40 numlockx-1.2/acinclude.m4 -rw-r--r-- seli/users 35050 2010-03-13 19:25 numlockx-1.2/aclocal.m4 -rw-r--r-- seli/users 77 2001-04-30 18:42 numlockx-1.2/AUTHORS -rwxr-xr-x seli/users 11014 2005-10-03 16:47 numlockx-1.2/missing -rw-r--r-- seli/users 1493 2010-03-13 19:24 numlockx-1.2/config.h.in -rwxr-xr-x seli/users 144 2005-10-03 16:42 numlockx-1.2/autogen.sh -rwxr-xr-x seli/users 198001 2010-03-13 19:25 numlockx-1.2/configure + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (numlock_level7.patch):' Patch #0 (numlock_level7.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file numlock.init + echo 'Patch #1 (numlock-xinit-sourced.patch):' Patch #1 (numlock-xinit-sourced.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file numlock.xinit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xx0D1q + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd numlock-2.1.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -lX11 -lXtst -o enable_X11_numlock enable_X11_numlock.c + pushd numlockx-1.2 ~/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2 ~/rpmbuild/BUILD/numlock-2.1.2 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for X... (cached) libraries , headers checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/XKBlib.h usability... yes checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes checking for XkbLockModifiers in -lXext... yes checking X11/extensions/XTest.h usability... yes checking X11/extensions/XTest.h presence... yes checking for X11/extensions/XTest.h... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for Xsetup file... no checking for xinitrc file... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2/missing --run autoheader) autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal.m4:16: warning: this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pedantic -c main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pedantic -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o numlockx main.o -lXtst -lXext -lX11 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2' + popd ~/rpmbuild/BUILD/numlock-2.1.2 + sed -i -e s#enable_X11_numlock#numlockx# numlock.xinit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UUQJrF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 + cd numlock-2.1.2 + '[' 1 -eq 1 ']' + make install TOP=/home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 INITRDDIR=/etc/rc.d/init.d install -d /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/{bin,share/man/man1}/ install -d /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/etc/profile.d install -d /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64//etc/rc.d/init.d install -d /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/etc/X11/xinit.d install -m755 enable_X11_numlock /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/bin install -m755 man/C/enable_X11_numlock.1 /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/man1/ for i in man/??* ; do \ install -d /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/`basename $i`/man1 ; \ install -m 644 $i/*.1 /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/`basename $i`/man1 ; \ done install -m755 numlock.init /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64//etc/rc.d/init.d/numlock install -m755 numlock.sh /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/etc/profile.d/ install -m755 numlock.xinit /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/etc/X11/xinit.d/numlock + pushd numlockx-1.2 ~/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2 ~/rpmbuild/BUILD/numlock-2.1.2 + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2' test -z "/usr/bin" || /usr/bin/mkdir -p "/home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/bin" /usr/bin/install -p numlockx '/home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/bin' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/numlock-2.1.2/numlockx-1.2' + popd ~/rpmbuild/BUILD/numlock-2.1.2 + rm -f /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/bin/enable_X11_numlock + rm -rf /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/cs /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/et /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/eu /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/fi /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/fr /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/it /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/man1 /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/nl /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/ru /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64/usr/share/man/uk + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.1.2-17.mga10 --unique-debug-suffix -2.1.2-17.mga10.x86_64 --unique-debug-src-base numlock-2.1.2-17.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/numlock-2.1.2 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/numlock-2.1.2-17.mga10.x86_64 13 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/numlock from /bin/sh to #!/usr/bin/sh *** WARNING: ./etc/profile.d/numlock.sh is executable but has no shebang, removing executable bit mangling shebang in /etc/X11/xinit.d/numlock from /bin/sh to #!/usr/bin/sh + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: numlock-2.1.2-17.mga10.x86_64 Provides: NumLock = 2.1.2-17.mga10 config(numlock) = 2.1.2-17.mga10 numlock = 2.1.2-17.mga10 numlock(x86-64) = 2.1.2-17.mga10 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh rpm-helper Requires(preun): /bin/sh rpm-helper Obsoletes: NumLock Processing files: numlock-debugsource-2.1.2-17.mga10.x86_64 Provides: numlock-debugsource = 2.1.2-17.mga10 numlock-debugsource(x86-64) = 2.1.2-17.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: numlock-debuginfo-2.1.2-17.mga10.x86_64 Provides: debuginfo(build-id) = 936d43b92315940d23023e8d156b9b3cb21f752f numlock-debuginfo = 2.1.2-17.mga10 numlock-debuginfo(x86-64) = 2.1.2-17.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: numlock-debugsource(x86-64) = 2.1.2-17.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/numlock-2.1.2-17.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/numlock-debuginfo-2.1.2-17.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/numlock-debugsource-2.1.2-17.mga10.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wDOj6I + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd numlock-2.1.2 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/numlock-2.1.2-17.mga10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sRI5iu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf /home/pterjan/rpmbuild/BUILD/numlock-2.1.2-SPECPARTS + rm -rf numlock-2.1.2 numlock-2.1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: extra tokens at the end of %endif directive in line 27: %endif # end use_numlockx line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: NumLock extra tokens at the end of %endif directive in line 49: %endif # end use_numlockx %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 60: %endif # end use_numlockx extra tokens at the end of %endif directive in line 72: %endif # end use_numlockx extra tokens at the end of %endif directive in line 102: %endif # end use_numlockx D: [iurt_root_command] Success!