Update cogito.spec.in
PATCH 1/1 Update cogito.spec.in
Latest updates to cogito.spec.in generated from review for Fedora Extras.
---
cogito.spec.in | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-)
e0ca49e6c375a68b3e4b3edfff752fef2cf585f6
cogito.spec.in +12 -6
@@ -1,15 +1,14 @@ Name: cogito Version: @@VERSION@@ Release: 1 -Vendor: Petr Baudis <[email protected]> Summary: The Cogito Version Control System License: GPL Group: Development/Tools URL: http://kernel.org/pub/software/scm/cogito/ Source: http://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5, git-core >= 0.99.3 -BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: git-core >= 0.99.3 +BuildArch: noarch %description Cogito is a version control system layered on top of the git tree history
@@ -34,11 +33,18 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* -%dir /usr/lib/cogito -/usr/lib/cogito/* +%dir %{_libdir}/cogito +%{_libdir}/cogito/* %doc README COPYING Documentation/* %changelog +* Thu Sep 15 2005 Chris Wright <[email protected]> 0.14.1-1 +- Update to 0.14.1 + +* Mon Aug 15 2005 Chris Wright <[email protected]> 0.13-3 +- Update Buildroot, Requires and drop Vendor +- use %{_libdir} + * Wed Aug 10 2005 Pavel Roskin <[email protected]> 0.13-1 - Update summary and description - Make architecture-independent
Dear diary, on Fri, Sep 16, 2005 at 08:47:24AM CEST, I got a letter where Chris Wright <[email protected]> told me that...
Quoted 10 lines
e0ca49e6c375a68b3e4b3edfff752fef2cf585f6cogito.spec.in +0
-1@@ -1,15 +1,14 @@ Name: cogito Version: @@VERSION@@ Release: 1 -Vendor: Petr Baudis <[email protected]> Summary: The Cogito Version Control System
cogito.spec.in line 11
Quoted 10 lines
cogito.spec.in +3
-3License: GPL Group: Development/Tools URL: http://kernel.org/pub/software/scm/cogito/ Source: http://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5, git-core >= 0.99.3 -BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: git-core >= 0.99.3 +BuildArch: noarch
Why did you remove all the stuff from Requires? They actually are ending up adding even trivial stuff like less to it in GIT.
Signature · 4 lines
Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox
Quoted 17 lines · * Petr Baudis ([email protected]) wrote:
Dear diary, on Fri, Sep 16, 2005 at 08:47:24AM CEST, I got a letter where Chris Wright <[email protected]> told me that...
Quoted 15 lines
e0ca49e6c375a68b3e4b3edfff752fef2cf585f6cogito.spec.in +0
-2@@ -1,15 +1,14 @@ Name: cogito Version: @@VERSION@@ Release: 1 -Vendor: Petr Baudis <[email protected]> Summary: The Cogito Version Control System License: GPL Group: Development/Tools URL: http://kernel.org/pub/software/scm/cogito/ Source: http://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root
Quoted 8 lines
cogito.spec.in line 11
Quoted 5 lines
cogito.spec.in +3
-2-Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5, git-core >= 0.99.3 -BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: git-core >= 0.99.3 +BuildArch: noarchWhy did you remove all the stuff from Requires? They actually are ending up adding even trivial stuff like less to it in GIT.
Primary reason is it now requires git, which has those prereqs.
thanks,
-chris
Quoted 3 lines · Chris Wright
Quoted 2 lines · * Petr Baudis ([email protected]) wrote:
Dear diary, on Fri, Sep 16, 2005 at 08:47:24AM CEST, I got a letter where Chris Wright <[email protected]> told me that...
[...]
Quoted 11 lines
Quoted 9 lines
cogito.spec.in line 11
Quoted 6 lines
cogito.spec.in +3
-3-BuildRoot: %{_tmppath}/%{name}-%{version}-root -Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5, git-core >= 0.99.3 -BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: git-core >= 0.99.3 +BuildArch: noarchWhy did you remove all the stuff from Requires? They actually are ending up adding even trivial stuff like less to it in GIT.
Primary reason is it now requires git, which has those prereqs.
It might be useful to say so in a comment.
Signature · 4 lines
Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
PATCH 1/1 Update cogito.spec.in
Quoted 1 line · * Horst von Brand ([email protected]) wrote:
It might be useful to say so in a comment.
Fair point.
thanks,
-chris
--
Update cogito.spec.in from feedback given during Fedora Extras review.
- update Buildroot to be more specific
- reduce Requires to git-core only (which must already satisfy the other reqs)
- drop Vendor
- use %{_libdir} macro
---
cogito.spec.in | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-)
e0ca49e6c375a68b3e4b3edfff752fef2cf585f6
cogito.spec.in +12 -6
@@ -1,15 +1,14 @@ Name: cogito Version: @@VERSION@@ Release: 1 -Vendor: Petr Baudis <[email protected]> Summary: The Cogito Version Control System License: GPL Group: Development/Tools URL: http://kernel.org/pub/software/scm/cogito/ Source: http://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5, git-core >= 0.99.3 -BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: git-core >= 0.99.3 +BuildArch: noarch %description Cogito is a version control system layered on top of the git tree history
@@ -34,11 +33,18 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* -%dir /usr/lib/cogito -/usr/lib/cogito/* +%dir %{_libdir}/cogito +%{_libdir}/cogito/* %doc README COPYING Documentation/* %changelog +* Thu Sep 15 2005 Chris Wright <[email protected]> 0.14.1-1 +- Update to 0.14.1 + +* Mon Aug 15 2005 Chris Wright <[email protected]> 0.13-3 +- Update Buildroot, Requires and drop Vendor +- use %{_libdir} + * Wed Aug 10 2005 Pavel Roskin <[email protected]> 0.13-1 - Update summary and description - Make architecture-independent
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 cogito: Fix rpm build for 64bit platforms
When building last update on 64bit machine, I realized the _libdir change breaks the rpm build there. This fixes up the issue by ensuring the libdir %install target is same as %files target.
--- cogito.spec.in | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-)
cogito.spec.in +4 -1
@@ -25,7 +25,7 @@ make %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install +make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} libdir=%{_libdir}/cogito install %clean rm -rf $RPM_BUILD_ROOT
@@ -38,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT %doc README COPYING Documentation/* %changelog +* Fri Sep 16 2005 Chris Wright <[email protected]> 0.14.1-2 +- fix _libdir breakage on 64-bit, the irony... + * Thu Sep 15 2005 Chris Wright <[email protected]> 0.14.1-1 - Update to 0.14.1
Quoted 1 line · Chris Wright
Primary reason is it now requires git, which has those prereqs.
Which I fully agree with.
Could you help me to modernize the git-core.spec.in? I cannot even tell if it needs any fix (I am not an RPM guy), but I suspect dropping Vendor: may apply to git-core as well.
Quoted 9 lines · * Junio C Hamano ([email protected]) wrote:
Quoted 1 line · Chris Wright
Primary reason is it now requires git, which has those prereqs.
Which I fully agree with.
Could you help me to modernize the git-core.spec.in? I cannot even tell if it needs any fix (I am not an RPM guy), but I suspect dropping Vendor: may apply to git-core as well.
Yes, I'm actually working on that ATM. Update will follow shortly.
thanks,
-chris