Control: tags 912271 + pending

Dear maintainer,

I've prepared an NMU for newlib (versioned as 3.3.0-1.1) and
uploaded it to DELAYED/15 via sponsorship. Please feel free
to tell me if I should delay it longer.

Regards.

diff -Nru newlib-3.3.0/debian/changelog newlib-3.3.0/debian/changelog
--- newlib-3.3.0/debian/changelog       2020-02-29 08:35:41.000000000 -0500
+++ newlib-3.3.0/debian/changelog       2021-06-08 17:17:43.000000000 -0400
@@ -1,3 +1,11 @@
+newlib (3.3.0-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Add newlib-source binary package to aid building for new targets.
+    (Closes: #912271)
+
+ -- John Scott <jsc...@posteo.net>  Tue, 08 Jun 2021 17:17:43 -0400
+
 newlib (3.3.0-1) unstable; urgency=medium
 
   [ Agustin Henze ]
diff -Nru newlib-3.3.0/debian/control newlib-3.3.0/debian/control
--- newlib-3.3.0/debian/control 2020-02-29 08:35:41.000000000 -0500
+++ newlib-3.3.0/debian/control 2021-02-03 10:05:40.000000000 -0500
@@ -56,3 +56,14 @@
  .
  This package contains the newlib library compiled for Cortex-A*,
  Cortex-R4/R5/R7 and Cortex-M0/M0+/M3/M4 targets.
+
+Package: newlib-source
+Architecture: all
+Section: libdevel
+Description: C library and math library for embedded systems (source)
+ Newlib is a C library and math library intended for use on embedded systems.
+ It is a conglomeration of several library parts, all under free software
+ licenses that make them easily usable on embedded products.
+ .
+ This package contains the upstream source code suitable for targeting
+ new platforms.
diff -Nru newlib-3.3.0/debian/newlib-source.install 
newlib-3.3.0/debian/newlib-source.install
--- newlib-3.3.0/debian/newlib-source.install   1969-12-31 19:00:00.000000000 
-0500
+++ newlib-3.3.0/debian/newlib-source.install   2021-02-03 10:02:42.000000000 
-0500
@@ -0,0 +1 @@
+debian/newlib-*.tar.xz usr/src/newlib/
diff -Nru newlib-3.3.0/debian/rules newlib-3.3.0/debian/rules
--- newlib-3.3.0/debian/rules   2020-02-29 08:35:41.000000000 -0500
+++ newlib-3.3.0/debian/rules   2021-02-11 19:59:47.000000000 -0500
@@ -66,11 +66,14 @@
 %:
        dh $@ -B$(BUILD_DIR) --with autotools-dev --parallel
 
+debian/newlib-$(DEB_VERSION_UPSTREAM).tar.xz:
+       tar -acf $@ --exclude=debian --exclude-vcs --exclude='*.dh-orig' 
`pwd`/../`basename $(TOP_DIR)`
+
 override_dh_clean:
        dh_clean
-       rm -rf $(BUILD_DIR) $(BUILD_NANO_DIR) $(TMP_NANO_DIR)
+       rm -rf $(BUILD_DIR) $(BUILD_NANO_DIR) $(TMP_NANO_DIR) 
debian/newlib-*.tar.xz
 
-override_dh_auto_configure:
+override_dh_auto_configure: debian/newlib-$(DEB_VERSION_UPSTREAM).tar.xz
        dh_auto_configure -B$(BUILD_DIR) -- $(CONFIGURE_FLAGS)
        dh_auto_configure -B$(BUILD_NANO_DIR) -- $(CONFIGURE_FLAGS_NANO)
 

Reply via email to