{"thread":{"id":"548","subject":"[PATCH Cogito] .spec file update","startedAt":"2005-05-09T14:12:31Z","lastAt":"2005-05-09T14:37:50Z","messageCount":2,"participants":["H. Peter Anvin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"2878","messageId":"427F6FCF.9090109@orionmulti.com","threadId":"548","inReplyTo":null,"subject":"[PATCH Cogito] .spec file update","fromName":"H. Peter Anvin","fromEmail":"hpa@orionmulti.com","sentAt":"2005-05-09T14:12:31Z","receivedAt":"2005-05-09T14:12:31Z","isPatch":true,"sender":{"key":"hpa@orionmulti.com","avatar":null},"body":"This patch updates the spec file to match Cogito 0.10, and changes its \nname to cogito.spec.\n\nIt would be *really* appreciated if \"make cogito.spec\" could be made \npart of the release procedure so it's included in the tarballs.\n\n[ChrisW: we need this, so I'm going to take the liberty of uploading the \n  corresponding RPM.]\n\n\t-hpa\n\nSigned-off-by: H. Peter Anvin <hpa@zytor.com>\n\n\nIndex: Makefile\n===================================================================\n--- 3974261da777f55a7a11aff6e02f584bbfe2b475/Makefile  (mode:100644)\n+++ 23305c6f40abf5723f28f7ec79a8cdf3ada78f6e/Makefile  (mode:100644)\n@@ -125,7 +125,7 @@\n \t@chmod +x $@\n endif\n \n-git.spec: git.spec.in $(VERSION)\n+cogito.spec: cogito.spec.in $(VERSION)\n \tsed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d\"-\" -f2)/g' < $< > $@\n \n \n@@ -155,5 +155,8 @@\n clean:\n \trm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)\n \n+distclean: clean\n+\tfind . -name \\*~ -print0 | xargs -0rt rm -f\n+\n backup: clean\n \tcd .. ; tar czvf dircache.tar.gz dir-cache\nIndex: cogito.spec.in\n===================================================================\n--- /dev/null  (tree:3974261da777f55a7a11aff6e02f584bbfe2b475)\n+++ 23305c6f40abf5723f28f7ec79a8cdf3ada78f6e/cogito.spec.in  (mode:100644)\n@@ -0,0 +1,61 @@\n+Name: \t\tcogito\n+Version: \t@@VERSION@@\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://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, rsync, rcs, mktemp >= 1.5\n+\n+%description\n+GIT comes in two layers. The bottom layer is merely an extremely fast\n+and flexible filesystem-based database designed to store directory trees\n+with regard to their history. The top layer is a SCM-like tool which\n+enables human beings to work with the database in a manner to a degree\n+similar to other SCM tools (like CVS, BitKeeper or Monotone).\n+\n+%prep\n+%setup -q\n+\n+%build\n+\n+make\n+\n+%install\n+rm -rf $RPM_BUILD_ROOT\n+make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install\n+\n+%clean\n+rm -rf $RPM_BUILD_ROOT\n+\n+%files\n+%defattr(-,root,root)\n+/usr/bin/*\n+/usr/lib/cogito\n+%doc README COPYING Documentation/*\n+\n+%changelog\n+* Mon May 9 2005 H. Peter Anvin <hpa@zytor.com> 0.10-1\n+- New upstream revision\n+- Rename spec file to cogito.spec\n+\n+* Wed Apr 27 2005 Terje Rosten <terje.rosten@ntnu.no> 0.8-2\n+- Doc files\n+- Use %%{_prefix} macro\n+- Rename spec file\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+* 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\nIndex: git.spec.in\n===================================================================\n--- 3974261da777f55a7a11aff6e02f584bbfe2b475/git.spec.in  (mode:100644)\n+++ /dev/null  (tree:23305c6f40abf5723f28f7ec79a8cdf3ada78f6e)\n@@ -1,55 +0,0 @@\n-Name: \t\tcogito\n-Version: \t@@VERSION@@\n-Release: \t2\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://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, rsync, rcs, mktemp >= 1.5\n-\n-%description\n-GIT comes in two layers. The bottom layer is merely an extremely fast\n-and flexible filesystem-based database designed to store directory trees\n-with regard to their history. The top layer is a SCM-like tool which\n-enables human beings to work with the database in a manner to a degree\n-similar to other SCM tools (like CVS, BitKeeper or Monotone).\n-\n-%prep\n-%setup -q\n-\n-%build\n-\n-make\n-\n-%install\n-rm -rf $RPM_BUILD_ROOT\n-make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install\n-\n-%clean\n-rm -rf $RPM_BUILD_ROOT\n-\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-* 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":"2880","messageId":"427F75BE.8000602@orionmulti.com","threadId":"548","inReplyTo":"20050509141940.GP87309@mmj.dk","subject":"Re: [PATCH Cogito] .spec file update","fromName":"H. Peter Anvin","fromEmail":"hpa@orionmulti.com","sentAt":"2005-05-09T14:37:50Z","receivedAt":"2005-05-09T14:37:50Z","isPatch":true,"sender":{"key":"hpa@orionmulti.com","avatar":null},"body":"Mads Martin Joergensen wrote:\n> * H. Peter Anvin <hpa@orionmulti.com> [May 09. 2005 16:14]:\n> \n>>+Provides: \tcogito = %{version}\n> \n> This provides is not necessary, rpm will figure this out by itself.\n> \n\nEh, right.  That shouldn't have been there.\n\nUpdate included.\n\n\t-hpa\n\n\nIndex: Makefile\n===================================================================\n--- 3974261da777f55a7a11aff6e02f584bbfe2b475/Makefile  (mode:100644)\n+++ d486ada2c4c7abf6bc32bed730e18f46f9dc6cd2/Makefile  (mode:100644)\n@@ -125,7 +125,7 @@\n \t@chmod +x $@\n endif\n \n-git.spec: git.spec.in $(VERSION)\n+cogito.spec: cogito.spec.in $(VERSION)\n \tsed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d\"-\" -f2)/g' < $< > $@\n \n \n@@ -155,5 +155,8 @@\n clean:\n \trm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)\n \n+distclean: clean\n+\tfind . -name \\*~ -print0 | xargs -0rt rm -f\n+\n backup: clean\n \tcd .. ; tar czvf dircache.tar.gz dir-cache\nIndex: cogito.spec.in\n===================================================================\n--- /dev/null  (tree:3974261da777f55a7a11aff6e02f584bbfe2b475)\n+++ d486ada2c4c7abf6bc32bed730e18f46f9dc6cd2/cogito.spec.in  (mode:100644)\n@@ -0,0 +1,60 @@\n+Name: \t\tcogito\n+Version: \t@@VERSION@@\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://kernel.org/pub/software/scm/cogito/\n+Source: \thttp://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.bz2\n+Obsoletes:\tgit\n+BuildRequires:\tzlib-devel, openssl-devel, curl-devel\n+BuildRoot:\t%{_tmppath}/%{name}-%{version}-root\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+and flexible filesystem-based database designed to store directory trees\n+with regard to their history. The top layer is a SCM-like tool which\n+enables human beings to work with the database in a manner to a degree\n+similar to other SCM tools (like CVS, BitKeeper or Monotone).\n+\n+%prep\n+%setup -q\n+\n+%build\n+\n+make\n+\n+%install\n+rm -rf $RPM_BUILD_ROOT\n+make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install\n+\n+%clean\n+rm -rf $RPM_BUILD_ROOT\n+\n+%files\n+%defattr(-,root,root)\n+/usr/bin/*\n+/usr/lib/cogito\n+%doc README COPYING Documentation/*\n+\n+%changelog\n+* Mon May 9 2005 H. Peter Anvin <hpa@zytor.com> 0.10-1\n+- New upstream revision\n+- Rename spec file to cogito.spec\n+\n+* Wed Apr 27 2005 Terje Rosten <terje.rosten@ntnu.no> 0.8-2\n+- Doc files\n+- Use %%{_prefix} macro\n+- Rename spec file\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+* 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\nIndex: git.spec.in\n===================================================================\n--- 3974261da777f55a7a11aff6e02f584bbfe2b475/git.spec.in  (mode:100644)\n+++ /dev/null  (tree:d486ada2c4c7abf6bc32bed730e18f46f9dc6cd2)\n@@ -1,55 +0,0 @@\n-Name: \t\tcogito\n-Version: \t@@VERSION@@\n-Release: \t2\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://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, rsync, rcs, mktemp >= 1.5\n-\n-%description\n-GIT comes in two layers. The bottom layer is merely an extremely fast\n-and flexible filesystem-based database designed to store directory trees\n-with regard to their history. The top layer is a SCM-like tool which\n-enables human beings to work with the database in a manner to a degree\n-similar to other SCM tools (like CVS, BitKeeper or Monotone).\n-\n-%prep\n-%setup -q\n-\n-%build\n-\n-make\n-\n-%install\n-rm -rf $RPM_BUILD_ROOT\n-make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install\n-\n-%clean\n-rm -rf $RPM_BUILD_ROOT\n-\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-* 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"}]}