{"push_id":1264724608,"size":1,"distinct_size":1,"ref":"refs/heads/patch-1","head":"872293b203641b0b914ee4b38a4a2d13b0bdb74c","before":"22e2befd5a6c6e53b12f762d0370ba445b0e96a6","commits":[{"sha":"872293b203641b0b914ee4b38a4a2d13b0bdb74c","author":{"name":"afone-lboue","email":"80c9ab989b9d21408ba37de17993dfbf00bd4b23@afone.com"},"message":"Missing spooldir directories in RPM build script\n\nHello,\r\n\r\nI am getting an error with rpmbuild because spooldir directories are missing. Can you fix this with this patch?\r\n\r\n```\r\n[admin@server cgr_build]$ rpmbuild -bb --define \"_topdir $HOME/cgr_build\" SPECS/cgrates.spec\r\nExécution_de(%prep) : /bin/sh -e /var/tmp/rpm-tmp.oxMhbk\r\n+ umask 022\r\n+ cd /home/admin/cgr_build/BUILD\r\n+ cd /home/admin/cgr_build/BUILD\r\n+ rm -rf cgrates-0.9.1rc7.87e12f6\r\n+ /usr/bin/mkdir -p cgrates-0.9.1rc7.87e12f6\r\n+ cd cgrates-0.9.1rc7.87e12f6\r\n+ /usr/bin/gzip -dc /home/admin/cgr_build/SOURCES/87e12f6ea4cc7656baca4002baa6af48fca0c6d4.tar.gz\r\n+ /usr/bin/tar -xf -\r\n+ STATUS=0\r\n+ '[' 0 -ne 0 ']'\r\n+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .\r\n+ mkdir -p src/github.com/cgrates\r\n+ ln -sf ../../../cgrates-87e12f6ea4cc7656baca4002baa6af48fca0c6d4 src/github.com/cgrates/cgrates\r\n+ exit 0\r\nExécution_de(%build) : /bin/sh -e /var/tmp/rpm-tmp.cT34vu\r\n+ umask 022\r\n+ cd /home/admin/cgr_build/BUILD\r\n+ cd cgrates-0.9.1rc7.87e12f6\r\n+ export GO15VENDOREXPERIMENT=1\r\n+ GO15VENDOREXPERIMENT=1\r\n+ export GOPATH=/home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6\r\n+ GOPATH=/home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6\r\n+ cd /home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6/src/github.com/cgrates/cgrates\r\n+ go get -v github.com/Masterminds/glide\r\ngithub.com/Masterminds/glide (download)\r\ngithub.com/Masterminds/glide/vendor/github.com/Masterminds/vcs\r\ngithub.com/Masterminds/glide/msg\r\ngithub.com/Masterminds/glide/godep/strip\r\ngithub.com/Masterminds/glide/path\r\ngithub.com/Masterminds/glide/vendor/github.com/Masterminds/semver\r\ngithub.com/Masterminds/glide/cache\r\ngithub.com/Masterminds/glide/vendor/gopkg.in/yaml.v2\r\ngithub.com/Masterminds/glide/mirrors\r\ngithub.com/Masterminds/glide/util\r\ngithub.com/Masterminds/glide/cfg\r\ngithub.com/Masterminds/glide/dependency\r\ngithub.com/Masterminds/glide/gb\r\ngithub.com/Masterminds/glide/godep\r\ngithub.com/Masterminds/glide/gom\r\ngithub.com/Masterminds/glide/gpm\r\ngithub.com/Masterminds/glide/importer\r\ngithub.com/Masterminds/glide/vendor/github.com/codegangsta/cli\r\ngithub.com/Masterminds/glide/repo\r\ngithub.com/Masterminds/glide/tree\r\ngithub.com/Masterminds/glide/action\r\ngithub.com/Masterminds/glide\r\n+ /home/admin/cgr_build/BUILD/cgrates-0.9.1rc7.87e12f6/bin/glide install\r\n[WARN]  The name listed in the config file () does not match the current location (github.com/cgrates/cgrates)\r\n[INFO]  Downloading dependencies. Please wait...\r\n[INFO]  --> Found desired version locally github.com/cenk/hub 11382a9960d39b0ecda16fd01c424c11ff765a34!\r\n[INFO]  --> Found desired version locally github.com/cenkalti/rpc2 7ab76d2e88c77ca1a715756036d8264b2886acd2!\r\n[INFO]  --> Found desired version locally github.com/cgrates/fsock a8ffdbdfc8440016df008ba91e6f05f806d7a69f!\r\n[INFO]  --> Found desired version locally github.com/cgrates/kamevapi a376b1f937ba959857929fa3e111c0f3243278c0!\r\n[INFO]  --> Found desired version locally github.com/cgrates/osipsdagram 3d6beed663452471dec3ca194137a30d379d9e8f!\r\n[INFO]  --> Found desired version locally github.com/cgrates/rpcclient 1d54b34b6a5531e1124728b489c44ec6a8ac231e!\r\n[INFO]  --> Found desired version locally github.com/ChrisTrenkamp/goxpath 4aad8d0161aae7d17df4755d2c1e86cd1fcaaab6!\r\n[INFO]  --> Found desired version locally github.com/DisposaBoy/JsonConfigReader 33a99fdf1d5ee1f79b5077e9c06f955ad356d5f4!\r\n[INFO]  --> Found desired version locally github.com/fiorix/go-diameter 9ada6bfd077a36dc892676633a2c9ca42d884202!\r\n[INFO]  --> Found desired version locally github.com/go-sql-driver/mysql 3654d25ec346ee8ce71a68431025458d52a38ac0!\r\n[INFO]  --> Found desired version locally github.com/gorhill/cronexpr f0984319b44273e83de132089ae42b1810f4933b!\r\n[INFO]  --> Found desired version locally github.com/hashicorp/golang-lru 0a025b7e63adc15a622f29b0b2c4c3848243bbf6!\r\n[INFO]  --> Found desired version locally github.com/jinzhu/gorm 3324ab20633e8c7ec6d6b1f7a714a1a6e06fec08!\r\n[INFO]  --> Found desired version locally github.com/jinzhu/inflection 8f4d3a0d04ce0b7c0cf3126fb98524246d00d102!\r\n[INFO]  --> Found desired version locally github.com/kr/pty a6bad5ee6fc60cad43d219214dd2449bf077f3f5!\r\n[INFO]  --> Found desired version locally github.com/lib/pq 4dd446efc17690bc53e154025146f73203b18309!\r\n[INFO]  --> Found desired version locally github.com/mediocregopher/radix.v2 ae04b3eb3731f94789205d1268e0759371166605!\r\n[INFO]  --> Found desired version locally github.com/mitchellh/mapstructure d2dd0262208475919e1a362f675cfc0e7c10e905!\r\n[INFO]  --> Found desired version locally github.com/peterh/liner 8975875355a81d612fafb9f5a6037bdcc2d9b073!\r\n[INFO]  --> Found desired version locally github.com/ugorji/go b94837a2404ab90efe9289e77a70694c355739cb!\r\n[INFO]  --> Found desired version locally golang.org/x/net b400c2eff1badec7022a8c8f5bea058b6315eed7!\r\n[INFO]  --> Found desired version locally golang.org/x/sys a408501be4d17ee978c04a618e7a1b22af058c0e!\r\n[INFO]  --> Found desired version locally golang.org/x/text ce78b075c2fbd48520f4995b173eb9fe18b56ef3!\r\n[INFO]  --> Found desired version locally gopkg.in/fsnotify.v1 a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb!\r\n[INFO]  --> Found desired version locally gopkg.in/mgo.v2 29cc868a5ca65f401ff318143f9408d02f4799cc!\r\n[INFO]  Setting references.\r\n[INFO]  --> Setting version for github.com/cenk/hub to 11382a9960d39b0ecda16fd01c424c11ff765a34.\r\n[INFO]  --> Setting version for github.com/cenkalti/rpc2 to 7ab76d2e88c77ca1a715756036d8264b2886acd2.\r\n[INFO]  --> Setting version for github.com/cgrates/fsock to a8ffdbdfc8440016df008ba91e6f05f806d7a69f.\r\n[INFO]  --> Setting version for github.com/cgrates/kamevapi to a376b1f937ba959857929fa3e111c0f3243278c0.\r\n[INFO]  --> Setting version for github.com/cgrates/osipsdagram to 3d6beed663452471dec3ca194137a30d379d9e8f.\r\n[INFO]  --> Setting version for github.com/cgrates/rpcclient to 1d54b34b6a5531e1124728b489c44ec6a8ac231e.\r\n[INFO]  --> Setting version for github.com/ChrisTrenkamp/goxpath to 4aad8d0161aae7d17df4755d2c1e86cd1fcaaab6.\r\n[INFO]  --> Setting version for github.com/DisposaBoy/JsonConfigReader to 33a99fdf1d5ee1f79b5077e9c06f955ad356d5f4.\r\n[INFO]  --> Setting version for github.com/fiorix/go-diameter to 9ada6bfd077a36dc892676633a2c9ca42d884202.\r\n[INFO]  --> Setting version for github.com/go-sql-driver/mysql to 3654d25ec346ee8ce71a68431025458d52a38ac0.\r\n[INFO]  --> Setting version for github.com/gorhill/cronexpr to f0984319b44273e83de132089ae42b1810f4933b.\r\n[INFO]  --> Setting version for github.com/hashicorp/golang-lru to 0a025b7e63adc15a622f29b0b2c4c3848243bbf6.\r\n[INFO]  --> Setting version for github.com/jinzhu/gorm to 3324ab20633e8c7ec6d6b1f7a714a1a6e06fec08.\r\n[INFO]  --> Setting version for github.com/jinzhu/inflection to 8f4d3a0d04ce0b7c0cf3126fb98524246d00d102.\r\n[INFO]  --> Setting version for github.com/kr/pty to a6bad5ee6fc60cad43d219214dd2449bf077f3f5.\r\n[INFO]  --> Setting version for github.com/lib/pq to 4dd446efc17690bc53e154025146f73203b18309.\r\n[INFO]  --> Setting version for github.com/mediocregopher/radix.v2 to ae04b3eb3731f94789205d1268e0759371166605.\r\n[INFO]  --> Setting version for github.com/mitchellh/mapstructure to d2dd0262208475919e1a362f675cfc0e7c10e905.\r\n[INFO]  --> Setting version for github.com/peterh/liner to 8975875355a81d612fafb9f5a6037bdcc2d9b073.\r\n[INFO]  --> Setting version for github.com/ugorji/go to b94837a2404ab90efe9289e77a70694c355739cb.\r\n[INFO]  --> Setting version for golang.org/x/net to b400c2eff1badec7022a8c8f5bea058b6315eed7.\r\n[INFO]  --> Setting version for golang.org/x/sys to a408501be4d17ee978c04a618e7a1b22af058c0e.\r\n[INFO]  --> Setting version for golang.org/x/text to ce78b075c2fbd48520f4995b173eb9fe18b56ef3.\r\n[INFO]  --> Setting version for gopkg.in/fsnotify.v1 to a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb.\r\n[INFO]  --> Setting version for gopkg.in/mgo.v2 to 29cc868a5ca65f401ff318143f9408d02f4799cc.\r\n[INFO]  Exporting resolved dependencies...\r\n[INFO]  --> Exporting github.com/cenk/hub\r\n[INFO]  --> Exporting github.com/cenkalti/rpc2\r\n[INFO]  --> Exporting github.com/cgrates/fsock\r\n[INFO]  --> Exporting github.com/cgrates/kamevapi\r\n[INFO]  --> Exporting github.com/cgrates/osipsdagram\r\n[INFO]  --> Exporting github.com/cgrates/rpcclient\r\n[INFO]  --> Exporting github.com/ChrisTrenkamp/goxpath\r\n[INFO]  --> Exporting github.com/DisposaBoy/JsonConfigReader\r\n[INFO]  --> Exporting github.com/fiorix/go-diameter\r\n[INFO]  --> Exporting github.com/go-sql-driver/mysql\r\n[INFO]  --> Exporting github.com/gorhill/cronexpr\r\n[INFO]  --> Exporting github.com/jinzhu/gorm\r\n[INFO]  --> Exporting github.com/jinzhu/inflection\r\n[INFO]  --> Exporting github.com/kr/pty\r\n[INFO]  --> Exporting github.com/lib/pq\r\n[INFO]  --> Exporting github.com/mediocregopher/radix.v2\r\n[INFO]  --> Exporting github.com/mitchellh/mapstructure\r\n[INFO]  --> Exporting github.com/peterh/liner\r\n[INFO]  --> Exporting github.com/ugorji/go\r\n[INFO]  --> Exporting github.com/hashicorp/golang-lru\r\n[INFO]  --> Exporting golang.org/x/net\r\n[INFO]  --> Exporting golang.org/x/text\r\n[INFO]  --> Exporting golang.org/x/sys\r\n[INFO]  --> Exporting gopkg.in/fsnotify.v1\r\n[INFO]  --> Exporting gopkg.in/mgo.v2\r\n[INFO]  Replacing existing vendor dependencies\r\n+ ./build.sh\r\nBuilding CGRateS...\r\n+ exit 0\r\nExécution_de(%install) : /bin/sh -e /var/tmp/rpm-tmp.qyBMTt\r\n+ umask 022\r\n+ cd /home/admin/cgr_build/BUILD\r\n+ '[' /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64 '!=' / ']'\r\n+ rm -rf /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64\r\n++ dirname /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT\r\n+ mkdir /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64\r\n+ cd cgrates-0.9.1rc7.87e12f6\r\n+ rm -rf /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/share/cgrates\r\n+ cp -rpf src/github.com/cgrates/cgrates/data/conf src/github.com/cgrates/cgrates/data/daemontools src/github.com/cgrates/cgrates/data/diameter src/github.com/cgrates/cgrates/data/docker src/github.com/cgrates/cgrates/data/freeswitch src/github.com/cgrates/cgrates/data/kamailio src/github.com/cgrates/cgrates/data/monit src/github.com/cgrates/cgrates/data/scripts src/github.com/cgrates/cgrates/data/storage src/github.com/cgrates/cgrates/data/tariffplans src/github.com/cgrates/cgrates/data/tester src/github.com/cgrates/cgrates/data/tutorials src/github.com/cgrates/cgrates/data/vagrant /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/share/cgrates\r\n+ install -D -m 0644 -p src/github.com/cgrates/cgrates/data/conf/cgrates/cgrates.json /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/etc/cgrates/cgrates.json\r\n+ install -D -m 0755 -p bin/cgr-console /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-console\r\n+ install -D -m 0755 -p bin/cgr-engine /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-engine\r\n+ install -D -m 0755 -p bin/cgr-loader /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-loader\r\n+ install -D -m 0755 -p bin/cgr-tester /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/bin/cgr-tester\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdrc/in\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdrc/out\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdre/csv\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/log/cgrates/cdre/fwv\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/lib/cgrates/history\r\n+ mkdir -p /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/lib/cgrates/cache_dump\r\n+ install -D -m 0644 -p src/github.com/cgrates/cgrates/packages/redhat_fedora/cgrates.options /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/etc/sysconfig/cgrates\r\n+ install -D -m 0644 -p src/github.com/cgrates/cgrates/packages/redhat_fedora/cgrates.service /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/usr/lib/systemd/system/cgrates.service\r\n+ /usr/lib/rpm/check-buildroot\r\n+ /usr/lib/rpm/redhat/brp-compress\r\n+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip\r\n+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump\r\n+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip\r\n+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1\r\n+ /usr/lib/rpm/redhat/brp-python-hardlink\r\n+ /usr/lib/rpm/redhat/brp-java-repack-jars\r\nTraitement des fichiers : cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64\r\nerreur : Fichier non trouvé par la substitution : /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/spool/cgrates/*\r\n\r\nErreur de construction de RPM :\r\n    Fichier non trouvé par la substitution : /home/admin/cgr_build/BUILDROOT/cgrates-0.9.1rc7.87e12f6-1.el7.centos.x86_64/var/spool/cgrates/*\r\n```","distinct":true,"url":"https://api.github.com/repos/afone-lboue/cgrates/commits/872293b203641b0b914ee4b38a4a2d13b0bdb74c"}]}
{"actor":{"display_login":"afone-lboue"}}