Commits

Anonymous committed 8204f47

also added the RPM building for the dependencies

  • Participants
  • Parent commits 0ada6db

Comments (0)

Files changed (2)

 
 #_ MAIN _#
 rm -rf ${name}*.deb
+rm -rf ${name}*.rpm
 rm -rf jzmq
 rm -rf ${buildroot}
 mkdir -p ${buildroot}
 #_ MAKE DEBIAN _#
 cd ${origdir}/${buildroot}
 fpm -t deb -n ${name} -v ${version} --description "${description}" --url="${url}" -a ${arch} --prefix=/ -d "libzmq0 >= 2.1.7" -s dir -- .
+fpm -t rpm -n ${name} -v ${version} --description "${description}" --url="${url}" -a ${arch} --prefix=/ -d "libzmq0 >= 2.1.7" -s dir -- .
 mv ${origdir}/${buildroot}/*.deb ${origdir}
+mv ${origdir}/${buildroot}/*.rpm ${origdir}
 
 #_ MAIN _#
 rm -rf ${name}*.deb
+rm -rf ${name}*.rpm
 #_ MAKE DIRECTORIES _#
 rm -rf ${fakeroot}
 mkdir -p ${fakeroot}
 #_ MAKE DEBIAN _#
 cd ${origdir}/${buildroot}
 fpm -t deb -n ${name} -v ${version} --description "${description}" --url="${url}" -a ${arch} --prefix=/ -d 'libc6 >= 2.7'  -d 'libgcc1 >= 1:4.1.1'  -d 'libstdc++6 >= 4.1.1'  -d 'libuuid1 >= 2.16' -s dir -- .
+fpm -t rpm -n ${name} -v ${version} --description "${description}" --url="${url}" -a ${arch} --prefix=/ -d 'libc6 >= 2.7'  -d 'libgcc1 >= 1:4.1.1'  -d 'libstdc++6 >= 4.1.1'  -d 'libuuid1 >= 2.16' -s dir -- .
 mv ${origdir}/${buildroot}/*.deb ${origdir}
+mv ${origdir}/${buildroot}/*.rpm ${origdir}
 cd ${origdir}