]> git.pld-linux.org Git - packages/babel.git/commitdiff
- env-update should be optional
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 26 Mar 2007 22:32:38 +0000 (22:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    babel.spec -> 1.3

babel.spec

index cd283d044131f181e216d456a0a1e2e0f39bcfd8..548eb26b7f59e1895dac90cff6efa9fa880975f8 100644 (file)
@@ -9,7 +9,7 @@ Source0:        http://smog.com/chem/babel/files/%{name}-%{version}.tar.Z
 # Source0-md5: 101a5dc4858ecacac123571db52b272e
 Patch0:                %{name}-gcc3.patch
 URL:           http://smog.com/chem/babel/
-Requires(post,postun): env-update
+BuildRequires: rpmbuild(macros) >= 1.316
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        program_name    babel1
@@ -60,10 +60,10 @@ echo BABEL_DIR=%{_datadir}/%{name} > $RPM_BUILD_ROOT/etc/env.d/BABEL_DIR
 rm -rf $RPM_BUILD_ROOT
 
 %post
-env-update
+%env_update
 
 %postun
-env-update
+%env_update
 
 %files
 %defattr(644,root,root,755)
This page took 0.065085 seconds and 4 git commands to generate.