summaryrefslogtreecommitdiff
path: root/build/spec.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-07Don't allow multiple definition of PatchX or SourceX (rhbz#458261, rhbz#458260)Jindrich Novy1-0/+10
2008-08-06Simplify spec buildroot hysteriaPanu Matilainen1-1/+0
- BuildRoot: in spec is now really ignored - parseSpec() uses default %{buildroot} unless overridden - BuildRoot is forced for all builds
2008-07-07Make Source0: equal to Source: againJindrich Novy1-1/+1
2008-07-07Kick out now unused printNewSpecfile()Panu Matilainen1-96/+0
2008-07-07Kick out ancient, useless and hidden --specedit optionPanu Matilainen1-37/+2
2008-07-04Don't treat Patch and Source as Patch0 and Source0Jindrich Novy1-1/+1
2008-07-01Update parseNoSource() and addSource() to accept only unsigned SourceXX numbersJindrich Novy1-5/+6
2008-07-01findSource() eats only unsigned SourceXX numbersJindrich Novy1-1/+1
2008-05-12Convert internal uses of headerSprintf() to headerFormat()Panu Matilainen1-1/+1
2008-05-06Eliminate nasty hackery with "special" doc + docdir formatPanu Matilainen1-0/+2
- figure out docdir early on in spec parsing, store in package struct instead of abusing parse buffer - fixes memleaks from docdir_fmt and headerSprintf too
2008-04-25Simplify lookupPackage(), avoid alloca()Panu Matilainen1-9/+5
2008-04-16Kill queryHeader(), it is not used and buggyJindrich Novy1-1/+0
2008-04-09Yet more url ripping - buildroot is never an urlPanu Matilainen1-5/+5
- this is a bit nasty as it changes public interfaces but rename to make it explicit they're just plain paths, not urls
2008-04-04Escape '%' in formatJindrich Novy1-1/+1
2008-04-04Simplify formattingJindrich Novy1-2/+2
2008-04-04Simplify package comparison and format creation.Jindrich Novy1-9/+7
- also avoid static buffer usage
2008-03-24Eliminate bogus const's from spec structurePanu Matilainen1-12/+12
2008-03-24Eliminate bogus const's from OFI_t and spectags structsPanu Matilainen1-2/+2
2008-03-23Use rasprintf() to prevent overflows and remove BUFSIZ buffer limit.Jindrich Novy1-10/+15
2008-03-18Minimal namespacing for locale-insensitive x*() string functionsPanu Matilainen1-3/+3
2008-02-25Remove some ancient dead codePanu Matilainen1-12/+0
2008-02-25Add %{sources} and %{patches} macros to buildPanu Matilainen1-0/+30
- push full patch + source paths to global lua tables - %{sources} and %{patches} are just easy-access wrappers to accessing the lua tables - "git-am -p1 %{patches}" and enjoy...
2008-02-05Mass convert (back) to rpmTag as it's usable everywhere nowPanu Matilainen1-3/+3
- cast away a few cases where the enum usage causes ridiculous amount of compiler warnings from unhandled switch-cases
2008-02-03Make rpmtag.h standalone, include from rpmtypes.hPanu Matilainen1-1/+1
- permits header.h to use the tag types - revert other includes back to header.h, more crazy #include churn... - rpmTagTable etc in header.h for now, don't really belong there but...
2008-01-30Include spring-cleaningPanu Matilainen1-1/+2
- put some consistency into include ordering - everything (apart from bits missed ;) is now ordered like this 1. "system.h" 2. other system includes 3. rpm public headers 4. rpm private headers 5. "debug.h"
2008-01-30rpmlib.h mass evictionPanu Matilainen1-0/+1
- explicitly include what's really needed instead - document remaining uses
2007-12-16Much of spec internals is exposed, let them be const for nowPanu Matilainen1-14/+14
2007-12-15Remove bogus const from rpmGetPath() temporary targetsPanu Matilainen1-1/+1
2007-12-14Bogus const removal continued...Panu Matilainen1-1/+1
2007-12-14Bunch of const char* correctionsPanu Matilainen1-1/+1
- functions returning string constants as char * etc...
2007-12-13Use rpm_tag_t everywhere for rpm (header) tag typePanu Matilainen1-2/+2
- typedef'ed as int32_t for now, negative values used in some places for error cases - easy to grep, easy to change... - add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-5/+5
- adjust include paths accordingly
2007-12-07Yet more rpmbuild fixups from rpmerr.h removal (partly from rpm5.org)Panu Matilainen1-6/+6
- additionally use rpmRC return types instead of numbers where appropriate
2007-11-23Expand private include file names to be relative to $(top_srcdir)Ralf Corsépius1-1/+1
2007-11-23Move rpmGetPath and rpmGenPath to rpmfileutil.hPanu Matilainen1-0/+1
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-4/+4
2007-11-19Lose rpmerr.h for goodPanu Matilainen1-1/+1
2007-11-19Replace all RPMERR_* etc uses with corresponding RPMLOG_* levelsPanu Matilainen1-8/+8
2007-10-29Add SKIPSPACE.Ralf Corsépius1-0/+1
2007-10-09Make rpmerr.h private, include directly where needed.Panu Matilainen1-0/+1
2007-10-09Replace all rpmError() uses with rpmlog()Panu Matilainen1-5/+5
2007-09-21Rename Spec -> rpmSpec for namespacingPanu Matilainen1-10/+10
2007-09-20Rename tagName/Value/Type() to rpmTagGet*()Panu Matilainen1-1/+1
- namespacing - avoid collisions with tagtype definitions
2007-09-11Remove splint tags.Ralf Corsépius1-79/+15
2002-12-24- fix: remove rpmfi scareMem so that headers can be reloaded on ia64.jbj1-0/+3
- fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes. - remove useless kernel/glibc dependencies (#79872). - add matching "config(N) = EVR" dependencies iff %%config is found. CVS patchset: 5963 CVS date: 2002/12/24 07:21:04
2002-12-24splint fiddles.jbj1-0/+2
CVS patchset: 5962 CVS date: 2002/12/24 04:04:20
2002-12-22- simplify specfile query linkage loop.jbj1-1/+159
- drill rpmts into parseSpec(), carrying Spec along. CVS patchset: 5958 CVS date: 2002/12/22 02:11:05
2002-12-21- add --enable-posixmutexes when configuring on linux.jbj1-3/+6
- add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities. - include srpm pkgid in binary headers (#71460). - add %check scriptlet to run after %install (#64137). CVS patchset: 5957 CVS date: 2002/12/21 20:37:37
2002-08-19- add --with-efence to configure, check install/upgrade with efence.jbj1-12/+2
- beecrypt: short hex string conversion overflows target buffer. - mark "successors only" packages in transaction. - reap scriptlets with SIGCHLD handler. - rename PSM_t to rpmpsm, add methods and refcounts to manage. - remove %%configure/%%makeinstall from arch-os/macros, default is OK. - don't export MALLOC_CHECK_ to scriptlets. - squeaky clean memory leak checking. - always malloc rpmfi structure, refcounts are correct in rpmtsRun(). - skip redundant /sbin/ldconfig scripts on upgrade (if possible). CVS patchset: 5645 CVS date: 2002/08/19 22:27:44
2002-07-13- install rpmal.h and rpmhash.h, implicit rpmps.hinclude, for now.jbj1-3/+3
- revert headerFree/headerLink/headerUnlink debugging. CVS patchset: 5550 CVS date: 2002/07/13 19:08:51