Go to file
Alexey Tourbin b842bf5b4a files.c (addFile): file path must match buildroot
Sample %files section:

%files
/../gcc-common-buildroot

Old behaviour:
$ rpm -bb test.spec
...
Wrote: /home/at/RPM/RPMS/athlon/test-1.0-alt1.athlon.rpm
$ rpm -qlvp /home/at/RPM/RPMS/athlon/test-1.0-alt1.athlon.rpm |head
drwxr-xr-x    2 root    root                0 Mar 22 22:20 ldroot
-rw-r--r--    1 root    root               73 Mar 22 22:20 ldroot/.files:gcc-c++-common
-rw-r--r--    1 root    root              508 Mar 22 22:20 ldroot/.files:gcc-common
-rw-r--r--    1 root    root              147 Mar 22 22:20 ldroot/.files:gcc-fortran-common
-rw-r--r--    1 root    root              348 Mar 22 22:20 ldroot/.files:gcc-java-common
-rw-r--r--    1 root    root               66 Mar 22 22:20 ldroot/.files:gcc-treelang-common
-rw-r--r--    1 root    root              117 Mar 22 22:20 ldroot/.files:libgcj-common
-rwxr-xr-x    1 root    root               80 Mar 22 22:20 ldroot/.post:gcc-common
-rwxr-xr-x    1 root    root              124 Mar 22 22:20 ldroot/.preun:gcc-common
drwxr-xr-x    2 root    root                0 Mar 22 22:20 ldroot/etc
$

New behaviour:
$ LD_LIBRARY_PATH=... rpm -bl test.spec
Processing files: test-1.0-alt1
error: File doesn't match buildroot (/tmp/.private/at/test-buildroot): /tmp/.private/at/gcc-common-buildroot

RPM build errors:
    File doesn't match buildroot (/tmp/.private/at/test-buildroot): /tmp/.private/at/gcc-common-buildroot
$
2008-03-25 04:09:52 +03:00
autodeps autodeps/linux.{prov,req}.in: Handle files of type "Mono/.Net assembly" (#11088, ildar@) 2007-03-17 19:59:55 +00:00
build files.c (addFile): file path must match buildroot 2008-03-25 04:09:52 +03:00
doc gendiff.1: added OPTIONS (copied from ls.1.gz) 2007-01-24 21:51:45 +03:00
lib lib/query.c (showQueryPackage): Fix potential null dereference in QUERY_FOR_DEFAULT mode 2007-05-18 00:54:19 +00:00
po GROUPS: Add "System/Legacy libraries" (ALT#12629) 2007-08-25 15:35:20 +00:00
python 4.0.4-alt66 2006-05-14 18:21:28 +04:00
rpmdb rpmdb/header.c (guess_category_value): Allow overriding locale using $RPM_LANGUAGE_I18NSTRING for headerFindI18NString 2007-06-22 11:14:39 +00:00
rpmio rpmio/macro.c (doFoo): Fix potential buffer overflow in %homedir macro processing 2007-04-11 18:18:01 +00:00
scripts Do not check STACK entry in ARM ELF files 2007-11-10 13:26:44 +00:00
tests Removed cvsid tags. 2006-05-14 17:05:34 +04:00
tools relative: Fix potential NULL dereference (ALT#14067) 2008-01-17 18:12:23 +00:00
.cvsignore re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
.gear-rules 4.0.4-alt66 2006-05-14 18:21:28 +04:00
.lclintrc re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
ABOUT-NLS Initial revision 2002-03-25 20:16:26 +00:00
build.c build.c (buildForTarget): Pass --wildcards to tar on build from tarball (RH#206841) 2007-08-12 10:31:25 +00:00
build.h Initial revision 2002-03-25 20:16:26 +00:00
CHANGES assorted backports from 4_0-20030325 2004-02-29 14:14:02 +00:00
config.site Initial revision 2002-03-25 20:16:26 +00:00
configure.in Refresh ARM support 2007-11-10 13:26:45 +00:00
COPYING Initial revision 2002-03-25 20:16:26 +00:00
CREDITS Initial revision 2002-03-25 20:16:26 +00:00
debug.h Initial revision 2002-03-25 20:16:26 +00:00
Doxyfile.in sync with rpm4 branch: removed popt entries 2002-03-25 20:41:48 +00:00
Doxyheader Initial revision 2002-03-25 20:16:26 +00:00
gendiff gendiff: I guess "||" is somewhat better than "&&" (at least two bytes shorter!) 2007-01-25 00:32:34 +03:00
GROUPS GROUPS: Add "System/Legacy libraries" (ALT#12629) 2007-08-25 15:35:20 +00:00
INSTALL sync with rpm4 branch: s/redhat/RPM/g 2002-03-25 20:44:16 +00:00
install-sh Initial revision 2002-03-25 20:16:26 +00:00
installplatform Add armv5tejl support 2007-11-10 13:26:47 +00:00
macros.in Add armv5tejl support 2007-11-10 13:26:47 +00:00
Makefile.am Link rpm.static with -pthread. 2006-11-17 00:01:44 +00:00
missing updated code to snapshot 2002-06-15 of 4_0 branch 2002-08-03 16:35:14 +00:00
mkinstalldirs Removed cvsid tags. 2006-05-14 17:05:34 +04:00
platform.in platform.in (%__autoreconf): Add deprecation warning 2008-01-07 22:44:30 +00:00
README Initial revision 2002-03-25 20:16:26 +00:00
README.ALT-ru_RU.KOI8-R platform.in: Change %optflags_kernel to %nil 2006-12-18 17:00:44 +00:00
README.amiga Initial revision 2002-03-25 20:16:26 +00:00
rpm2cpio.c return proper exit code 2003-05-01 12:19:59 +00:00
rpm-4_0.spec spec: removed 'BuildConflicts: rpm-devel' (checked with buildreq) 2008-03-25 03:27:37 +03:00
rpm-build.buildreq added rpm-build buildreq filter 2002-10-02 08:35:16 +00:00
RPM-GPG-KEY Initial revision 2002-03-25 20:16:26 +00:00
RPM-PGP-KEY Initial revision 2002-03-25 20:16:26 +00:00
rpm.magic Initial revision 2002-03-25 20:16:26 +00:00
rpm.spec.in Added pentium4 arch support (Raorn, #5259) 2004-10-31 19:08:39 +00:00
rpminit Removed cvsid tags. 2006-05-14 17:05:34 +04:00
rpminit.1 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
rpmpopt.in Removed cvsid tags. 2006-05-14 17:05:34 +04:00
rpmqv.c rpmqv.c (main): Make "nice change" value configurable via %nice_change macro; change default "nice change" value from 10 to 8 2007-02-23 00:12:39 +00:00
rpmrc.in Add armv5tejl support 2007-11-10 13:26:47 +00:00
system.h fixed compilation warnings 2003-11-24 18:59:03 +00:00
TODO Initial revision 2002-03-25 20:16:26 +00:00

This is RPM, the Red Hat Package Manager.

The latest releases are always available at:

	ftp://ftp.rpm.org/pub/rpm

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site, as well as http://www.rpm.org.

There is a mailing list for discussion of RPM issues, rpm-list@redhat.com.
To subscribe, send a message to rpm-list-request@redhat.com with the word
"subscribe" in the subject line.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).