On a fully updated (except for all the 7.5 packages in the CR repo, 
which are NOT installed) Centos-7, attempting to create a binary RPM
for biblesync 1.2.0.

I've got the spec file (from the same download site as the .tar.gz source
file) in ~/rpmbuild/SPECS, and the .tar.gz file in ~/rpmbuild/SOURCES.
I issue rpmbuild -bb ~/rpmbuild/SPECS/biblesync.spec, and get a few
screens-full of output, which ends in this:

                Processing files: biblesync-devel-1.2.0-1bsp.el7.centos.x86_64
                Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LnSoWg
                + umask 022
                + cd /home/fredex/rpmbuild/BUILD
                + cd biblesync-1.2.0
                + 
DOCDIR=/home/fredex/rpmbuild/BUILDROOT/biblesync-1.2.0-1bsp.el7.centos.x86_64/usr/share/doc/biblesync-devel-1.2.0
                + export DOCDIR
                + /usr/bin/mkdir -p 
/home/fredex/rpmbuild/BUILDROOT/biblesync-1.2.0-1bsp.el7.centos.x86_64/usr/share/doc/biblesync-devel-1.2.0
                + cp -pr AUTHORS 
/home/fredex/rpmbuild/BUILDROOT/biblesync-1.2.0-1bsp.el7.centos.x86_64/usr/share/doc/biblesync-devel-1.2.0
                + cp -pr COPYING 
/home/fredex/rpmbuild/BUILDROOT/biblesync-1.2.0-1bsp.el7.centos.x86_64/usr/share/doc/biblesync-devel-1.2.0
                + cp -pr ChangeLog 
/home/fredex/rpmbuild/BUILDROOT/biblesync-1.2.0-1bsp.el7.centos.x86_64/usr/share/doc/biblesync-devel-1.2.0
                + cp -pr README 
/home/fredex/rpmbuild/BUILDROOT/biblesync-1.2.0-1bsp.el7.centos.x86_64/usr/share/doc/biblesync-devel-1.2.0
                cp: cannot stat 'README': No such file or directory
                error: Bad exit status from /var/tmp/rpm-tmp.LnSoWg (%doc)


                RPM build errors:
                    bogus date in %changelog: Thu Nov 04 2014 Karl Kleinpaste 
<k...@kleinpaste.org> - 1.1.2-1
                    Bad exit status from /var/tmp/rpm-tmp.LnSoWg (%doc)

being largely ignorant of how rpmbuild actually works, I blindly tried
removing that specific line from the spec file. no go. so I deleted
all the lines from the changelog section, leaving an empty changelog
section. no go.  so I deleted the empty changelog section. same-o same-o.

I note that there is no file named README in the tar archive (there is
README.md though). So I removed README from the %doc section, removing
CHANGELOG entirely, the voila! it builds!

so I suppose this is a bug report for biblesync, if you want to consider
it as such.

Fred

-- 
---- Fred Smith -- fre...@fcshome.stoneham.ma.us -----------------------------
                      The eyes of the Lord are everywhere, 
                    keeping watch on the wicked and the good.
----------------------------- Proverbs 15:3 (niv) -----------------------------

_______________________________________________
xiphos-devel mailing list
xiphos-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/xiphos-devel

Reply via email to