Blame SOURCES/binutils-2.25-version.patch

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