[gcc-6] 387/401: * Fix symlinks to man pages in the hppa64 package. Closes: #857583.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:50:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit c47091d9a8212ae0126002d177ca65b00cc45f78
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Mon Mar 13 11:01:10 2017 +0000

      * Fix symlinks to man pages in the hppa64 package. Closes: #857583.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9346 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog  | 1 +
 debian/control    | 7 +++----
 debian/control.m4 | 7 +++----
 debian/rules2     | 8 +++++++-
 4 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f183a89..c0023ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ gcc-6 (6.3.0-9) UNRELEASED; urgency=medium
   * dpkg-buildflags stopped fiddling around with spec files; remove
     the code removing and warning about dpkg's specs.
   * libstdc++6: Add break for libopenmpi1.6. Closes: #854881.
+  * Fix symlinks to man pages in the hppa64 package. Closes: #857583.
 
  -- Matthias Klose <doko at debian.org>  Tue, 07 Mar 2017 17:40:20 +0100
 
diff --git a/debian/control b/debian/control
index adca954..b2e88db 100644
--- a/debian/control
+++ b/debian/control
@@ -323,10 +323,9 @@ Package: gcc-6-hppa64-linux-gnu
 Architecture: hppa amd64 i386 x32
 Section: devel
 Priority: optional
-Depends: gcc-6-base (= ${gcc:Version}), ${shlibs:Depends}, ${misc:Depends}, binutils-hppa64-linux-gnu | binutils-hppa64
-Replaces: gcc-5-hppa64 (<< 5.2.1-22)
-Provides: gcc-5-hppa64
-Conflicts: gcc-3.3-hppa64 (<= 1:3.3.4-5), gcc-3.4-hppa64 (<= 3.4.1-3), gcc-4.7-hppa64 (<< 4.7.3-13), gcc-4.8-hppa64 (<< 4.8.2-22), gcc-4.9-hppa64 (<< 4.9.3-1)
+Depends: gcc-6-base (= ${gcc:Version}), gcc-6 (= ${gcc:Version}),
+  binutils-hppa64-linux-gnu | binutils-hppa64, 
+  ${shlibs:Depends}, ${misc:Depends}
 Description: GNU C compiler (cross compiler for hppa64)
  This is the GNU C compiler, a fairly portable optimizing compiler for C.
 
diff --git a/debian/control.m4 b/debian/control.m4
index e9d604f..308d98e 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -808,10 +808,9 @@ ifdef(`TARGET',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: PRI(optional)
-Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}, binutils-hppa64-linux-gnu | binutils-hppa64
-Replaces: gcc-5-hppa64 (<< 5.2.1-22)
-Provides: gcc-5-hppa64
-Conflicts: gcc-3.3-hppa64 (<= 1:3.3.4-5), gcc-3.4-hppa64 (<= 3.4.1-3), gcc-4.7-hppa64 (<< 4.7.3-13), gcc-4.8-hppa64 (<< 4.8.2-22), gcc-4.9-hppa64 (<< 4.9.3-1)
+Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}),
+  binutils-hppa64-linux-gnu | binutils-hppa64,
+  ${shlibs:Depends}, ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU C compiler (cross compiler for hppa64)
  This is the GNU C compiler, a fairly portable optimizing compiler for C.
diff --git a/debian/rules2 b/debian/rules2
index 65dd4f6..bd3f53d 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -2467,10 +2467,16 @@ ifeq ($(versioned_packages),yes)
 	done
 endif
 	mkdir -p $(d_hppa64)/$(PF)/share/man/man1
-	for i in cpp gcc-ar gcc-nm gcc-ranlib; do \
+	for i in gcc-ar gcc-nm gcc-ranlib; do \
 	  ln -sf $$i$(pkg_ver).1.gz \
 	    $(d_hppa64)/$(PF)/share/man/man1/hppa64-linux-gnu-$$i$(pkg_ver).1.gz; \
 	done
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+	for i in cpp gcc; do \
+	  ln -sf $$i$(pkg_ver).1.gz \
+	    $(d_hppa64)/$(PF)/share/man/man1/hppa64-linux-gnu-$$i$(pkg_ver).1.gz; \
+	done
+endif
 
 	touch $(install_hppa64_stamp)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list