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