SPECS: ices.spec, icecast.spec - use %%userremove/%%groupremove ma...

Jakub Bogusz qboosh w pld-linux.org
Śro, 25 Sie 2004, 12:14:31 CEST


On Wed, Aug 25, 2004 at 10:05:58AM +0000, ankry wrote:
> @@ -17,13 +17,18 @@
>  BuildRequires:	lame-libs-devel
>  BuildRequires:	libshout-devel
>  BuildRequires:	python-devel
> +BuildRequires:	rpmbuild(macros) >= 1.159
>  PreReq:		rc-scripts
>  Requires(pre):	/bin/id
>  Requires(pre):	/usr/bin/getgid
>  Requires(pre):	/usr/sbin/groupadd
>  Requires(pre):	/usr/sbin/useradd
> +Requires(postun):	/usr/sbin/groupdel
> +Requires(postun):	/usr/sbin/userdel
>  Requires(post,preun):/sbin/chkconfig
>  Requires:	lame-libs
> +Provides:	group(icecast)
> +Provides:	user(icecast)
>  Obsoletes:	shout
>  BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>  

Hm, BR jest compile-time, a po rozwinięciu makr mamy jeszcze zależność
install-time: /usr/lib/rpm/user_group.sh
(albo rpm >= ileś)


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl