]> git.pld-linux.org Git - packages/lftp.git/commitdiff
- updated to 2.0.1 lftp-2_0_1-1
authorArtur Frysiak <artur@frysiak.net>
Thu, 1 Jul 1999 07:59:40 +0000 (07:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed using _sysconfdir macro

Changed files:
    lftp.spec -> 1.29

lftp.spec

index d361649b41952a8aa0fdd803e019bd1c9a62976d..9ec6bbfc9c0beac2c4cdf4651e190a8e7f3c66ad 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -1,7 +1,7 @@
 Summary:       Commandline ftp client
 Summary(pl):   Zaawansowany klient ftp
 Name:          lftp
-Version:       2.0.0
+Version:       2.0.1
 Release:       1
 Group:         Networking/Utilities
 Group(pl):     Sieciowe/Narzêdzia
@@ -13,6 +13,8 @@ BuildPrereq:  ncurses-devel
 BuildPrereq:   readline-devel
 Buildroot:     /tmp/%{name}-%{version}-root
 
+%define                _sysconfdir     /etc
+
 %description
 LFTP is a shell-like command line ftp client. The main two advantages over
 other ftp clients are reliability and ability to perform tasks in
@@ -44,11 +46,13 @@ make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install lftp.conf $RPM_BUILD_ROOT/etc
+install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
+chmod +x $RPM_BUILD_ROOT%{_libdir}/lftp/*
 
 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
        README NEWS 
@@ -61,12 +65,14 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {README,NEWS}.gz
-%config(noreplace) %verify(not size mtime md5) /etc/lftp.conf
+
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lftp.conf
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %attr(755,root,root) %{_datadir}/lftp
+
+%dir %{_libdir}/lftp
 %attr(755,root,root) %{_libdir}/lftp/*.so
-%attr(755,root,root) %dir %{_libdir}/lftp
 
 %changelog
 Revision 1.31  1999/07/12 23:06:05  kloczek
This page took 0.030338 seconds and 4 git commands to generate.