[trash-cli] * Tue Jan 04 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.1.r315 - update to la

Ankur Sinha ankursinha at fedoraproject.org
Tue Jan 4 11:00:12 UTC 2011


commit 9a68e4205fcac574a02dbfbdf689cb6dce77ec5d
Author: Ankur Sinha <ankursinha AT fedoraproject DOT org>
Date:   Tue Jan 4 16:36:53 2011 +0530

    * Tue Jan 04 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.1.r315
    - update to latest up stream release
    - http://pypi.python.org/pypi/trash-cli/

 .gitignore     |    1 +
 sources        |    2 +-
 trash-cli.spec |   20 +++++++++++++-------
 3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a3cb9c8..f9a8b8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 trash-cli-0.11.2.tar.gz
+/trash-cli-0.11.3-r315.tar.gz
diff --git a/sources b/sources
index 3e48ece..b877f53 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d78cdd9fe9620042680769244b77a77a  trash-cli-0.11.2.tar.gz
+00654c149108fc4c522b5b008e9b8468  trash-cli-0.11.3-r315.tar.gz
diff --git a/trash-cli.spec b/trash-cli.spec
index 92e030d..1a51c91 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -3,12 +3,12 @@
 
 Summary:        Command line interface to the freedesktop.org trashcan
 Name:           trash-cli
-Version:        0.11.2
-Release:        3%{?dist}
+Version:        0.11.3
+Release:        0.1.r315%{?dist}
 License:        GPLv2+
 Group:          System Environment/Base
 URL  :          http://trash-cli.googlecode.com/
-Source0:        http://trash-cli.googlecode.com/files/trash-cli-%{version}.tar.gz
+Source0:        http://trash-cli.googlecode.com/files/trash-cli-%{version}-r315.tar.gz
 BuildArch:      noarch
 BuildRequires:  python-setuptools-devel dos2unix
 Requires:       python-unipath
@@ -19,7 +19,7 @@ freedesktop.org compatible trash implementation. The command line interface is
 compatible with rm and you can use trash-put as an alias to rm.  
 
 %prep
-%setup -q  
+%setup -q -n %{name}-%{version}-r315
 
 for f in filesystem.py cli/restore.py cli/util.py ; do
     dos2unix -k trashcli/$f
@@ -39,8 +39,10 @@ done
 install -d $(dirname %{buildroot}%{_mandir})
 mv %{buildroot}/usr/man %{buildroot}%{_mandir}
 
-# first command is there for legacy. second one is broken and undocumented
-rm -f %{buildroot}/%{_bindir}/restore-trash
+# rename the restore to keep it consistent with other package binaries
+# also, enables better tab completion
+
+mv -v %{buildroot}/%{_bindir}/restore-trash %{buildroot}/%{_bindir}/trash-restore
 rm -f %{buildroot}/%{_bindir}/volume-of
 
 %clean
@@ -56,10 +58,14 @@ rm -rf %{buildroot}
 %{_mandir}/man1/trash-*
 
 %changelog
+* Tue Jan 04 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.1.r315 
+- update to latest up stream release
+- http://pypi.python.org/pypi/trash-cli/
+- rename restore-trash to trash-restore : refer comment
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.11.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
-
 * Thu Feb 18 2010 Rahul Sundaram <sundaram at fedoraproject.org> - 0.11.2-2
 - Update as per review
 


More information about the scm-commits mailing list