Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
rpm.468
initscriptsprov.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File initscriptsprov.diff of Package rpm.468
Index: rpm-4.8.0/autodeps/linux.prov =================================================================== --- rpm-4.8.0.orig/autodeps/linux.prov 2010-12-08 15:16:12.984842683 +0100 +++ rpm-4.8.0/autodeps/linux.prov 2010-12-08 15:16:52.530842661 +0100 @@ -107,4 +107,9 @@ fi [ -x /usr/lib/rpm/gstreamer-provides ] && printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/gstreamer-provides | sort -u +# +# --- Provides of sysvinit scripts +[ -x /usr/lib/rpm/sysvinitdeps.sh ] && + printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/sysvinitdeps.sh -P | sort -u + exit 0 Index: rpm-4.8.0/scripts/sysvinitdeps.sh =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ rpm-4.8.0/scripts/sysvinitdeps.sh 2010-12-08 15:17:11.183843303 +0100 @@ -0,0 +1,13 @@ +#!/bin/sh + +# -P blindly assumed +while read file; do + case $file in + */etc/init.d/*) + provs=`grep '^# *Provides:' $file | sed 's,^.*:,,'` + for p in $provs; do + echo "sysvinit($p)" + done + ;; + esac +done Index: rpm-4.8.0/scripts/Makefile.am =================================================================== --- rpm-4.8.0.orig/scripts/Makefile.am 2010-12-08 15:16:12.985844013 +0100 +++ rpm-4.8.0/scripts/Makefile.am 2010-12-08 15:16:52.531842720 +0100 @@ -40,6 +40,7 @@ rpmconfig_SCRIPTS = \ pkgconfigdeps.sh libtooldeps.sh \ ocaml-find-requires.sh ocaml-find-provides.sh \ fontconfig.prov desktop-file.prov \ + sysvinitdeps.sh \ rpmdb_loadcvt rpmdiff rpm2cpio.sh tcl.req tgpg rpmconfig_DATA = \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor