I usuallly cut-n-paste from this: ` ver=4.6.0 rel=0.1.beta ver_re="s/(Version:\\s*).*/\${1}$ver/o;" rel_re="s/(Release:\\s*).*/\${1}$rel%{?dist}%{?_with_cpp11:.cpp11}%{?_with_clang:.clang}/o;" cd ~/xrootd/ # checkout appropriate branch cd packaging rm -f xrootd-*.rpm ./makesrpm.sh rm -rf ~/rpmbuild/ rpm -i xrootd-*.src.rpm perl -pi -e $ver_re ~/rpmbuild/SPECS/xrootd.spec perl -pi -e $rel_re ~/rpmbuild/SPECS/xrootd.spec grep Version: ~/rpmbuild/SPECS/xrootd.spec grep Release: ~/rpmbuild/SPECS/xrootd.spec # Make sure the above are ok rpmbuild -bb ~/rpmbuild/SPECS/xrootd.spec ssh [log in to unmask] rm -rf server/RPMS/rhel7/* rsync -ae ssh ~/rpmbuild/RPMS/ [log in to unmask]:server/RPMS/rhel7 ` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/521#issuecomment-303011123 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1