Changeset 21681 for trunk/tools/install
- Timestamp:
- Sep 30, 2011, 6:21:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/install/HowToDistribute.txt
r21678 r21681 6 6 7 7 8 Preparation 9 ----------- 8 Main Routine 9 ------------ 10 10 11 11 1. Update the version number in the file "/include/odinbuild.h". … … 51 51 2. Check these files by attemting to perform an install from them. 52 52 53 3. If everything is fine, upload the files to the repository. 53 3. If everything is fine, upload the files to the ZIP repository: 54 55 ftp://ftp.netlabs.org/pub/odin/ 54 56 55 57 … … 59 61 1. Run the "UpdateRPMSpec.sh" script to automatically update fields in the 60 62 "odin.spec" file such as the version number. The script will also update 61 the RPM release number. This number is differentfrom the version number63 the RPM release number. This number is separate from the version number 62 64 because it represents the version of the RPM package itself. 63 65 … … 81 83 how it should be formatted. 82 84 83 4. When the .spec file is done, perform the following command to actually 84 build the RPM files: 85 4. When the .spec file is done, copy "odin-XYZ.zip" to the 86 "$HOME/rpmbuild/SOURCES" directory and perform the following command to 87 actually build the RPM packages: 85 88 86 rpmbuild odin.spec89 rpmbuild -ba odin.spec 87 90 88 91 In the default RPM setup, the resulting .rpm files will be created in the … … 93 96 rpm -i <package-XYZ>.rpm 94 97 95 6. If all goes right, upload the files to the RPM repository. 98 6. If all goes right, upload the .rpm files to the experimental RPM repository: 99 100 davs://dmik@webdav.netlabs.org/rpm/experimental/00/i386/ 101 102 (in a subdirectory corresponding to the package architecture). When synced, 103 test them with the following command: 104 105 yum install <package> 106 107 Don't forget to upload the .src.rpm file to the respecive place, too. 108 109 If it goes right as well, finally upload to the release repository: 110 111 davs://dmik@webdav.netlabs.org/rpm/release/00/i386/ 96 112 97 113
Note:
See TracChangeset
for help on using the changeset viewer.