Re: New directive for %files section (%exclude)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, 14 September 2007, at 10:15:05 (-0600),
Dmitry S. Makovey wrote:

> for that there is this:
> 
> %files -f all_but_mysql
> 
> %files mysql
> %{_libexecdir}/mod_sql_mysql.so

There is also %exclude.

> where all_but_mysql could be built using:
> 
> find $RPM_BUILD_ROOT | \
>  grep -v mod_sql_mysql | \
>  sed -e 's#'$RPM_BUILD_ROOT'##g' > all_but_mysql
> 
> it works without overcomplicating things with "exclude".

How on earth do you imagine all that mess is better than one simple
%exclude directive.  The method you suggest is the overcomplication,
not the other way around.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@xxxxxxxxx>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I don't know where you came from, but I know you got out climbing a
  ladder made out of those command lines.  You figure computer code
  saved your life, and maybe it did.  But somewhere along the line
  you've got to let people back in.  Otherwise you're just numbers
  and hate."                    -- Mark-Paul Gosselaar, "Hyperion Bay"

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux