{"thread":{"id":"459","subject":"[PATCH 0/3] cogito spec file updates","startedAt":"2005-05-03T18:28:50Z","lastAt":"2005-05-03T21:32:16Z","messageCount":7,"participants":["Chris Wright","Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"2492","messageId":"20050503182850.GL18917@shell0.pdx.osdl.net","threadId":"459","inReplyTo":null,"subject":"[PATCH 0/3] cogito spec file updates","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-05-03T18:28:50Z","receivedAt":"2005-05-03T18:28:50Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"Hi Pasky,\n\nHere's the outstanding updates for the spec file, up to 0.8-2 which is\nthe latest on kernel.org.\n\n\thttp://www.kernel.org/pub/software/scm/cogito/RPMS/\n\nthanks,\n-chris\n"},{"id":"2493","messageId":"20050503183038.GM18917@shell0.pdx.osdl.net","threadId":"459","inReplyTo":"20050503182850.GL18917@shell0.pdx.osdl.net","subject":"[PATCH 1/3] cogito spec file 0.7-1","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-05-03T18:30:38Z","receivedAt":"2005-05-03T18:30:38Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"Update spec file to 0.7\n\nSigned-off-by: Chris Wright <chrisw@osdl.org>\n\n--- cogito/git.spec~0.6.3-1\t2005-05-03 11:01:52.000000000 -0700\n+++ cogito/git.spec\t2005-05-03 11:10:32.000000000 -0700\n@@ -1,5 +1,5 @@\n Name: \t\tgit\n-Version: \t0.6.3\n+Version: \t0.7\n Release: \t1\n Vendor: \tPetr Baudis <pasky@ucw.cz>\n Summary:  \tGit core and tools\n@@ -39,5 +39,8 @@ rm -rf $RPM_BUILD_ROOT\n #%{_mandir}/*/*\n \n %changelog\n+* Mon Apr 25 2005 Chris Wright <chrisw@osdl.org> 0.7-1\n+- Update to 0.7\n+\n * Thu Apr 21 2005 Chris Wright <chrisw@osdl.org> 0.6.3-1\n - Initial rpm build\n"},{"id":"2495","messageId":"20050503183211.GN18917@shell0.pdx.osdl.net","threadId":"459","inReplyTo":"20050503183038.GM18917@shell0.pdx.osdl.net","subject":"[PATCH 2/3] cogito spec file 0.8-1","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-05-03T18:32:11Z","receivedAt":"2005-05-03T18:32:11Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"Update spec file to cogito 0.8.  Obsolete the git package, add some\nmore build and install prereqs, move to /usr/bin, update URLs.\n\nSigned-off-by: Chris Wright <chrisw@osdl.org>\n\n--- cogito/git.spec~0.7-1\t2005-05-03 11:02:15.000000000 -0700\n+++ cogito/git.spec\t2005-05-03 11:10:32.000000000 -0700\n@@ -1,16 +1,17 @@\n-Name: \t\tgit\n-Version: \t0.7\n+Name: \t\tcogito\n+Version: \t0.8\n Release: \t1\n Vendor: \tPetr Baudis <pasky@ucw.cz>\n Summary:  \tGit core and tools\n License: \tGPL\n Group: \t\tDevelopment/Tools\n-URL: \t\thttp://pasky.or.cz/~pasky/dev/git/\n-Source: \thttp://pasky.or.cz/~pasky/dev/git/%{name}-pasky-%{version}.tar.bz2\n-Provides: \tgit = %{version}\n-BuildRequires:\tzlib-devel openssl-devel\n+URL: \t\thttp://kernel.org/pub/software/scm/cogito/\n+Source: \thttp://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.bz2\n+Provides: \tcogito = %{version}\n+Obsoletes:\tgit\n+BuildRequires:\tzlib-devel, openssl-devel, curl-devel\n BuildRoot:\t%{_tmppath}/%{name}-%{version}-root\n-Prereq: \tsh-utils diffutils\n+Prereq: \tsh-utils, diffutils, rsync, rcs, mktemp >= 1.5\n \n %description\n GIT comes in two layers. The bottom layer is merely an extremely fast\n@@ -20,7 +21,7 @@ enables human beings to work with the da\n similar to other SCM tools (like CVS, BitKeeper or Monotone).\n \n %prep\n-%setup -q -n %{name}-pasky-%{version}\n+%setup -q -n %{name}-%{version}\n \n %build\n \n@@ -28,17 +29,19 @@ make\n \n %install\n rm -rf $RPM_BUILD_ROOT\n-make DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local install\n+make DESTDIR=$RPM_BUILD_ROOT prefix=/usr/ install\n \n %clean\n rm -rf $RPM_BUILD_ROOT\n \n %files\n %defattr(-,root,root)\n-/usr/local/bin/*\n-#%{_mandir}/*/*\n+/usr/bin/*\n \n %changelog\n+* Mon Apr 25 2005 Chris Wright <chrisw@osdl.org> 0.8-1\n+- Update to cogito, rename package, move to /usr/bin, update prereqs\n+\n * Mon Apr 25 2005 Chris Wright <chrisw@osdl.org> 0.7-1\n - Update to 0.7\n \n"},{"id":"2494","messageId":"20050503183325.GO18917@shell0.pdx.osdl.net","threadId":"459","inReplyTo":"20050503183211.GN18917@shell0.pdx.osdl.net","subject":"[PATCH 3/3] cogito spec file 0.8-2","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-05-03T18:33:25Z","receivedAt":"2005-05-03T18:33:25Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"Some small additions to the cogito spec file:\n\n o include some documentation\n o use %{_prefix} macro\n o drop -n from %setup macro\n\n(chrisw: dropped spec file rename)\n\nSigned-off-by: Terje Rosten <terje.rosten@ntnu.no>\nSigned-off-by: Chris Wright <chrisw@osdl.org>\n\n--- cogito/git.spec~0.8-1\t2005-05-03 11:02:28.000000000 -0700\n+++ cogito/git.spec\t2005-05-03 11:10:32.000000000 -0700\n@@ -1,6 +1,6 @@\n Name: \t\tcogito\n Version: \t0.8\n-Release: \t1\n+Release: \t2\n Vendor: \tPetr Baudis <pasky@ucw.cz>\n Summary:  \tGit core and tools\n License: \tGPL\n@@ -21,7 +21,7 @@ enables human beings to work with the da\n similar to other SCM tools (like CVS, BitKeeper or Monotone).\n \n %prep\n-%setup -q -n %{name}-%{version}\n+%setup -q\n \n %build\n \n@@ -29,7 +29,7 @@ make\n \n %install\n rm -rf $RPM_BUILD_ROOT\n-make DESTDIR=$RPM_BUILD_ROOT prefix=/usr/ install\n+make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install\n \n %clean\n rm -rf $RPM_BUILD_ROOT\n@@ -37,8 +37,14 @@ rm -rf $RPM_BUILD_ROOT\n %files\n %defattr(-,root,root)\n /usr/bin/*\n+%doc README README.reference COPYING Changelog\n \n %changelog\n+* Wed Apr 27 2005 Terje Rosten <terje.rosten@ntnu.no> 0.8-2\n+- Doc files\n+- Use %%{_prefix} macro\n+- Drop -n option to %%setup macro\n+\n * Mon Apr 25 2005 Chris Wright <chrisw@osdl.org> 0.8-1\n - Update to cogito, rename package, move to /usr/bin, update prereqs\n \n"},{"id":"2503","messageId":"20050503193536.GE5324@shell0.pdx.osdl.net","threadId":"459","inReplyTo":"20050503182850.GL18917@shell0.pdx.osdl.net","subject":"Re: [PATCH 0/3] cogito spec file updates","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-05-03T19:35:36Z","receivedAt":"2005-05-03T19:35:36Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"* Chris Wright (chrisw@osdl.org) wrote:\n> Here's the outstanding updates for the spec file, up to 0.8-2 which is\n> the latest on kernel.org.\n> \n> \thttp://www.kernel.org/pub/software/scm/cogito/RPMS/\n\nWhat's your method for creating a release tarball?  If it were formalized\n(i.e. Makefile rule), then it'd be simple to use VERSION to drive the\nspec file, and it'd only need updating for real content changes (similar\nto what Kay did).\n\nthanks,\n-chris\n"},{"id":"2525","messageId":"20050503212142.GB15995@pasky.ji.cz","threadId":"459","inReplyTo":"20050503193536.GE5324@shell0.pdx.osdl.net","subject":"Re: [PATCH 0/3] cogito spec file updates","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-05-03T21:21:43Z","receivedAt":"2005-05-03T21:21:43Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Tue, May 03, 2005 at 09:35:36PM CEST, I got a letter\nwhere Chris Wright <chrisw@osdl.org> told me that...\n> * Chris Wright (chrisw@osdl.org) wrote:\n> > Here's the outstanding updates for the spec file, up to 0.8-2 which is\n> > the latest on kernel.org.\n> > \n> > \thttp://www.kernel.org/pub/software/scm/cogito/RPMS/\n> \n> What's your method for creating a release tarball?  If it were formalized\n> (i.e. Makefile rule), then it'd be simple to use VERSION to drive the\n> spec file, and it'd only need updating for real content changes (similar\n> to what Kay did).\n\nFor now, I do it so seldom that I just manually do\n\n\tcg-log >Changelog\n\tcg-export ~/cogito-0.9\n\tcp Changelog ~/cogito-0.9\n\tcd ~\n\ttar cvvfz cogito-0.9.tar.gz cogito-0.9\n\nOTOH, I'd like to change this all to just\n\n\tcg-export ~/cogito-0.9.tar.gz\n\nwhen I get to merge the relevant patches; I'm not sure there is so much\nof a value to bundle the Changelog; just get the git tree and do cg-log\non your own, or use the web interface.\n\nI might however have some private mkrelease.sh script which would do\n\n\techo \"$1\" >VERSION\n\tupdate-spec-file\n\techo \"$1\" | cg-commit\n\tcg-tag \"$1\"\n\nor something.\n\n\nBTW, did you have a particular reason to split the .spec file updates to\nthree parts? I think it doesn't make much sense and it'd be probably\nenough to update it at once, when we are not doing it at the right time\nanyway.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"},{"id":"2528","messageId":"20050503213216.GF5324@shell0.pdx.osdl.net","threadId":"459","inReplyTo":"20050503212142.GB15995@pasky.ji.cz","subject":"Re: [PATCH 0/3] cogito spec file updates","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-05-03T21:32:16Z","receivedAt":"2005-05-03T21:32:16Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"* Petr Baudis (pasky@ucw.cz) wrote:\n> Dear diary, on Tue, May 03, 2005 at 09:35:36PM CEST, I got a letter\n> where Chris Wright <chrisw@osdl.org> told me that...\n> > * Chris Wright (chrisw@osdl.org) wrote:\n> > > Here's the outstanding updates for the spec file, up to 0.8-2 which is\n> > > the latest on kernel.org.\n> > > \n> > > \thttp://www.kernel.org/pub/software/scm/cogito/RPMS/\n> > \n> > What's your method for creating a release tarball?  If it were formalized\n> > (i.e. Makefile rule), then it'd be simple to use VERSION to drive the\n> > spec file, and it'd only need updating for real content changes (similar\n> > to what Kay did).\n> \n> For now, I do it so seldom that I just manually do\n> \n> \tcg-log >Changelog\n> \tcg-export ~/cogito-0.9\n> \tcp Changelog ~/cogito-0.9\n> \tcd ~\n> \ttar cvvfz cogito-0.9.tar.gz cogito-0.9\n> \n> OTOH, I'd like to change this all to just\n> \n> \tcg-export ~/cogito-0.9.tar.gz\n> \n> when I get to merge the relevant patches; I'm not sure there is so much\n> of a value to bundle the Changelog; just get the git tree and do cg-log\n> on your own, or use the web interface.\n> \n> I might however have some private mkrelease.sh script which would do\n> \n> \techo \"$1\" >VERSION\n> \tupdate-spec-file\n> \techo \"$1\" | cg-commit\n> \tcg-tag \"$1\"\n> \n> or something.\n\nIf you had a Makefile target like the one Mark Allen just posted, would\nyou use that?  I'd simply add a git.spec: rule, and have git.spec built\nas a dependency for tarball.\n\n> BTW, did you have a particular reason to split the .spec file updates to\n> three parts? I think it doesn't make much sense and it'd be probably\n> enough to update it at once, when we are not doing it at the right time\n> anyway.\n\nJust because that's how I had them locally, and it keeps the file\nrevision history intact (I don't mind how you prefer to pull them in).\n\nthanks,\n-chris\n"}]}