There is Source0: http://download.gnome.org/sources/glib/2.26/glib-%{version}.tar.bz2 And should be 2.27, because version is 2.27.4. I can imagine some macros for this versioning. The same mistake is in f13.
Indeed. Thanks. Fixed in repo, but will not rebuild just for this change.
You pushed this fix: -Source0: http://download.gnome.org/sources/glib/2.26/glib-%{version}.tar.bz2 +Source0: http://download.gnome.org/sources/glib/2.27/glib-%{version}.tar.bz2 But you should have pushed this fix: +Source0: http://download.gnome.org/sources/glib/%{version}/glib-%{version}.tar.bz2 so that it doesn't keep biting you on every %{version} bump.
No that's incorrect, %{version} expands to something like '2.27.4' while the folder on the download mirror is named '2.27'
What about something like; %define baseversion 2.27 %define minversion .4 Version: %{baseversion}%{minversion} Source0: http://download.gnome.org/sources/glib/%{baseversion}/glib-%{version}.tar.bz2 Maybe some better words :)
... or something like this, taken from gtkmm30.spec: # first two digits of version %define release_version %(echo %{version} | awk -F. '{print $1"."$2}') Source0: http://download.gnome.org/sources/glib/%{release_version}/glib-%{version}.tar.bz2