From: Chris Wright Date: Tue, 03 May 2005 18:32:11 GMT Subject: [PATCH 2/3] cogito spec file 0.8-1 Message-ID: <20050503183211.GN18917@shell0.pdx.osdl.net> In-Reply-To: <20050503183038.GM18917@shell0.pdx.osdl.net> Update spec file to cogito 0.8. Obsolete the git package, add some more build and install prereqs, move to /usr/bin, update URLs. Signed-off-by: Chris Wright --- cogito/git.spec~0.7-1 2005-05-03 11:02:15.000000000 -0700 +++ cogito/git.spec 2005-05-03 11:10:32.000000000 -0700 @@ -1,16 +1,17 @@ -Name: git -Version: 0.7 +Name: cogito +Version: 0.8 Release: 1 Vendor: Petr Baudis Summary: Git core and tools License: GPL Group: Development/Tools -URL: http://pasky.or.cz/~pasky/dev/git/ -Source: http://pasky.or.cz/~pasky/dev/git/%{name}-pasky-%{version}.tar.bz2 -Provides: git = %{version} -BuildRequires: zlib-devel openssl-devel +URL: http://kernel.org/pub/software/scm/cogito/ +Source: http://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.bz2 +Provides: cogito = %{version} +Obsoletes: git +BuildRequires: zlib-devel, openssl-devel, curl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root -Prereq: sh-utils diffutils +Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5 %description GIT comes in two layers. The bottom layer is merely an extremely fast @@ -20,7 +21,7 @@ enables human beings to work with the da similar to other SCM tools (like CVS, BitKeeper or Monotone). %prep -%setup -q -n %{name}-pasky-%{version} +%setup -q -n %{name}-%{version} %build @@ -28,17 +29,19 @@ make %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local install +make DESTDIR=$RPM_BUILD_ROOT prefix=/usr/ install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -/usr/local/bin/* -#%{_mandir}/*/* +/usr/bin/* %changelog +* Mon Apr 25 2005 Chris Wright 0.8-1 +- Update to cogito, rename package, move to /usr/bin, update prereqs + * Mon Apr 25 2005 Chris Wright 0.7-1 - Update to 0.7