[krop/f22] Update to 0.4.7
Christopher Meng
cicku at fedoraproject.org
Thu Feb 19 04:10:54 UTC 2015
commit 3a5d1d5994cf0b789976505ac98cf5f4cdb89e78
Author: Christopher Meng <i at cicku.me>
Date: Thu Feb 19 12:10:22 2015 +0800
Update to 0.4.7
.gitignore | 1 +
krop.spec | 14 ++++++++++----
sources | 2 +-
3 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index be17a44..3f1b3ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/krop-0.4.4.tar.gz
/krop-0.4.5.tar.gz
/krop-0.4.6.tar.gz
+/krop-0.4.7.tar.gz
diff --git a/krop.spec b/krop.spec
index d1e96ae..92bc78a 100644
--- a/krop.spec
+++ b/krop.spec
@@ -1,12 +1,13 @@
Name: krop
-Version: 0.4.6
-Release: 2%{?dist}
+Version: 0.4.7
+Release: 1%{?dist}
Summary: Tool to crop PDF files with an eye towards eReaders
License: GPLv3+
-URL: http://arminstraub.com/computer/krop
+URL: http://arminstraub.com/software/krop
Source0: http://arminstraub.com/downloads/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: pyPdf
@@ -34,9 +35,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
sed -i '1d' %{buildroot}%{python2_sitelib}/%{name}/krop.py
mkdir -p %{buildroot}%{_datadir}/appdata
install -pm 644 %{name}.appdata.xml %{buildroot}%{_datadir}/appdata
+#DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
%check
%{__python2} setup.py check
+apstream-util validate --relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
%post
update-desktop-database &> /dev/null || :
@@ -50,9 +53,12 @@ update-desktop-database &> /dev/null || :
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info
-%{python2_sitelib}/%{name}
+%{python2_sitelib}/%{name}/
%changelog
+* Tue Feb 17 2015 Christopher Meng <rpm at cicku.me> - 0.4.7-1
+- Update to 0.4.7
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 73a0f6f..75fd9c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ad1d96372f81e5cc93c82b26018c1a24 krop-0.4.6.tar.gz
+43b7c11f09b484a5516bcaf24cd0919e krop-0.4.7.tar.gz
More information about the scm-commits
mailing list