Changeset 21681 for trunk/tools/install


Ignore:
Timestamp:
Sep 30, 2011, 6:21:20 PM (14 years ago)
Author:
dmik
Message:

Update HowToDistribute.txt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/install/HowToDistribute.txt

    r21678 r21681  
    66
    77
    8 Preparation
    9 -----------
     8Main Routine
     9------------
    1010
    11111. Update the version number in the file "/include/odinbuild.h".
     
    51512. Check these files by attemting to perform an install from them.
    5252
    53 3. If everything is fine, upload the files to the repository.
     533. If everything is fine, upload the files to the ZIP repository:
     54
     55       ftp://ftp.netlabs.org/pub/odin/
    5456
    5557
     
    59611. Run the "UpdateRPMSpec.sh" script to automatically update fields in the
    6062   "odin.spec" file such as the version number. The script will also update
    61    the RPM release number. This number is different from the version number
     63   the RPM release number. This number is separate from the version number
    6264   because it represents the version of the RPM package itself.
    6365
     
    8183   how it should be formatted.
    8284
    83 4. When the .spec file is done, perform the following command to actually
    84    build the RPM files:
     854. 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:
    8588
    86        rpmbuild odin.spec
     89       rpmbuild -ba odin.spec
    8790
    8891   In the default RPM setup, the resulting .rpm files will be created in the
     
    9396       rpm -i <package-XYZ>.rpm
    9497
    95 6. If all goes right, upload the files to the RPM repository.
     986. 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/
    96112
    97113
Note: See TracChangeset for help on using the changeset viewer.