diff --git a/src/nitrokey-sys/debian/changelog b/src/nitrokey-sys/debian/changelog index ebe5227..267f03b 100644 --- a/src/nitrokey-sys/debian/changelog +++ b/src/nitrokey-sys/debian/changelog @@ -6,4 +6,4 @@ [ Wolfgang Silbermayr ] * Package nitrokey-sys 3.4.1 from crates.io using debcargo 2.2.9 - -- Robin Krahl Thu, 13 Dec 2018 17:46:45 +0000 + -- Robin Krahl Wed, 19 Dec 2018 21:05:47 +0000 diff --git a/src/nitrokey-sys/debian/debcargo.toml b/src/nitrokey-sys/debian/debcargo.toml index f393743..a626a0a 100644 --- a/src/nitrokey-sys/debian/debcargo.toml +++ b/src/nitrokey-sys/debian/debcargo.toml @@ -6,9 +6,5 @@ # The auto-generated summary is too long. summary = "Low-level bindings to libnitrokey" -[source] -# The cc dependency is removed by 0001-Update-build.rs-for-shared-library.patch -build_depends_excludes = ["cc"] - [packages.lib] depends = ["libnitrokey-dev","libhidapi-dev"] diff --git a/src/nitrokey-sys/debian/patches/0002-Remove-cc-dependency.patch b/src/nitrokey-sys/debian/patches/0002-Remove-cc-dependency.patch new file mode 100644 index 0000000..90333f9 --- /dev/null +++ b/src/nitrokey-sys/debian/patches/0002-Remove-cc-dependency.patch @@ -0,0 +1,10 @@ +Index: nitrokey-sys/Cargo.toml +=================================================================== +--- nitrokey-sys.orig/Cargo.toml ++++ nitrokey-sys/Cargo.toml +@@ -22,5 +22,3 @@ readme = "README.md" + categories = ["external-ffi-bindings"] + license = "LGPL-3.0" + repository = "https://git.ireas.org/nitrokey-sys-rs/" +-[build-dependencies.cc] +-version = "1.0" diff --git a/src/nitrokey-sys/debian/patches/series b/src/nitrokey-sys/debian/patches/series index 5bfbe57..233f928 100644 --- a/src/nitrokey-sys/debian/patches/series +++ b/src/nitrokey-sys/debian/patches/series @@ -1 +1,2 @@ +0002-Remove-cc-dependency.patch 0001-Update-build.rs-for-shared-library.patch