From 3d9146a4fea81dabcab99eaf606b5b3b3a053a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= Date: Sat, 26 Dec 2020 21:40:56 +0100 Subject: [PATCH 1/2] Provide binary package for libgit2 fixtures --- debian/control | 13 +++++++++++++ debian/libgit2-fixtures.install | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/libgit2-fixtures.install diff --git a/debian/control b/debian/control index 7ae66aa22..af856cfb8 100644 --- a/debian/control +++ b/debian/control @@ -50,3 +50,16 @@ Description: low-level Git library libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API. + +Package: libgit2-fixtures +Architecture: all +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: low-level Git library - test suite examples + libgit2 is a portable, pure C implementation of the Git + distributed version control system core methods provided as a + re-entrant link-able library with a solid API. + . + This package provides the test examples of the library, which can be useful for + other pieces of software relying on libgit2, for testing purposes. diff --git a/debian/libgit2-fixtures.install b/debian/libgit2-fixtures.install new file mode 100644 index 000000000..beb2b41a7 --- /dev/null +++ b/debian/libgit2-fixtures.install @@ -0,0 +1 @@ +tests/resources/* /usr/share/libgit2/fixtures/ From 646056c07846a2cfafa5b3a0179cf993c18957b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= Date: Sat, 26 Dec 2020 21:50:41 +0100 Subject: [PATCH 2/2] install as examples --- debian/libgit2-fixtures.examples | 1 + debian/libgit2-fixtures.install | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 debian/libgit2-fixtures.examples delete mode 100644 debian/libgit2-fixtures.install diff --git a/debian/libgit2-fixtures.examples b/debian/libgit2-fixtures.examples new file mode 100644 index 000000000..c576317ff --- /dev/null +++ b/debian/libgit2-fixtures.examples @@ -0,0 +1 @@ +tests/resources/* diff --git a/debian/libgit2-fixtures.install b/debian/libgit2-fixtures.install deleted file mode 100644 index beb2b41a7..000000000 --- a/debian/libgit2-fixtures.install +++ /dev/null @@ -1 +0,0 @@ -tests/resources/* /usr/share/libgit2/fixtures/