centos-package-cron icon indicating copy to clipboard operation
centos-package-cron copied to clipboard

RPM for Centos 6 - version 1.0.10

Open thefretrunner opened this issue 6 years ago • 3 comments

Hi

I tried to build an RPM of 1.0.10 myself but there seems to be some issues with the spec file.

centos-package-cron-releases-1.0.10]# rpmbuild -bb --verbose -D "_topdir pwd" -D "_sourcedir ../" -D "_builddir pwd" centos-package-cron.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DalBO1

  • umask 022
  • cd /root/test/centos-package-cron-releases-1.0.10
  • LANG=C
  • export LANG
  • unset DISPLAY
  • cd /root/test/centos-package-cron-releases-1.0.10
  • rm -rf centos-package-cron
  • /usr/bin/gzip -dc ../centos_package_cron_src.tgz
  • /bin/tar -xf -
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd centos-package-cron /var/tmp/rpm-tmp.DalBO1: line 39: cd: centos-package-cron: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.DalBO1 (%prep)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DalBO1 (%prep)

Anyone knows how to fix this? Or even better, could you add RPM for Centos 6?

thefretrunner avatar Aug 04 '18 11:08 thefretrunner

The reason for the upgrade to 1.0.10 is that the 1.0.8 suddenly cannot read changelogs. Example from log as it is now on Centos 6 running 1.0.8. I got the same problem on Centos 7 but all those are updated to 1.0.10 and those are working now. But I am stuck with this situation on Centos 6 since I cannot get 1.0.10 to work / no RPM.

wget-1.12-10.el6 Unable to parse changelog for package wget version 1.12 release 10.el6

xorg-x11-drv-ati-firmware-7.6.1-4.el6 Unable to parse changelog for package xorg-x11-drv-ati-firmware version 7.6.1 release 4.el6

yum-3.2.29-81.el6.centos Unable to parse changelog for package yum version 3.2.29 release 81.el6.centos

yum-plugin-changelog-1.1.30-41.el6 Unable to parse changelog for package yum-plugin-changelog version 1.1.30 release 41.el6

yum-plugin-fastestmirror-1.1.30-41.el6 Unable to parse changelog for package yum-plugin-fastestmirror version 1.1.30 release 41.el6

yum-plugin-security-1.1.30-41.el6 Unable to parse changelog for package yum-plugin-security version 1.1.30 release 41.el6

yum-utils-1.1.30-41.el6 Unable to parse changelog for package yum-utils version 1.1.30 release 41.el6

thefretrunner avatar Aug 04 '18 11:08 thefretrunner

@thefretrunner - I don't use this utility anymore and I've tried to maintain it but just don't have the time right now. I still need to find time to work on #25.

wied03 avatar Aug 06 '18 14:08 wied03

Hi, I see. Well as someone wrote, there is no alternative to your utility. I really like it but I guess I can upgrade those few servers to Centos 7 and all will be good. There are some 20 machines, but it is doable.

I will try to see if I can find the issue myself.

thefretrunner avatar Aug 06 '18 17:08 thefretrunner