public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trash-cli] pr6: Update empty days patch
@ 2026-09-20 13:17 Ankur Sinha
0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-09-20 13:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/trash-cli
Branch : pr6
Commit : 27495c1c6cdb7d61afcdaf5e2178be84592104cc
Author : Ankur Sinha <sanjay.ankur@gmail.com>
Date : 2011-02-07T18:00:02+05:30
Stats : +9/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/trash-cli/c/27495c1c6cdb7d61afcdaf5e2178be84592104cc?branch=pr6
Log:
Update empty days patch
---
diff --git a/trash-cli-empty_days.patch b/trash-cli-empty_days.patch
index 93a04ab..1d99366 100644
--- a/trash-cli-empty_days.patch
+++ b/trash-cli-empty_days.patch
@@ -1,8 +1,8 @@
diff --git a/trashcli/cli/empty.py b/trashcli/cli/empty.py
-index 70a49f2..2d9d90f 100755
+index 70a49f2..b290e89 100755
--- a/trashcli/cli/empty.py
+++ b/trashcli/cli/empty.py
-@@ -55,9 +55,9 @@ def main(argv=None) :
+@@ -55,11 +55,12 @@ def main(argv=None) :
if len(args) > 1 :
parser.print_usage()
parser.exit()
@@ -13,4 +13,7 @@ index 70a49f2..2d9d90f 100755
+ days=int(args[0])
except :
parser.print_usage()
++ parser.exit()
+ for trashedfile in trashcan.trashed_files() :
+ delta=datetime.datetime.now()-trashedfile.deletion_date
diff --git a/trash-cli.spec b/trash-cli.spec
index fedc005..ce87718 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -4,7 +4,7 @@
Summary: Command line interface to the freedesktop.org trashcan
Name: trash-cli
Version: 0.11.3
-Release: 0.2.r315%{?dist}
+Release: 0.3.r315%{?dist}
License: GPLv2+
Group: System Environment/Base
URL : http://trash-cli.googlecode.com/
@@ -60,6 +60,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/trash-*
%changelog
+* Mon Feb 07 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.3.r315
+- Updated patch
+
* Sun Feb 06 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.2.r315
- Add requires to python-setuptools
- Patch to correct trash-empty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-20 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 13:17 [rpms/trash-cli] pr6: Update empty days patch Ankur Sinha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox