From: Chris Wright Date: Tue, 03 May 2005 18:33:25 GMT Subject: [PATCH 3/3] cogito spec file 0.8-2 Message-ID: <20050503183325.GO18917@shell0.pdx.osdl.net> In-Reply-To: <20050503183211.GN18917@shell0.pdx.osdl.net> Some small additions to the cogito spec file: o include some documentation o use %{_prefix} macro o drop -n from %setup macro (chrisw: dropped spec file rename) Signed-off-by: Terje Rosten Signed-off-by: Chris Wright --- cogito/git.spec~0.8-1 2005-05-03 11:02:28.000000000 -0700 +++ cogito/git.spec 2005-05-03 11:10:32.000000000 -0700 @@ -1,6 +1,6 @@ Name: cogito Version: 0.8 -Release: 1 +Release: 2 Vendor: Petr Baudis Summary: Git core and tools License: GPL @@ -21,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}-%{version} +%setup -q %build @@ -29,7 +29,7 @@ make %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT prefix=/usr/ install +make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT @@ -37,8 +37,14 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/* +%doc README README.reference COPYING Changelog %changelog +* Wed Apr 27 2005 Terje Rosten 0.8-2 +- Doc files +- Use %%{_prefix} macro +- Drop -n option to %%setup macro + * Mon Apr 25 2005 Chris Wright 0.8-1 - Update to cogito, rename package, move to /usr/bin, update prereqs