tomfa
Member
Aufgrund dieser Ankündigung (und weil es eigentlich mal Zeit wird), möchte ich mich an dieser Stelle für deinen Einsatz und für die Arbeit/ Mühen bedanken. Auch für Zukünftiges. Danke R_M.
#norootforbuild
Name: csh
Summary: A csh "dummy-package" to circumvent obsolete requires for csh in SuSE
License: Public Domain
Group: dummy-package
Version: 1.0
Release: rm.0
Requires: tcsh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
A csh "dummy-package" to circumvent obsolete requires for csh in newer SuSE-versions.
Some Packages (i.e. Printer Drivers from Brother Inc.) require the package "csh", which has become obsol
ete some time ago, as the csh is now located in the package "tcsh".
To circumvent installing rpm-Packages requiring csh with the "evil" switch "--nodeps", this "package" ca
n be installed.
This "package" is just an empty RPM, which registers the "package" csh in the rpm-database. It requires
the package "tcsh" installed to correctly satisfy the requires for the C-shell on newer SuSE-versions.
%prep
%install
%clean
[ -d %{buildroot} -a '%{buildroot}' != '' ] && %__rm -rf %{buildroot}
%files
%defattr(-, root, root)
%changelog
* Wed Sep 12 2007 Rain_Maker rain_maker<at>root-forum.org
- Version 1.0 certainly the first and also the last one :-)
rpmbuild -ba --clean --rmsource --rmspec /usr/src/packages/SPECS/csh.spec
rpmbuild -ba --clean --rmsource --rmspec csh.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.18427
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.18427
+ umask 022
+ cd /usr/src/packages/BUILD
+ /usr/lib/rpm/brp-lib64-linux
sf@suse.de: if you find problems with this script, drop me a note
+ RPM_BUILD_ROOT=/var/tmp/csh-1.0-build
+ export RPM_BUILD_ROOT
+ test -x /usr/sbin/Check -a 1000 = 0 -o -x /usr/sbin/Check -a '!' -z /var/tmp/csh-1.0-build
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
+ /usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-compress: line 12: cd: /var/tmp/csh-1.0-build: Datei oder Verzeichnis nicht gefunden
+ /usr/lib/rpm/brp-symlink
/usr/lib/rpm/brp-symlink: line 31: cd: /var/tmp/csh-1.0-build: Datei oder Verzeichnis nicht gefunden
Processing files: csh-1.0-rm.0
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/csh-1.0-build
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/csh-1.0-build
Wrote: /usr/src/packages/SRPMS/csh-1.0-rm.0.src.rpm
Wrote: /usr/src/packages/RPMS/noarch/csh-1.0-rm.0.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.87380
+ umask 022
+ cd /usr/src/packages/BUILD
+ '[' -d /var/tmp/csh-1.0-build -a /var/tmp/csh-1.0-build '!=' '' ']'
+ rm -rf filelists
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.87380
+ umask 022
+ cd /usr/src/packages/BUILD
+ rm -rf filelists
~> rpmbuild -ba --clean --rmsource --rmspec /usr/src/packages/SPECS/csh.spec
error: line 1: Unknown tag: Name: csh