[pybliographer] Update to 1.2.16

Zoltan Kota zkota at fedoraproject.org
Thu Sep 5 11:32:31 UTC 2013


commit 22102a9395e8707256e6668c0e12dd83a85a0564
Author: Zoltan Kota <zoltank at gmail.com>
Date:   Thu Sep 5 13:32:14 2013 +0200

    Update to 1.2.16

 .gitignore         |    1 +
 pybliographer.spec |   47 ++++++++++++++++++-----------------------------
 sources            |    2 +-
 3 files changed, 20 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5b03c9c..e95a7d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 pybliographer-1.2.13.tar.gz
 /pybliographer-1.2.14.tar.gz
 /pybliographer-1.2.15.tar.gz
+/pybliographer-1.2.16.tar.xz
diff --git a/pybliographer.spec b/pybliographer.spec
index d15a81a..d01d9db 100644
--- a/pybliographer.spec
+++ b/pybliographer.spec
@@ -1,12 +1,11 @@
 Summary: Framework for working with bibliographic databases
 Name: pybliographer
-Version: 1.2.15
-Release: 7%{?dist}
+Version: 1.2.16
+Release: 1%{?dist}
 License: GPLv2+ and CC-BY-SA
 Group: Applications/Publishing
-Source: http://downloads.sourceforge.net/pybliographer/pybliographer-1.2.15.tar.gz
-Url: http://www.pybliographer.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source: http://downloads.sourceforge.net/pybliographer/pybliographer-1.2.16.tar.xz
+URL: http://www.pybliographer.org/
 BuildArch: noarch
 
 BuildRequires: pygtk2-libglade
@@ -50,10 +49,9 @@ file formats: BibTeX, ISI, Medline, Ovid, Refer.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make DESTDIR=$RPM_BUILD_ROOT install
 
-%__rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache
+rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache
 
 desktop-file-install \
 %if 0%{?fedora} && 0%{?fedora} < 19
@@ -65,27 +63,14 @@ desktop-file-install \
   $RPM_BUILD_ROOT%{_datadir}/applications/*
 
 
-
 %{find_lang} %{name}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %post
-
-# run update-desktop-database if exists
-if [ -x /usr/bin/update-desktop-database ]; then
-	/usr/bin/update-desktop-database %{_datadir}/applications
-fi
-
+/usr/bin/update-desktop-database &> /dev/null || :
 
 %postun
-
-# run update-desktop-database if exists
-if [ -x /usr/bin/update-desktop-database ]; then
-	/usr/bin/update-desktop-database %{_datadir}/applications
-fi
+/usr/bin/update-desktop-database &> /dev/null || :
 
 
 %files -f %{name}.lang
@@ -103,17 +88,21 @@ fi
 %dir %{_datadir}/pybliographer
 %{_datadir}/pybliographer/Pyblio
 %{_datadir}/pybliographer/Styles
-%{_datadir}/pybliographer/pybcheck.py*
-%{_datadir}/pybliographer/pybcompact.py*
-%{_datadir}/pybliographer/pybconvert.py*
-%{_datadir}/pybliographer/pybformat.py*
+%{_datadir}/pybliographer/pybliocheck.py*
+%{_datadir}/pybliographer/pybliocompact.py*
+%{_datadir}/pybliographer/pyblioconvert.py*
+%{_datadir}/pybliographer/pyblioformat.py*
 %{_datadir}/pybliographer/pybliographic.py*
-%{_datadir}/pybliographer/pybtex.py*
-%{_datadir}/pybliographer/pybtext.py*
+%{_datadir}/pybliographer/pybliotex.py*
+%{_datadir}/pybliographer/pybliotext.py*
 %config %{_datadir}/pybliographer/pybrc.py*
 
 
 %changelog
+* Wed Sep 04 2013 Zoltan Kota <zoltank at gmail.com> - 1.2.16-1
+- update to 1.2.16
+- spec file cleanup
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.15-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 76580d5..9acc778 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c82566c9a8b822c435254c2d07ee7411  pybliographer-1.2.15.tar.gz
+034b2d58dc75ca3f1389494e9f5ee9aa  pybliographer-1.2.16.tar.xz


More information about the scm-commits mailing list