Update URL and Source locations

The old site no longer appears to exist, nor do the tarballs.
Use github instead.
This commit is contained in:
Adam Williamson 2019-01-18 11:52:01 -08:00 committed by Jakub Kadlcik
parent 6d8e0adb8e
commit 655bf0b87e

View file

@ -23,8 +23,8 @@ Summary: A tool for managing rpm based git projects
Group: Development/Tools Group: Development/Tools
License: GPLv2 License: GPLv2
URL: http://rm-rf.ca/tito URL: https://github.com/dgoodwin/tito
Source0: http://rm-rf.ca/files/tito/tito-%{version}.tar.gz Source0: https://github.com/dgoodwin/tito/archive/tito-%{version}-1.tar.gz
BuildArch: noarch BuildArch: noarch
%if %{use_python3} %if %{use_python3}
@ -77,7 +77,10 @@ Tito is a tool for managing tarballs, rpms, and builds for projects using
git. git.
%prep %prep
%setup -q -n tito-%{version} # the weird directory name is because github makes the directory name
# '(projectname)-(tag)', and the tags for tito have 'tito' in them and
# '-1' on the end...
%setup -q -n tito-tito-%{version}-1
sed -i 1"s|#!.*|#!%{ourpythonbin}|" bin/tito sed -i 1"s|#!.*|#!%{ourpythonbin}|" bin/tito
%build %build