[lonote] Update to 3.2.11
李瑞彬
cheeselee at fedoraproject.org
Sun Nov 16 05:37:34 UTC 2014
commit 4054228634f333d5ee031a7df86c8082713c88b1
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Sun Nov 16 13:40:52 2014 +0800
Update to 3.2.11
.gitignore | 1 +
lonote.spec | 19 +++++++++++++++++--
sources | 2 +-
3 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f279862..4cc4371 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/lonote-2.2.3.zip
/lonote-3.0.3.zip
/lonote-3.0.6.zip
+/lonote-3.2.11.zip
diff --git a/lonote.spec b/lonote.spec
index d94a169..f869574 100644
--- a/lonote.spec
+++ b/lonote.spec
@@ -1,6 +1,6 @@
Name: lonote
-Version: 3.0.6
-Release: 3%{?dist}
+Version: 3.2.11
+Release: 1%{?dist}
Summary: Personal Notebook on browser
License: ASL 2.0
URL: https://bitbucket.org/civalin/lonote
@@ -40,6 +40,17 @@ rm -r %{buildroot}%{_datadir}/%{name}/garbage
rm -r %{buildroot}%{python3_sitelib}/lonotelib/{bs4,whoosh,mako}
chmod -x %{buildroot}%{_datadir}/lonote/server/static/glyphicons/fonts/glyphiconshalflings-regular.svg
+# remove shebang
+sed -i -e '/^#!\//, 1d' %{buildroot}/%{python3_sitelib}/lonotelib/diff_match_patch.py
+
+# fix property
+chmod -x %{buildroot}/%{_datadir}/%{name}/server/static/diff-match-patch/diff_match_patch.js
+
+# remove temp file
+rm %{buildroot}/%{_datadir}/%{name}/server/static/diff-match-patch/.diff_match_patch.js.swp
+rm %{buildroot}/%{_datadir}/%{name}/server/template/*.orig
+rm %{buildroot}/%{_datadir}/%{name}/server/static/lightbox/js/.DS_Store
+
# validate the desktop entry file
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
@@ -54,9 +65,13 @@ find %{buildroot}%{_datadir}/locale -name \*po |xargs rm
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.*
+%{_datadir}/appdata/*
%changelog
+* Sun Nov 16 2014 Robin Lee <cheeselee at fedoraproject.org> - 3.2.11-1
+- Update to 3.2.11
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 4d584ce..7b5d855 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-74eaf7e9cc625af2f775d53f9aa2ac79 lonote-3.0.6.zip
+fb53f7d5b3a34db613ba320ce9dd7a28 lonote-3.2.11.zip
More information about the scm-commits
mailing list