Blame SOURCES/binutils-2.20.51.0.2-version.patch

4910d4
--- binutils-2.25.1.orig/bfd/Makefile.am	2016-01-26 10:26:30.112472163 +0000
4910d4
+++ binutils-2.25.1/bfd/Makefile.am	2016-01-26 10:33:42.062113771 +0000
4910d4
@@ -1025,8 +1025,8 @@ DISTCLEANFILES = $(BUILD_CFILES) $(BUILD
4910d4
 bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
4910d4
 	@echo "creating $@"
4910d4
 	@bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
4910d4
-	bfd_version_string="\"$(VERSION)\"" ;\
4910d4
-	bfd_soversion="$(VERSION)" ;\
4910d4
+	bfd_version_string="\"$(VERSION)-%{release} $${bfd_version_date}\"" ;\
4910d4
+	bfd_soversion="$(VERSION)-%{release}" ;\
4910d4
 	bfd_version_package="\"$(PKGVERSION)\"" ;\
4910d4
 	report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
4910d4
 	. $(srcdir)/development.sh ;\
4910d4
@@ -1037,7 +1037,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
4910d4
 	fi ;\
4910d4
 	sed -e "s,@bfd_version@,$$bfd_version," \
4910d4
 	    -e "s,@bfd_version_string@,$$bfd_version_string," \
4910d4
-	    -e "s,@bfd_version_package@,$$bfd_version_package," \
4910d4
+	    -e "s,@bfd_version_package@,\"version \"," \
4910d4
 	    -e "s,@report_bugs_to@,$$report_bugs_to," \
4910d4
 	    < $(srcdir)/version.h > $@; \
4910d4
 	echo "$${bfd_soversion}" > libtool-soversion
4910d4
--- binutils-2.25.1.orig/bfd/Makefile.in	2016-01-26 10:26:30.112472163 +0000
4910d4
+++ binutils-2.25.1/bfd/Makefile.in	2016-01-26 10:34:15.945320255 +0000
4910d4
@@ -2085,8 +2085,8 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES)
4910d4
 bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
4910d4
 	@echo "creating $@"
4910d4
 	@bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
4910d4
-	bfd_version_string="\"$(VERSION)\"" ;\
4910d4
-	bfd_soversion="$(VERSION)" ;\
4910d4
+	bfd_version_string="\"$(VERSION)-%{release} $${bfd_version_date}\"" ;\
4910d4
+	bfd_soversion="$(VERSION)-%{release}" ;\
4910d4
 	bfd_version_package="\"$(PKGVERSION)\"" ;\
4910d4
 	report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
4910d4
 	. $(srcdir)/development.sh ;\
4910d4
@@ -2097,7 +2097,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
4910d4
 	fi ;\
4910d4
 	sed -e "s,@bfd_version@,$$bfd_version," \
4910d4
 	    -e "s,@bfd_version_string@,$$bfd_version_string," \
4910d4
-	    -e "s,@bfd_version_package@,$$bfd_version_package," \
4910d4
+	    -e "s,@bfd_version_package@,\"version \"," \
4910d4
 	    -e "s,@report_bugs_to@,$$report_bugs_to," \
4910d4
 	    < $(srcdir)/version.h > $@; \
4910d4
 	echo "$${bfd_soversion}" > libtool-soversion