diff --git a/gnome-commander.spec b/gnome-commander.spec index 05c1a64..4ab02c0 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -15,8 +15,8 @@ %global use_gcc_strict_sanitize 1 -%global use_release 0 -%global use_gitbare 1 +%global use_release 1 +%global use_gitbare 0 %if 0%{?use_gitbare} < 1 # force @@ -39,7 +39,9 @@ %global if_pre 1 %endif -%global mainrel 0.1.100 +%global shortver 1.12 +%global fullver %{shortver}.0 +%global mainrel 0.100 %if 0%{?use_release} >= 1 %global fedorarel %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}} @@ -63,9 +65,9 @@ %global use_autotool 1 Name: gnome-commander -Version: 1.12 # Downgrade 3 times, sorry... Epoch: 4 +Version: %{fullver} Release: %{fedorarel}%{flagrel}%{?dist} Summary: A nice and fast file manager for the GNOME desktop Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM) @@ -74,7 +76,7 @@ Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME License: GPLv2+ URL: http://gcmd.github.io/ %if 0%{?use_release} -Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}%{?extratag:-%extratag}.tar.xz +Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}%{?extratag:-%extratag}.tar.xz %endif %if 0%{?use_gitbare} Source0: %{name}-%{gittardate}T%{gittartime}.tar.gz