[lonote] Update to 2.2.2

李瑞彬 cheeselee at fedoraproject.org
Wed Aug 7 02:56:59 UTC 2013


commit 61c5fe32874dc11057f3cd8ddff7866952370eca
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Wed Aug 7 10:56:20 2013 +0800

    Update to 2.2.2
    
    - Use unversioned docdir (BZ#993915)

 .gitignore  |    1 +
 lonote.spec |   15 ++++++++++-----
 sources     |    2 +-
 3 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 459a27b..1e05c45 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /lonote-1.8.7.7z
 /lonote-2.2.1.zip
+/lonote-2.2.2.zip
diff --git a/lonote.spec b/lonote.spec
index 44378bc..b7b2816 100644
--- a/lonote.spec
+++ b/lonote.spec
@@ -1,6 +1,6 @@
 Name:           lonote
-Version:        2.2.1
-Release:        2%{?dist}
+Version:        2.2.2
+Release:        1%{?dist}
 Summary:        Personal Notebook based on Qt Webkit
 License:        ASL 2.0
 URL:            https://bitbucket.org/civalin/lonote
@@ -31,10 +31,11 @@ sed -i -e '/^#!\//, 1d' lonotelib/diff_match_patch.py
 %install
 %{__python3} setup.py install --root=%{buildroot} --skip-build
 
-# Rearrage the documents to conform Fedora convention
-mv %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-%{version}
+# Remove duplicated manpage
+rm -fr %{buildroot}%{_docdir}/%{name}/man
 
 rm -r %{buildroot}%{_datadir}/%{name}/garbage
+
 # Remove bundled Whoosh
 rm -r %{buildroot}%{python3_sitelib}/lonotelib/whoosh
 
@@ -45,7 +46,7 @@ find %{buildroot}%{_datadir}/locale -name \*po |xargs rm
 %find_lang %{name}
 
 %files -f %{name}.lang
-%{_docdir}/%{name}-%{version}/
+%{_docdir}/%{name}/
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1.*
 %{python3_sitelib}/*
@@ -55,6 +56,10 @@ find %{buildroot}%{_datadir}/locale -name \*po |xargs rm
 
 
 %changelog
+* Wed Aug  7 2013 Robin Lee <cheeselee at fedoraproject.org> - 2.2.2-1
+- Update to 2.2.2
+- Use unversioned docdir (BZ#993915)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 7b0701c..0126168 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-401e423187cc555c8be71e3e70cf855f  lonote-2.2.1.zip
+68102680bc03e64b0de07cb983241edf  lonote-2.2.2.zip


More information about the scm-commits mailing list