eclipse/macros.eclipse
Sami Wagiaalla 42e97c9d9c Don't use tmpfs for run-reconciler file.
* Tue Dec 20 2011 Sami Wagiaalla <swagiaal@redhat.com> 1:3.7.1-10
- Use rpm-state/eclipse for run-reconciler file instead of /var/run.
- Delete eclipse-tmpfiles.conf.
2012-01-19 13:57:27 -05:00

20 lines
430 B
Plaintext

# RPM macros for eclipse packages.
#
%_eclipse_pkg_post \
touch /var/lib/rpm-state/eclipse/run-reconciler
%_eclipse_pkg_postun \
touch /var/lib/rpm-state/eclipse/run-reconciler \
\
if [ $1 == 0 ]; then \
eclipse-reconciler.sh > /dev/null \
fi \
%_eclipse_pkg_posttrans \
eclipse-reconciler.sh > /dev/null
%_eclipse_pkg_reqs \
Requires(post): eclipse-platform >= 1:3.7.0-8 \
Requires(postun): eclipse-platform >= 1:3.7.0-8 \