Changes between Version 47 and Version 48 of Packaging
- Timestamp:
- 01/11/17 16:43:16 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Packaging
v47 v48 13 13 The spec file can be found here: [/browser/trunk/scripts/xpra.spec xpra.spec] 14 14 [[BR]] 15 The quick and easy way (tested on Fedora 2 0):15 The quick and easy way (tested on Fedora 25): 16 16 {{{ 17 17 mkdir -p ${HOME}/rpmbuild/SOURCES/ >& /dev/null … … 20 20 cp dist/*bz2 ${HOME}/rpmbuild/SOURCES/ 21 21 cp patches/* ${HOME}/rpmbuild/SOURCES/ 22 rpmbuild -ba ../rpmbuild/xpra.spec --define 'Fedora 1'22 rpmbuild -ba ../rpmbuild/xpra.spec 23 23 ls -s ${HOME}/rpmbuild/RPMS/*/ 24 24 }}} 25 Shows:26 {{{27 1904 xpra-0.14.0-0.fc20.x86_64.rpm 2332 xpra-debuginfo-0.14.0-0.fc20.x86_64.rpm28 }}}29 30 You may need to add arguments to the rpmbuild command line to enable/disable certain features, or simply to get it to build properly on other RPM based distros.31 For example, to build on {{{CentOS 6}}} with a different build no, use:32 {{{33 rpmbuild -ba xpra.spec --define 'build_no 5'34 }}}35 (the flags and their purpose may vary with versions, please refer to the spec file for more definitive information)36 25 }}} 37 26