Re: [Cooker] Re: Re: Requires & Provides on -devel packages (Continued)

2003-03-25 Thread Per Øyvind Karlsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 26 March 2003 00:28, David Walser wrote:
> Buchan Milne wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Stefan van der Eijk wrote:
> >> On Topic:
> >> Is there a way to exclude files from a %files list? Quite some of these
> >> duplicate because for instance the files for the icewm-light theme is
> >> also included in icewm. Would be nice if these files can excluded from a
> >> job.
> >>
> >> %files -n package1
> >> %{_bindir}/* !%{_binddir}/dont_want_this_here
> >>
> >> %files -n package1
> >> %{_binddir}/dont_want_this_here
> >>
> >> to avoid duplication = save ISO space.
> >
> > %exclude?
> > %files -n package1
> > %{_bindir}/*
> > %exclude %{_binddir}/dont_want_this_here
> >
> > Regards,
> > Buchan
>
> Is that just how you'd want the syntax to look, or is that an actual
> currently working possibility?
>
> If there was some such functionality, I could add one more popular plugin
> to my SquirrelMail package.
I did something like this which where partially working in the dsniff 
package..

%defattr(-,root,root)
%doc CHANGES README TODO
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_sbindir}/*[!webspy]
#have to manually add these two to the list, don't ask me *why*, but if not, 
it won't be included
%{_sbindir}/tcpnice
%{_sbindir}/sshow
%{_mandir}/man8/*[!webspy]

%files webspy
%defattr(-,root,root)
%{_sbindir}/webspy
%{_mandir}/man8/webspy.8*

- -- 
Regards,
Per Øyvind Karlsen
Sintrax Solutions
http://www.sintrax.net - +47 41681061
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+gP3iv8F7V9JOSuURAoOGAJ4uxZM/NL8vszCYy0rHcYX5EhMwogCfc0Lb
4d8GF0EYEixSlqbnHG21Cnc=
=3drS
-END PGP SIGNATURE-




[Cooker] Re: Re: Requires & Provides on -devel packages (Continued)

2003-03-25 Thread David Walser
Buchan Milne wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Stefan van der Eijk wrote:
> 
>> On Topic:
>> Is there a way to exclude files from a %files list? Quite some of these
>> duplicate because for instance the files for the icewm-light theme is also
>> included in icewm. Would be nice if these files can excluded from a job.
>>
>> %files -n package1
>> %{_bindir}/* !%{_binddir}/dont_want_this_here
>>
>> %files -n package1
>> %{_binddir}/dont_want_this_here
>>
>> to avoid duplication = save ISO space.
>>
> 
> %exclude?
> %files -n package1
> %{_bindir}/*
> %exclude %{_binddir}/dont_want_this_here
> 
> Regards,
> Buchan

Is that just how you'd want the syntax to look, or is that an actual currently working 
possibility?

If there was some such functionality, I could add one more popular plugin to my 
SquirrelMail package.