# [PATCH] Update cogito.spec.in

5 messages from 2005-09-16 to 2005-09-16. Participants: Chris Wright, Petr Baudis, Junio C Hamano.
Thread: https://gitlist.dev/t/1820

## Chris Wright, 2005-09-16 06:47

Subject: [PATCH] Update cogito.spec.in
Message-ID: <20050916064720.GI8041@shell0.pdx.osdl.net>
URL: https://gitlist.dev/e/20050916064720.GI8041%40shell0.pdx.osdl.net

```
Latest updates to cogito.spec.in generated from review for Fedora Extras.

Signed-off-by: Chris Wright <chrisw@osdl.org>

---

 cogito.spec.in |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

e0ca49e6c375a68b3e4b3edfff752fef2cf585f6
diff --git a/cogito.spec.in b/cogito.spec.in
--- a/cogito.spec.in
+++ b/cogito.spec.in
@@ -1,15 +1,14 @@
 Name: 		cogito
 Version: 	@@VERSION@@
 Release: 	1
-Vendor: 	Petr Baudis <pasky@suse.cz>
 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 <chrisw@osdl.org> 0.14.1-1
+- Update to 0.14.1
+
+* Mon Aug 15 2005 Chris Wright <chrisw@osdl.org> 0.13-3
+- Update Buildroot, Requires and drop Vendor
+- use %{_libdir}
+
 * Wed Aug 10 2005 Pavel Roskin <proski@gnu.org> 0.13-1
 - Update summary and description
 - Make architecture-independent

```

## Petr Baudis, 2005-09-16 11:06

Subject: Re: [PATCH] Update cogito.spec.in
Message-ID: <20050916110605.GC25169@pasky.or.cz>
URL: https://gitlist.dev/e/20050916110605.GC25169%40pasky.or.cz
In-Reply-To: <20050916064720.GI8041@shell0.pdx.osdl.net>

```
Dear diary, on Fri, Sep 16, 2005 at 08:47:24AM CEST, I got a letter
where Chris Wright <chrisw@osdl.org> told me that...
> e0ca49e6c375a68b3e4b3edfff752fef2cf585f6
> diff --git a/cogito.spec.in b/cogito.spec.in
> --- a/cogito.spec.in
> +++ b/cogito.spec.in
> @@ -1,15 +1,14 @@
>  Name: 		cogito
>  Version: 	@@VERSION@@
>  Release: 	1
> -Vendor: 	Petr Baudis <pasky@suse.cz>
>  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

Why did you remove all the stuff from Requires? They actually are ending
up adding even trivial stuff like less to it in GIT.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox

```

## Chris Wright, 2005-09-16 15:46

Subject: Re: [PATCH] Update cogito.spec.in
Message-ID: <20050916154631.GJ8041@shell0.pdx.osdl.net>
URL: https://gitlist.dev/e/20050916154631.GJ8041%40shell0.pdx.osdl.net
In-Reply-To: <20050916110605.GC25169@pasky.or.cz>

```
* Petr Baudis (pasky@suse.cz) wrote:
> Dear diary, on Fri, Sep 16, 2005 at 08:47:24AM CEST, I got a letter
> where Chris Wright <chrisw@osdl.org> told me that...
> > e0ca49e6c375a68b3e4b3edfff752fef2cf585f6
> > diff --git a/cogito.spec.in b/cogito.spec.in
> > --- a/cogito.spec.in
> > +++ b/cogito.spec.in
> > @@ -1,15 +1,14 @@
> >  Name: 		cogito
> >  Version: 	@@VERSION@@
> >  Release: 	1
> > -Vendor: 	Petr Baudis <pasky@suse.cz>
> >  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
> 
> Why 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

```

## Junio C Hamano, 2005-09-16 18:04

Subject: Re: [PATCH] Update cogito.spec.in
Message-ID: <7vr7bonb25.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vr7bonb25.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20050916154631.GJ8041@shell0.pdx.osdl.net>

```
Chris Wright <chrisw@osdl.org> writes:

> 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.

```

## Chris Wright, 2005-09-16 18:09

Subject: Re: [PATCH] Update cogito.spec.in
Message-ID: <20050916180905.GL8041@shell0.pdx.osdl.net>
URL: https://gitlist.dev/e/20050916180905.GL8041%40shell0.pdx.osdl.net
In-Reply-To: <7vr7bonb25.fsf@assigned-by-dhcp.cox.net>

```
* Junio C Hamano (junkio@cox.net) wrote:
> Chris Wright <chrisw@osdl.org> writes:
> 
> > 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

```
