diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | rpmtools.pm | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -16,8 +16,8 @@ all: $(ALL) install: $(ALL) install -d $(PREFIX)/usr/bin install -s $(ALL) $(PREFIX)/usr/bin - install genhdlist_cz2 genhdlists genfilelist packdrake $(PREFIX)/usr/bin - $(MAKE) -f Makefile_core $@ + install genhdlist_cz2 genhdlists genbasefiles genfilelist packdrake $(PREFIX)/usr/bin + $(MAKE) -f Makefile_core PREFIX=$(PREFIX)/usr $@ $(FROMCC): %: %.cc $(CXX) $(CFLAGS) $< $(LIBRPM) -o $@ diff --git a/rpmtools.pm b/rpmtools.pm index a892ea3..115cece 100644 --- a/rpmtools.pm +++ b/rpmtools.pm @@ -81,8 +81,8 @@ sub compute_depslist { #- this could be nothing if the provides is a file not found. #- and this has been fixed above. foreach (@$req) { - my $info = $params->{info}{$_}; $info or next; - $required_packages{$_} = undef; + my $info = $params->{info}{$_}; + $required_packages{$_} = undef; $info or next; if ($info->{deps} && !$info->{requires}) { #- the package has been read from an ordered depslist file, and need #- to rebuild its requires tags, so it can safely be used here. |