[neon/neon-packaging/corrosion/Neon/release] debian: lint and add watch file

Carlos De Maine null at kde.org
Thu Jan 18 00:33:16 GMT 2024


Git commit ced4b4c1537f11fd371c6ecc881c8dbb99853296 by Carlos De Maine.
Committed on 18/01/2024 at 01:33.
Pushed by carlosdem into branch 'Neon/release'.

lint and add watch file

M  +9    -3    debian/control
A  +5    -0    debian/watch

https://invent.kde.org/neon/neon-packaging/corrosion/-/commit/ced4b4c1537f11fd371c6ecc881c8dbb99853296

diff --git a/debian/control b/debian/control
index d19e6de..86f55be 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,20 @@
 Source: corrosion
 Section: utils
 Priority: optional
-Build-Depends: cargo, cmake, debhelper-compat (= 13), rustc
-Standards-Version: 4.2.1
+Build-Depends: cargo, 
+               cmake, 
+               debhelper-compat (= 13), 
+               rustc
+Standards-Version: 4.6.2
 Maintainer: Neon CI <neon at kde.org>
 
 Package: corrosion
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: cargo, 
+         rustc, 
+         ${misc:Depends}, 
+         ${shlibs:Depends}
 Description: integrates Rust into an existing CMake project
  Corrosion, formerly known as cmake-cargo, is a tool for integrating
  Rust into an existing CMake project. Corrosion can automatically
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..80e6815
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+   https://github.com/corrosion-rs/corrosion/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate


More information about the Neon-commits mailing list