Jindrich Novy
e58db2eda1
Don't check package BuildRequires when doing --rmsource (rhbz#452477)
...
- export doRmSource() and make it more consistent with the API
2009-01-11 16:54:07 +01:00
Jindrich Novy
1909784075
Don't fail because of missing sources when only spec
...
removal is requested (rhbz #472427 )
2009-01-11 15:23:59 +01:00
Jindrich Novy
faaa0305f5
Return proper exit code when exec*() functions fail
...
- the correct exit code should be 127 accoring to bash(1),
we want to keep the same exit code behaviour as bash for rpm
2008-11-04 10:09:31 +01:00
Panu Matilainen
0ee67fede8
Temp file handling tweaks
...
- rename rpmMkTemp() (back) to rpmMkTempFile()
- rpmMkTemp() is now a lower level thin wrapper around mkstemp()
2008-05-03 12:34:19 +03:00
Panu Matilainen
fde961e25b
Rewrite rpmMkTempFile() for sanity
...
- Actually use mkstemp() for creating the temp file and return a FD_t
dupped from the file descriptor returned by mkstemp().
- Simplify the interface while at it.
- Change callers for the new interface.
- Yes we now require mkstemp() to work, mkstemp() is in POSIX.1-2001 and
this is year 2008...
2008-04-11 09:05:05 +03:00
Panu Matilainen
29674e476a
Yet more url ripping - buildroot is never an url
...
- 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-09 08:18:38 +03:00
Panu Matilainen
ddf46496b3
Remove remote host stuff from build doScript()
2008-04-09 08:17:48 +03:00
Panu Matilainen
14284725e6
Remove const from rpmMkTempFile file name parameter
...
- the temp name is malloced and needs to be freed by caller
2007-12-16 16:25:09 +02:00
Panu Matilainen
dc9c504ae6
Another bunch of bogus const removals
2007-12-15 16:03:18 +02:00
Panu Matilainen
1a0a12cf15
Remove bogus const from rpmGenPath() temporary targets
2007-12-15 11:03:46 +02:00
Panu Matilainen
b6a663ec0a
Remove bogus const from rpmGetPath() temporary targets
2007-12-15 10:39:15 +02:00
Panu Matilainen
9ce13e09ef
Switch to <rpm/foo.h> style for public headers
...
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen
2a9c146f31
rpm5.org: fixup various places in rpmbuild from rpmerr.h elimination
2007-12-07 09:28:39 +02:00
Panu Matilainen
79fed162ac
rpm5.org: use pid_t, not int in build doScript
2007-12-07 09:01:25 +02:00
Panu Matilainen
9cbf0349b8
Use regular POSIX functions instead of "RPC" clones
...
- we only care about local files
2007-12-03 16:33:18 +02:00
Panu Matilainen
d10acc7c2a
Move makeTempFile() from misc.h to rpmfileutil.h
...
- probably not very useful outside rpm but used all over the tree,
- rename to rpmMkTempFile() for namespacing since we're exporting it now
2007-11-22 16:28:30 +02:00
Ralf Corsépius
abeea80a38
Use #include <x.h> syntax to include public headers.
2007-11-23 06:46:19 +01:00
Panu Matilainen
17ef8a3082
Lose rpmerr.h for good
2007-11-19 16:32:15 +02:00
Panu Matilainen
43c5de66fb
Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels
2007-11-19 16:25:24 +02:00
Panu Matilainen
1fe38d71cc
Use fdGetFILE() instead of rpmio internal fdGetFp() everywhere
2007-10-29 09:42:21 +02:00
Ralf Corsépius
14d434925b
Include "rpmbuild.h" instead of <rpmbuild.h>.
2007-10-28 06:49:54 +01:00
Ralf Corsépius
9735f83012
Include "rpmio_internal.h" instead of <rpmio_internal.h>.
2007-10-28 06:43:19 +01:00
Ralf Corsépius
b990c6737a
Remove dead and unused, ifdef'ed HAVE_FCHMOD block of code.
2007-10-24 03:10:57 +02:00
Ralf Corsépius
0034893b78
doScript: Change 'what' to rpmBuildFlags.
2007-10-24 03:04:01 +02:00
Panu Matilainen
01d5c13a42
Make rpmerr.h private, include directly where needed.
2007-10-09 15:33:49 +03:00
Panu Matilainen
56366e3890
Replace all uses of RPMMESS_NORMAL with RPMLOG_NOTICE
2007-10-09 14:50:42 +03:00
Panu Matilainen
4ce9fc1a17
Replace all rpmMessage() uses with rpmlog()
2007-10-09 14:14:30 +03:00
Panu Matilainen
d709195c3a
Replace all rpmError() uses with rpmlog()
2007-10-09 14:06:06 +03:00
Panu Matilainen
2c2538d726
Rename Spec -> rpmSpec for namespacing
2007-09-21 15:23:02 +03:00
Panu Matilainen
47257ec9e8
misc.h is a private header
...
- include it from build/*.c where needed
- dont install
2007-09-17 15:15:03 +03:00
Panu Matilainen
cc68353128
Remove url caching, don't need it...
2007-09-17 10:31:18 +03:00
Ralf Corsépius
32419bbba5
Remove splint tags.
2007-09-11 23:03:27 +02:00
Panu Matilainen
412f9fcb17
Fix various cases of build failing due to whitespace in dir/filenames.
2007-08-29 15:39:55 +03:00
jbj
4bfb4d6f3f
- permit build scriptlet interpreters to be individually overridden.
...
CVS patchset: 7759
CVS date: 2005/02/12 14:12:33
2005-02-12 14:12:33 +00:00
jbj
f5203aea8b
- add support for automagic pubkey retrieval using HKP.
...
CVS patchset: 7617
CVS date: 2004/11/28 21:14:41
2004-11-28 21:14:41 +00:00
jbj
afeddbf68d
Stub in URL_IS_HTTPS everywhere.
...
CVS patchset: 7536
CVS date: 2004/11/04 13:29:11
2004-11-04 13:29:11 +00:00
jbj
9c5529608e
- don't use error string after gzclose (Dmitry V. Levin).
...
Spliddles for rpmio, drill h_errno all the way through.
CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj
e788b7c1f3
- fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
...
- 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-24 07:21:04 +00:00
jbj
1f6cdca2d5
- add --enable-posixmutexes when configuring on linux.
...
- 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-12-21 20:37:37 +00:00
jbj
241fad1287
Propagate splint-3.0.1.7 close(2) internalState annotation throughout.
...
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
2002-07-08 14:21:26 +00:00
jbj
e5fb770e7d
Add boundsread annotations throughout, enable +bounds checking.
...
Start narrowing the scope of bounds annotations by adding more annotations.
CVS patchset: 5537
CVS date: 2002/07/02 23:54:35
2002-07-02 23:54:35 +00:00
jbj
d57a29baac
Converging on lclint-3.0.17 strict level.
...
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj
96a3f7a55d
Factor -type problems into explicit code annotations.
...
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj
72471f2e54
Explicit branchstate annotations.
...
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +00:00
jbj
d8dc44f363
lclint fiddles to annotate globals.
...
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj
c3835f5ca0
- fix: specfile queries with BuildArch: ( #27589 ).
...
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
2001-05-06 19:17:14 +00:00
jbj
d78e027808
- still more boring lclint annotations and fiddles.
...
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj
0ecdbba935
- yet more boring lclint annotations and fiddles.
...
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
2001-04-30 22:32:22 +00:00
jbj
3b5820c420
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
...
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
2001-04-29 01:05:43 +00:00
jbj
fc920e3ac3
Update to doxygen-1.2.6 configuration.
...
Add manual files to Doxfile.in.
lclint annotations.
CVS patchset: 4624
CVS date: 2001/03/14 23:09:09
2001-03-14 23:09:09 +00:00