From 018ccc2d477a93c2ea375a6ffd7c2d8d02fedd99 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 22 Aug 2003 14:09:34 +0000 Subject: [PATCH] - cleanups Changed files: Zope-TranslationService.spec -> 1.2 --- Zope-TranslationService.spec | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Zope-TranslationService.spec b/Zope-TranslationService.spec index 05c5918..7b66c28 100644 --- a/Zope-TranslationService.spec +++ b/Zope-TranslationService.spec @@ -1,9 +1,7 @@ %include /usr/lib/rpm/macros.python - %define zope_subname TranslationService - -Summary: TranslationService is a placeful translation service for Zope -Summary(pl): TranslationService jest ¶rodowiskiem dla translacji jêzykowych dla Zope +Summary: TranslationService - a placeful translation service for Zope +Summary(pl): TranslationService - ¶rodowisko dla t³umaczeñ jêzykowych dla Zope Name: Zope-%{zope_subname} Version: 0.4 Release: 1 @@ -21,11 +19,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define product_dir /usr/lib/zope/Products %description -TranslationService is a placeful translation service for Zope +TranslationService is a placeful translation service for Zope. %description -l pl -TranslationService jest ¶rodowiskiem dla translacji jêzykowych dla -Zope +TranslationService jest ¶rodowiskiem dla t³umaczeñ jêzykowych dla +Zope. %prep %setup -q -c %{zope_subname}-%{version} @@ -33,11 +31,12 @@ Zope %build cd %{zope_subname} mkdir docs -mv -f HISTORY.txt docs/ +mv -f HISTORY.txt docs %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{product_dir} + cp -af * $RPM_BUILD_ROOT%{product_dir}/%{zope_subname} %py_comp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname} @@ -54,8 +53,6 @@ if [ -f /var/lock/subsys/zope ]; then /etc/rc.d/init.d/zope restart >&2 fi -%preun - %postun if [ -f /var/lock/subsys/zope ]; then /etc/rc.d/init.d/zope restart >&2 -- 2.44.0