Blame SOURCES/binutils-2.25-version.patch

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