Commit Graph

300 Commits

Author SHA1 Message Date
Alexey Tourbin
2e8a4a1722 build/files.c: new function hasSomeInstScript(), for diagnostics 2008-01-25 20:49:02 +03:00
Alexey Tourbin
1ceb28dc6e build/files.c: new function saveInstScript(), to find dependencies in %pre/%post/... scriptlets
This is based on the first part of my eariler patch:
https://bugzilla.altlinux.org/show_bug.cgi?id=7409
2008-01-25 20:48:28 +03:00
Alexey Tourbin
8119ee01ac reqprov.c (addReqProv): eliminate dependencies on the package name
perl-base will no longer require 'perl-base >= 1:5.7.3'.
2007-11-23 10:59:39 +03:00
Alexey Tourbin
dee7e797ef reqprov.c (addReqProv): eliminate dependencies on packaged files
Note that this works only for automatic dependencies, because file list
is not ready when specfile dependencies are added.  This is okay.

Also note that this will optimize out directory-like dependencies
if the package owns the directory.  This is yet okay, but this is
a bit more subtle point.
2007-11-22 16:48:30 +03:00
Alexey Tourbin
92093bf1f0 reqprov.c (addReqProv): prepare for more self-requires elimination 2007-11-22 15:28:16 +03:00
86ad8ff400 build/expression.c (doPrimary): Read closing parenthesis, patch from Michael Schroeder 2007-02-23 00:05:37 +00:00
5ed9fe36e1 build/parsePrep.c: Change %setup to enable -q option by default, introduce -v option to make %setup as verbose as before this change. 2006-11-19 00:24:59 +00:00
1e771d2a5a build/parsePrep.c: Change %patch to be more verbose by default, introduce -s option to make %patch as silent as before this change (#10261). 2006-11-19 00:21:38 +00:00
bbddd38759 Removed const from getBuildTime(). 2006-05-15 04:54:03 +04:00
df61ee0b9e Include local headers. 2006-05-15 03:26:57 +04:00
8787ee5d55 Fixed "type qualifiers ignored on function return type" issue. 2006-05-15 02:48:59 +04:00
ed45223b24 Ignore RPMTAG_BUILDROOT completely. 2006-04-03 16:41:43 +00:00
f4d4d3fe83 parseSpec: do not delete _target_cpu macro in PART_BUILDARCHITECTURES parser 2006-02-24 02:40:09 +00:00
b397ca0085 Ignore RPMTAG_BUILDROOT completely. 2006-01-11 13:53:32 +00:00
7c858e2594 parseSpec: in preprocess mode, allow undefined macros 2005-10-25 11:01:42 +00:00
c653aa8345 copyNextLine: set rpmSetBuiltinMacroLookupFailedOK for comments 2005-10-12 23:55:57 +00:00
b23ff9b127 implemented rpmSetBuiltinMacroLookupFailedOK 2005-10-12 23:35:17 +00:00
26dfd3df04 revision 2.55
date: 2004/04/08 20:27:53;  author: niemeyer;  state: Exp;  lines: +2 -1
Implemented multiline macro support.
2005-10-10 14:59:14 +00:00
d1c90ba20f revision 2.98
date: 2004/04/08 20:27:53;  author: niemeyer;  state: Exp;  lines: +41 -3
Implemented multiline macro support.
2005-10-10 12:57:57 +00:00
78ab7cf4b4 revision 2.95
date: 2003/05/15 13:53:41;  author: jbj;  state: Exp;  lines: +3 -1
- fix nested %if handling
2005-10-10 12:50:41 +00:00
7668e35c2e added docdir to tags_files_list 2005-10-10 12:26:34 +00:00
45504c22d2 disabled check for undefined macros in %prep, %build, %install and %clean 2005-10-06 21:06:44 +00:00
d04814401c Fixed rpmBuiltinMacroLookup support 2005-10-06 20:31:10 +00:00
019f77ade6 introduced _allow_undefined_macros 2005-10-06 19:15:36 +00:00
35877f4306 fixed spacing 2005-10-06 18:21:40 +00:00
0b1e0e9ee4 Implemented rpmBuiltinMacroLookup support 2005-10-06 18:21:26 +00:00
17dd47e199 fixed rpmExpand() usage in generateDepends()a 2005-10-06 18:20:37 +00:00
c0a2a76a04 fix readLine() usage 2005-10-06 15:24:35 +00:00
9fcb008b58 fixed rpmExpand() usage 2005-10-06 01:21:27 +00:00
a2f087de09 fixed rpmExpand() usage in fillOutMainPackage() 2005-10-05 23:42:30 +00:00
6a14cbc258 fixed rpmExpand usage 2005-09-29 17:10:24 +00:00
4086557633 fixed rpmExpand usage 2005-09-29 16:01:17 +00:00
8fe647ebd6 corrected rpmExpand usage 2005-09-29 15:50:56 +00:00
ce8ad9b9f0 fix rpmExpandNumeric handling 2005-09-29 15:46:13 +00:00
b59b7dcd44 if AutoReq is disabled, do not add automatic interp deps 2005-08-17 13:48:55 +00:00
a90ad7ec38 parseRCPOT: better error reporting 2004-04-25 10:34:53 +00:00
b098983ecf implemented %_deps_optimization support
addReqProv: implemented old "provided requires" optimization
2004-01-29 13:46:42 +00:00
e6100cca84 indent 2004-01-29 12:57:54 +00:00
a56e2cad60 addReqProv: enhanced duplication elimination algorithm 2004-01-27 14:54:15 +00:00
1ab810455b fixes in duplicates detection algorithm 2004-01-27 12:45:26 +00:00
84c595d9ef parseRCPOT: tokens must not contain '%<=>' symbols - it's common error 2004-01-27 10:56:42 +00:00
f3023c5d3b printDepMsg: enhanced output format a bit 2004-01-27 10:53:38 +00:00
aab4974613 duplicates detection algorithm rewritten 2004-01-26 18:01:37 +00:00
383f52a1a0 addReqProv: optimize rpmRangesOverlap call 2004-01-25 22:26:23 +00:00
562bad0363 addReqProv: in RPMTAG_REQUIRENAME checks, allow RPMTAG_REQUIRENAME 2004-01-25 16:17:03 +00:00
627a1f74b4 optimized recent changes 2004-01-25 10:50:18 +00:00
47e6eacc52 addReqProv: do not add provided requires 2004-01-24 23:31:06 +00:00
f34648ca99 indented 2004-01-24 20:16:41 +00:00
7a2a0b3d61 addReqProv: enhanced duplicates detection algorithm 2004-01-24 19:05:04 +00:00
304991a92b parseRCPOT: Tokens must not contain '%' symbol - it's common error 2004-01-24 14:00:51 +00:00
1cff6d97bc makefiles cleanup1 2003-11-24 20:44:29 +00:00
58e1dad6cc fixed compilation warnings 2003-11-24 18:59:03 +00:00
592d03045b checkFiles(): be more verbose about command being executed 2003-11-08 23:01:40 +00:00
bbbaae5c81 checkFiles(): use %__spec_autodep_template/%__spec_autodep_post 2003-11-08 22:38:11 +00:00
7fbf427f43 made it compileable 2003-11-08 22:29:43 +00:00
e9567d1274 made it compileable 2003-11-08 22:26:24 +00:00
60e3bed786 checkFiles(): use %__spec_install_template/%__spec_install_post 2003-11-08 22:10:34 +00:00
ad5afe3ba5 fixed error reporting 2003-11-08 21:30:11 +00:00
25d07065d2 checkFiles(): use %{___build_cmd} like in generateDepends() 2003-11-08 21:18:06 +00:00
14a7cd51a4 fixed compilation warning 2003-11-08 20:59:59 +00:00
04408005de spelling fixes 2003-11-08 20:50:58 +00:00
8752de9a5f checkFiles: return OK if no files packaged 2003-11-08 20:36:35 +00:00
721a03b360 made it compileable 2003-11-08 20:21:04 +00:00
fe9941aa17 Backported %%_unpackaged_files_terminate_build support. 2003-11-08 20:03:25 +00:00
62c081a169 fixed RPMTAG_SIZE calculation 2003-09-27 15:26:14 +00:00
26732ecd95 packageSources: MkdirP %_srcrpmdir 2003-09-12 17:22:05 +00:00
345b80cf88 disabled icon tag support 2003-07-20 12:51:57 +00:00
2c096c8d3e implemented "rpmbuild -bM" 2003-07-19 20:33:53 +00:00
b8f6611467 processBinaryFiles: check return code from generateDepends() 2003-06-15 21:51:54 +00:00
c1b1e35c54 fixed previous change 2003-02-01 19:44:51 +00:00
430cbd16fa fixed build 2003-02-01 18:59:02 +00:00
444f568c04 Unset all known locale environment variables right before executing %___build_cmd 2003-02-01 18:04:39 +00:00
9446493481 fixed %{?_customdocdir} check 2002-10-07 09:00:13 +00:00
8c54052899 implemented %_customdocdir 2002-10-04 22:19:25 +00:00
0f38948b77 always dereference: cp -prL 2002-10-04 21:57:01 +00:00
128c860b4b pass NVR to script as RPM_SUBPACKAGE_* 2002-09-04 12:27:43 +00:00
e6cc940ac0 fixed typos 2002-09-04 11:39:01 +00:00
7416bf9660 pass NVR to script 2002-09-04 11:32:02 +00:00
e091e882ad fixed typos 2002-09-03 17:53:17 +00:00
a917c479b4 added glibc-devel-static requirement autogeneration 2002-09-03 17:37:41 +00:00
569410371a used MkdirP 2002-08-29 15:00:42 +00:00
6cc64fa4ea updated code to snapshot 2002-06-15 of 4_0 branch 2002-08-03 16:35:14 +00:00
af0e6ef16a Support setting the BuildHost tag explicitly rather than only from what the kernel thinks the system's hostname is (Owl). 2002-06-13 11:28:05 +00:00
a98dc9173f fixed merge typo 2002-03-26 15:29:49 +00:00
a2c349b652 build cleanup 2002-03-26 15:29:18 +00:00
3820ce1ace sync with rpm4 branch 2002-03-26 00:18:02 +00:00
57b558feb3 sync with rpm4 branch 2002-03-26 00:00:27 +00:00
b6867ec261 sync with rpm4 branch: added: preprocess mode, --nopatch/--nosource 2002-03-25 23:15:05 +00:00
1409bd2b85 sync with rpm4 branch: added preprocess mode 2002-03-25 23:09:32 +00:00
71509d0ea5 sync with rpm4 branch 2002-03-25 23:01:17 +00:00
44b632799a sync with rpm4 branch: fixed: autoReq/autoProv, buildRoot 2002-03-25 22:57:16 +00:00
6b935580ba sync with rpm4 branch 2002-03-25 22:52:06 +00:00
96d8bf9663 sync with rpm4 branch: added preprocess mode 2002-03-25 22:48:52 +00:00
578040ae51 sync with rpm4 branch: apply rpm_close_all 2002-03-25 22:46:15 +00:00
7a279a35de sync with rpm4 branch: added preprocess mode, modified autoReq/autoProv 2002-03-25 22:42:05 +00:00
fad59559b7 sync with rpm4 branch: added preprocess mode 2002-03-25 22:41:48 +00:00
dee952c2f8 sync with rpm4 branch: include local headers 2002-03-25 22:02:39 +00:00
ddff839f39 sync with rpm4 branch: removed obsolete entries 2002-03-25 20:52:35 +00:00
c15b8e601d re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00