debian-mirror-gitlab/spec/fixtures/packages/debian
2023-05-27 22:25:52 +05:30
..
distribution New upstream version 15.4.2+ds1 2022-10-11 01:57:18 +05:30
sample/debian New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
libsample0_1.2.3~alpha2_amd64.deb New upstream version 13.6.5 2021-01-29 00:20:46 +05:30
README.md New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
sample-ddeb_1.2.3~alpha2_amd64.ddeb New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
sample-dev_1.2.3~binary_amd64.deb New upstream version 14.0.10 2021-09-04 01:27:46 +05:30
sample-udeb_1.2.3~alpha2_amd64.udeb New upstream version 13.6.5 2021-01-29 00:20:46 +05:30
sample_1.2.3~alpha2.dsc New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
sample_1.2.3~alpha2.tar.xz New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
sample_1.2.3~alpha2_amd64.buildinfo New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
sample_1.2.3~alpha2_amd64.changes New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30

Build a Debian package

Install the build dependencies:

sudo apt install dpkg-dev

Go to the spec/fixtures/packages/debian directory and clean up old files:

cd spec/fixtures/packages/debian
rm -v *.tar.* *.dsc *.deb *.udeb *.ddeb *.buildinfo *.changes

Go to the package source directory and build:

cd sample
dpkg-buildpackage --no-sign