]> git.pld-linux.org Git - packages/dchub.git/commitdiff
- R: rc-scripts
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 6 Dec 2005 18:55:08 +0000 (18:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dchub.spec -> 1.25

dchub.spec

index 4241cffcf3a3645c7ecde3f9418fa578859e5844..e05902fa529bf2fe954ef2f3ee1b49fc4840636b 100644 (file)
@@ -23,6 +23,7 @@ BuildRequires:        python-devel
 Requires(post,preun):  /sbin/chkconfig
 Requires:      perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
 Requires:      perl-Locale-gettext
+Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -62,6 +63,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.c
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.h
 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts/po
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 if [ "$1" = "1" ]; then
        /sbin/chkconfig --add dchub
@@ -80,9 +84,6 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
This page took 0.117888 seconds and 4 git commands to generate.