Blame SOURCES/binutils-2.25-version.patch

8d443f
--- binutils-2.26.orig/bfd/Makefile.am	2016-01-25 10:11:33.505289018 +0000
8d443f
+++ binutils-2.26/bfd/Makefile.am	2016-01-25 10:13:23.489964145 +0000
8d443f
@@ -1043,8 +1043,8 @@ DISTCLEANFILES = $(BUILD_CFILES) $(BUILD
8d443f
 bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
8d443f
 	@echo "creating $@"
8d443f
 	@bfd_version=`echo "$(VERSION)" | $(SED) -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
8d443f
-	bfd_version_string="\"$(VERSION)\"" ;\
8d443f
-	bfd_soversion="$(VERSION)" ;\
8d443f
+	bfd_version_string="\"$(VERSION)-%{release}\"" ;\
8d443f
+	bfd_soversion="$(VERSION)-%{release}" ;\
8d443f
 	bfd_version_package="\"$(PKGVERSION)\"" ;\
8d443f
 	report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
8d443f
 	. $(srcdir)/development.sh ;\
8d443f
@@ -1055,7 +1055,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
8d443f
 	fi ;\
8d443f
 	$(SED) -e "s,@bfd_version@,$$bfd_version," \
8d443f
 	    -e "s,@bfd_version_string@,$$bfd_version_string," \
8d443f
-	    -e "s,@bfd_version_package@,$$bfd_version_package," \
8d443f
+	    -e "s,@bfd_version_package@,\"version \"," \
8d443f
 	    -e "s,@report_bugs_to@,$$report_bugs_to," \
8d443f
 	    < $(srcdir)/version.h > $@; \
8d443f
 	echo "$${bfd_soversion}" > libtool-soversion
8d443f
--- binutils-2.26.orig/bfd/Makefile.in	2016-01-25 10:11:33.505289018 +0000
8d443f
+++ binutils-2.26/bfd/Makefile.in	2016-01-25 10:14:17.818297941 +0000
8d443f
@@ -2111,8 +2111,8 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES)
8d443f
 bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
8d443f
 	@echo "creating $@"
8d443f
 	@bfd_version=`echo "$(VERSION)" | $(SED) -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
8d443f
-	bfd_version_string="\"$(VERSION)\"" ;\
8d443f
-	bfd_soversion="$(VERSION)" ;\
8d443f
+	bfd_version_string="\"$(VERSION)-%{release}\"" ;\
8d443f
+	bfd_soversion="$(VERSION)-%{release}" ;\
8d443f
 	bfd_version_package="\"$(PKGVERSION)\"" ;\
8d443f
 	report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
8d443f
 	. $(srcdir)/development.sh ;\
8d443f
@@ -2123,7 +2123,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
8d443f
 	fi ;\
8d443f
 	$(SED) -e "s,@bfd_version@,$$bfd_version," \
8d443f
 	    -e "s,@bfd_version_string@,$$bfd_version_string," \
8d443f
-	    -e "s,@bfd_version_package@,$$bfd_version_package," \
8d443f
+	    -e "s,@bfd_version_package@,\"version \"," \
8d443f
 	    -e "s,@report_bugs_to@,$$report_bugs_to," \
8d443f
 	    < $(srcdir)/version.h > $@; \
8d443f
 	echo "$${bfd_soversion}" > libtool-soversion