Closed alphastar868 closed 7 years ago
When building a new RPM on CentOS using /dists/redhat/i-nex.spec, rpmbuild fails with:
+ /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: i-nex-7.4.0.1-20161002.bzr933.git8321595.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OfMUTe + umask 022 + cd /home/alphastar868/rpmbuild/BUILD + cd I-Nex-83215952ccb4ae330343c0e32df93541f156cac6 + DOCDIR=/home/alphastar868/rpmbuild/BUILDROOT/i-nex-7.4.0.1-20161002.bzr933.git8321595.el7.centos.x86_64/usr/share/doc/i-nex-7.4.0.1 + export DOCDIR + /usr/bin/mkdir -p /home/alphastar868/rpmbuild/BUILDROOT/i-nex-7.4.0.1-20161002.bzr933.git8321595.el7.centos.x86_64/usr/share/doc/i-nex-7.4.0.1 + cp -pr docs/copyright /home/alphastar868/rpmbuild/BUILDROOT/i-nex-7.4.0.1-20161002.bzr933.git8321595.el7.centos.x86_64/usr/share/doc/i-nex-7.4.0.1 cp: cannot stat 'docs/copyright': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.OfMUTe (%doc) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OfMUTe (%doc)
SPEC file no longer builds RPMs/SRPMs since https://github.com/i-nex/I-Nex/commit/049f4ec7da2db5786c5cb3c585db824119b351af as (Makefile)/build scripts are presently (incorrectly) pointing to docs/copyright.
Please correct path for copyright file to debian/copyright in Makefile(s) and other build scripts
Fixed by https://github.com/i-nex/I-Nex/commit/37abc108cda893799c7e08092d4f7a80883a5076
Thanks eloaders!
Error:
When building a new RPM on CentOS using /dists/redhat/i-nex.spec, rpmbuild fails with:
Issue:
SPEC file no longer builds RPMs/SRPMs since https://github.com/i-nex/I-Nex/commit/049f4ec7da2db5786c5cb3c585db824119b351af as (Makefile)/build scripts are presently (incorrectly) pointing to docs/copyright.
Fix Request:
Please correct path for copyright file to debian/copyright in Makefile(s) and other build scripts