SPECS: startup-notification.spec - new style macros, rel.2
Elan Ruusamäe
glen at delfi.ee
Sun Apr 10 19:47:05 CEST 2005
what's so cool about those macros?
besides the "new" %post macro executes also /bin/sh (so has requirement on
that)
On Sunday 10 April 2005 20:31, freetz wrote:
> Author: freetz Date: Sun Apr 10 17:31:59 2005 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - new style macros, rel.2
>
> ---- Files affected:
> SPECS:
> startup-notification.spec (1.15 -> 1.16)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/startup-notification.spec
> diff -u SPECS/startup-notification.spec:1.15
> SPECS/startup-notification.spec:1.16 ---
> SPECS/startup-notification.spec:1.15 Sat Mar 26 23:40:14 2005
> +++ SPECS/startup-notification.spec Sun Apr 10 19:31:53 2005
> @@ -7,7 +7,7 @@
> Summary(pl): Biblioteka Startup Notification
> Name: startup-notification
> Version: 0.8
> -Release: 1
> +Release: 2
> Group: Libraries
> License: LGPL
>
> Source0: http://ftp.gnome.org/pub/gnome/sources/startup-notification/0.8/%{
>name}-%{version}.tar.bz2 @@ -15,6 +15,7 @@
> URL: http://www.gnome.org/
> BuildRequires: %{?with_xlibs:libX11-devel}%{!?with_xlibs:XFree86-devel}
> BuildRequires: automake >= 1.7
> +BuildRequires: rpmbuild(macros) >= 1.197
> BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>
> %description
> @@ -69,8 +70,11 @@
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> -%post -p /sbin/ldconfig
> -%postun -p /sbin/ldconfig
> +%post
> +%ldconfig_post
> +
> +%postun
> +%ldconfig_postun
>
> %files
> %defattr(644,root,root,755)
> @@ -94,6 +98,9 @@
> All persons listed below can be reached at <cvs_login>@pld-linux.org
>
> $Log$
> +Revision 1.16 2005/04/10 17:31:53 freetz
> +- new style macros, rel.2
> +
> Revision 1.15 2005/03/26 22:40:14 qboosh
> - gpm-friendly Source0 URL
>
> ================================================================
>
> ---- CVS-web:
>
> http://cvs.pld-linux.org/SPECS/startup-notification.spec?r1=1.15&r2=1.16&f=
>u
>
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
--
glen
More information about the pld-devel-en
mailing list