mise au point demo construction paquet
This commit is contained in:
@@ -15,7 +15,6 @@ Group: Backup Server
|
|||||||
License: AGPLv3 and BSD and GPLv2+ and LGPLv2+
|
License: AGPLv3 and BSD and GPLv2+ and LGPLv2+
|
||||||
URL: http://burp.grke.org/
|
URL: http://burp.grke.org/
|
||||||
Source0: https://github.com/grke/burp/releases/download/%{version}/burp-%{version}.tar.bz2
|
Source0: https://github.com/grke/burp/releases/download/%{version}/burp-%{version}.tar.bz2
|
||||||
Source1: burp.init
|
|
||||||
Source2: burp.service
|
Source2: burp.service
|
||||||
Patch11: burp-2.0.40-ncurses.patch
|
Patch11: burp-2.0.40-ncurses.patch
|
||||||
|
|
||||||
|
|||||||
14
pkg_build.md
14
pkg_build.md
@@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
créer l'arborescence rpmbuild
|
créer l'arborescence rpmbuild
|
||||||
|
|
||||||
Récupérer specfile et source
|
Copier specfile dans ~.rpmbuild/SPECS
|
||||||
|
|
||||||
|
Copier fichier service, fichier patch et archive dans ~/rpmbuild/SOURCES
|
||||||
|
|
||||||
installer rpm-build
|
installer rpm-build
|
||||||
|
|
||||||
@@ -12,3 +14,13 @@ installer les dépendances nécessaires à la construction du paquet
|
|||||||
```bash
|
```bash
|
||||||
dnf builddep ~/rpmbuild/SPECS/burp2.spec
|
dnf builddep ~/rpmbuild/SPECS/burp2.spec
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
lancer la construction du paquet:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rpmbuild -ba ~/rpmbuild/SPECS/burp2.spec
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Les paquets créés seront dans ~/rpmbuild/RPMS/
|
||||||
Reference in New Issue
Block a user