]> git.pld-linux.org Git - packages/anonftp.git/commitdiff
- /home/services -> /srv
authoraverne <averne@pld-linux.org>
Wed, 4 Feb 2004 15:15:31 +0000 (15:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anonftp.spec -> 1.24

anonftp.spec

index 85b0d0fa830d867b60debf15a8744b0df86a2bb0..c8381649e60cd7bc86af96183144f9c977b09a65 100644 (file)
@@ -52,9 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/home/services/ftp/{pub,etc,bin,lib}
+install -d $RPM_BUILD_ROOT/srv/ftp/{pub,etc,bin,lib}
 
 
-cat > $RPM_BUILD_ROOT/home/services/ftp%{_sysconfdir}/passwd <<EOF
+cat > $RPM_BUILD_ROOT/srv/ftp%{_sysconfdir}/passwd <<EOF
 root:*:0:0:::
 bin:*:1:1:::
 operator:*:11:0:::
 root:*:0:0:::
 bin:*:1:1:::
 operator:*:11:0:::
@@ -62,7 +62,7 @@ ftp:*:14:50:::
 nobody:*:99:99:::
 EOF
 
 nobody:*:99:99:::
 EOF
 
-cat > $RPM_BUILD_ROOT/home/services/ftp%{_sysconfdir}/group <<EOF
+cat > $RPM_BUILD_ROOT/srv/ftp%{_sysconfdir}/group <<EOF
 root::0:
 bin::1:
 daemon::2:
 root::0:
 bin::1:
 daemon::2:
@@ -71,30 +71,30 @@ adm::4:
 ftp::50:
 EOF
 
 ftp::50:
 EOF
 
-install %{_sysconfdir}/ld.so.cache $RPM_BUILD_ROOT/home/services/ftp%{_sysconfdir}
+install %{_sysconfdir}/ld.so.cache $RPM_BUILD_ROOT/srv/ftp%{_sysconfdir}
 install /lib/{libc-*.so,ld-*.so,libnss_files-*.so,libnsl-*.so} \
 install /lib/{libc-*.so,ld-*.so,libnss_files-*.so,libnsl-*.so} \
-       $RPM_BUILD_ROOT/home/services/ftp/lib
+       $RPM_BUILD_ROOT/srv/ftp/lib
 
 
-install /bin/{ls,cpio,gzip,tar}                        $RPM_BUILD_ROOT/home/services/ftp/bin
-install /bin/ash                               $RPM_BUILD_ROOT/home/services/ftp/bin/sh
-install %{_bindir}/compress                    $RPM_BUILD_ROOT/home/services/ftp/bin/compress
-ln -sf gzip                                    $RPM_BUILD_ROOT/home/services/ftp/bin/zcat
+install /bin/{ls,cpio,gzip,tar}                        $RPM_BUILD_ROOT/srv/ftp/bin
+install /bin/ash                               $RPM_BUILD_ROOT/srv/ftp/bin/sh
+install %{_bindir}/compress                    $RPM_BUILD_ROOT/srv/ftp/bin/compress
+ln -sf gzip                                    $RPM_BUILD_ROOT/srv/ftp/bin/zcat
 
 %post
 
 %post
-/sbin/ldconfig /home/services/ftp/lib
+/sbin/ldconfig /srv/ftp/lib
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(0755,root,root) %dir /home/services/ftp
-%attr(0111,root,root) %dir /home/services/ftp/bin
-%attr(0111,root,root) %dir /home/services/ftp%{_sysconfdir}
-%attr(2755,root,root) %dir /home/services/ftp/pub
-%attr(0755,root,root) %dir /home/services/ftp/lib
-%attr(0444,root,root) %config /home/services/ftp%{_sysconfdir}/passwd
-%attr(0444,root,root) %config /home/services/ftp%{_sysconfdir}/group
-%attr(0444,root,root) /home/services/ftp%{_sysconfdir}/ld.so.cache
-%attr(0111,root,root) /home/services/ftp/bin/*
-%attr(0555,root,root) /home/services/ftp/lib/*
+%attr(0755,root,root) %dir /srv/ftp
+%attr(0111,root,root) %dir /srv/ftp/bin
+%attr(0111,root,root) %dir /srv/ftp%{_sysconfdir}
+%attr(2755,root,root) %dir /srv/ftp/pub
+%attr(0755,root,root) %dir /srv/ftp/lib
+%attr(0444,root,root) %config /srv/ftp%{_sysconfdir}/passwd
+%attr(0444,root,root) %config /srv/ftp%{_sysconfdir}/group
+%attr(0444,root,root) /srv/ftp%{_sysconfdir}/ld.so.cache
+%attr(0111,root,root) /srv/ftp/bin/*
+%attr(0555,root,root) /srv/ftp/lib/*
This page took 0.088187 seconds and 4 git commands to generate.