diff --git a/burp2.spec b/burp2.spec index 6147d3b..fd6071c 100644 --- a/burp2.spec +++ b/burp2.spec @@ -15,7 +15,6 @@ Group: Backup Server License: AGPLv3 and BSD and GPLv2+ and LGPLv2+ URL: http://burp.grke.org/ Source0: https://github.com/grke/burp/releases/download/%{version}/burp-%{version}.tar.bz2 -Source1: burp.init Source2: burp.service Patch11: burp-2.0.40-ncurses.patch diff --git a/pkg_build.md b/pkg_build.md index 7d74a0c..4fab6aa 100644 --- a/pkg_build.md +++ b/pkg_build.md @@ -3,7 +3,9 @@ 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 @@ -12,3 +14,13 @@ installer les dépendances nécessaires à la construction du paquet ```bash 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/ \ No newline at end of file