[rednotebook] Isa

Fabian Affolter fab at fedoraproject.org
Mon Aug 13 18:59:09 UTC 2012


commit 7241700c9b3fe03c125dd88569d899e9bdc704ba
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Mon Aug 13 20:58:52 2012 +0200

    Isa

 rednotebook.spec |   21 ++++++---------------
 1 files changed, 6 insertions(+), 15 deletions(-)
---
diff --git a/rednotebook.spec b/rednotebook.spec
index 8783dcc..bc37d23 100644
--- a/rednotebook.spec
+++ b/rednotebook.spec
@@ -14,13 +14,12 @@ BuildRequires:  python2-devel
 BuildRequires:  python-setuptools-devel
 BuildRequires:  desktop-file-utils
 
-Requires:       PyYAML
-Requires:       pygtk2
-Requires:       pywebkitgtk
-Requires:       python-chardet
-Requires:       gnome-python2-extras
-Requires:       hicolor-icon-theme
-
+Requires:       PyYAML%{?_isa}
+Requires:       pygtk2%{?_isa}
+Requires:       pywebkitgtk%{?_isa}
+Requires:       python-chardet%{?_isa}
+Requires:       gnome-python2-extras%{?_isa}
+Requires:       hicolor-icon-theme%{?_isa}
 
 %description
 RedNotebook is a desktop diary that makes it very easy for you
@@ -28,15 +27,12 @@ to keep track of the stuff you do and the thoughts you have. This
 journal software helps you to write whole passages or just facts,
 and does so in style.
 
-
 %prep
 %setup -q
 
-
 %build
 %{__python} setup.py build
 
-
 %install
 rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root %{buildroot}
@@ -57,22 +53,18 @@ desktop-file-install                                    \
 %clean
 rm -rf %{buildroot}
 
-
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
-
 %postun
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
-
 %posttrans
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
-
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS CHANGELOG LICENSE README
@@ -91,7 +83,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{python_sitelib}/%{name}/util/
 %{python_sitelib}/%{name}*.egg-info
 
-
 %changelog
 * Mon Aug 13 2012 Fabian Affolter <mail at fabian-affolter.ch> - 1.5.0-1
 - Updated to new upstream version 1.5.0


More information about the scm-commits mailing list