git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] cogito spec file 0.8-2

From
CWChris Wright <chrisw@osdl.org>
Date
May 3, 2005, 18:33 UTC
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 <terje.rosten@ntnu.no>
Signed-off-by: Chris Wright <chrisw@osdl.org>

--- 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 <pasky@ucw.cz>
 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 <terje.rosten@ntnu.no> 0.8-2
+- Doc files
+- Use %%{_prefix} macro
+- Drop -n option to %%setup macro
+
 * Mon Apr 25 2005 Chris Wright <chrisw@osdl.org> 0.8-1
 - Update to cogito, rename package, move to /usr/bin, update prereqs
 
Previous: Chris WrightNext: Chris Wright
Message 4 of 7 in “cogito spec file updates”
  1. 0/3 cogito spec file updatesChris Wright, May 3, 2005
  2. 1/3 cogito spec file 0.7-1Chris Wright, May 3, 2005
  3. 2/3 cogito spec file 0.8-1Chris Wright, May 3, 2005
  4. 3/3 cogito spec file 0.8-2Chris Wright, May 3, 2005
  5. Chris WrightMay 3, 2005
  6. Petr BaudisMay 3, 2005
  7. Chris WrightMay 3, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.