Line 5: |
Line 5: |
| In this howto we could let script-tools we need to build rpm | | In this howto we could let script-tools we need to build rpm |
| | | |
− | ===mockbuild=== | + | ===Stephdl=== |
| + | [mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br /> |
| + | ====mockbuild==== |
| | | |
| mock get a special syntax not always easy to recall, here a script that you need to record at /usr/bin/mockbuild (set it executable) https://github.com/stephdl/mockbuild | | mock get a special syntax not always easy to recall, here a script that you need to record at /usr/bin/mockbuild (set it executable) https://github.com/stephdl/mockbuild |
Line 49: |
Line 51: |
| A the end I use rpm to sign my rpm, if you don't need it you can remove it. | | A the end I use rpm to sign my rpm, if you don't need it you can remove it. |
| | | |
− | ===git_ignore=== | + | ====git_ignore==== |
| git don't track empty directory that we may need for a rpm, here a script that you need to record at /usr/bin/git_ignore (set it executable) https://github.com/stephdl/git_ignore | | git don't track empty directory that we may need for a rpm, here a script that you need to record at /usr/bin/git_ignore (set it executable) https://github.com/stephdl/git_ignore |
| | | |
Line 59: |
Line 61: |
| find * -type d -empty -exec touch {}/.gitignore \; | | find * -type d -empty -exec touch {}/.gitignore \; |
| | | |
− | ===git_mockbuild=== | + | ====git_mockbuild==== |
| | | |
| a git integration for mock, git and rpm https://github.com/stephdl/git_mockbuild | | a git integration for mock, git and rpm https://github.com/stephdl/git_mockbuild |
Line 224: |
Line 226: |
| rpm --resign ~/exchange/$PACKAGE-$VERSION/*.rpm 2>&1 > /dev/null | | rpm --resign ~/exchange/$PACKAGE-$VERSION/*.rpm 2>&1 > /dev/null |
| | | |
− | ===contrib_migration=== | + | ====contrib_migration==== |
| a script to migrate contrib from sme8 CVS to your local git and to your remote Github account for sme9 https://github.com/stephdl/contrib_migration . You need to record at /usr/bin/contrib_migration (set it executable) | | a script to migrate contrib from sme8 CVS to your local git and to your remote Github account for sme9 https://github.com/stephdl/contrib_migration . You need to record at /usr/bin/contrib_migration (set it executable) |
| | | |
Line 327: |
Line 329: |
| fi | | fi |
| | | |
− | ===build_srpm=== | + | ====build_srpm==== |
| a script to build srpm, create the git repository, and export all files to github https://github.com/stephdl/build_srpm . You need to record at /usr/bin/build_srpm (set it executable) | | a script to build srpm, create the git repository, and export all files to github https://github.com/stephdl/build_srpm . You need to record at /usr/bin/build_srpm (set it executable) |
| | | |