RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Pinto Elia Root: /v/rpm/cvs Email: devzero2...@rpm5.org Module: rpm Date: 11-Mar-2011 16:59:29 Branch: HEAD Handle: 2011031115592801 Modified files: rpm CHANGES rpm/doc/manual spec Log: document the actual semantic of rpm5 %exclude: for review Summary: Revision Changes Path 1.3569 +1 -0 rpm/CHANGES 1.8 +9 -0 rpm/doc/manual/spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/CHANGES ============================================================================ $ cvs diff -u -r1.3568 -r1.3569 CHANGES --- rpm/CHANGES 9 Mar 2011 15:45:30 -0000 1.3568 +++ rpm/CHANGES 11 Mar 2011 15:59:28 -0000 1.3569 @@ -1,4 +1,5 @@ 5.4.0 -> 5.4.1: + - devzero2000: document the actual semantic of rpm5 %exclude - devzero2000: flip a toy test from the %exclude and check unpackaged file issue - proyvind: check whether provides are duplicate of package first (without distepoch), also ensures that package is always at end of %provideversion. @@ . patch -p0 <<'@@ .' Index: rpm/doc/manual/spec ============================================================================ $ cvs diff -u -r1.7 -r1.8 spec --- rpm/doc/manual/spec 18 Feb 2008 00:40:45 -0000 1.7 +++ rpm/doc/manual/spec 11 Mar 2011 15:59:29 -0000 1.8 @@ -97,6 +97,15 @@ removed when this package is removed. This file is not required to exist at either install or uninstall time. +The %exclude subdirective permit to exclude files and directories +from inclusion in a package (i.e. "everything but"). Its primary use +is to simplify the writing the list of objects in %files when +using subpackage. Note that %exclude is different from a ipotetical +%ignore subattribute: it is always required that the file(s) excluded +but present in buildroot are referenced in some else subpackage %files +section: if this is not what you want then they should be eliminated +from the buildroot in %install. + The %config(noreplace) indicates that the file in the package should be installed with extension .rpmnew if there is already a modified file with the same name on the installed machine. @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org