Blame SOURCES/binutils-2.25-version.patch

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