[radiotray] Fix for the doc change in F20
Jean-Francois Saucier
jfsaucier at fedoraproject.org
Wed Aug 7 03:07:42 UTC 2013
commit 450f96ff4c404175c1b59e19715385de1dce2059
Author: Jean-Francois Saucier <jsaucier at gmail.com>
Date: Tue Aug 6 23:07:29 2013 -0400
Fix for the doc change in F20
radiotray.spec | 7 ++++++-
radiotray_fix_docdir.patch | 12 ++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/radiotray.spec b/radiotray.spec
index 87a16e5..369ea92 100644
--- a/radiotray.spec
+++ b/radiotray.spec
@@ -5,13 +5,14 @@
Name: radiotray
Version: 0.7.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Radio Tray is a streaming player for listening to online radios
BuildArch: noarch
Group: Applications/Multimedia
License: GPL+
URL: http://radiotray.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0: radiotray_fix_docdir.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# Explicit dependencies required because there is no automatic dependencies
@@ -29,6 +30,7 @@ radios. And that's the sole purpose of Radio Tray.
%prep
%setup -q
+%patch0 -p1
# Remove unnecessary shebang
sed -i -e '/^#!\//, 1d' src/radiotray.py
@@ -56,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/radiotray-0.?.?-py?.?.egg-info
%changelog
+* Tue Aug 06 2013 Jean-Francois Saucier <jsaucier at gmail.com> - 0.7.3-2
+- Fix for the docdir change in F20
+
* Tue Aug 06 2013 Jean-Francois Saucier <jsaucier at gmail.com> - 0.7.3-1
- Update to new upstream version
diff --git a/radiotray_fix_docdir.patch b/radiotray_fix_docdir.patch
new file mode 100644
index 0000000..4813521
--- /dev/null
+++ b/radiotray_fix_docdir.patch
@@ -0,0 +1,12 @@
+diff -up radiotray-0.7.3/setup.py.orig radiotray-0.7.3/setup.py
+--- radiotray-0.7.3/setup.py.orig 2013-08-06 22:53:35.450026472 -0400
++++ radiotray-0.7.3/setup.py 2013-08-06 22:53:54.764025286 -0400
+@@ -86,8 +86,6 @@ setup(name='radiotray',
+ scripts=['radiotray'],
+ data_files = [
+ ('share/applications', glob.glob('data/*.desktop')),
+- ('share/doc/radiotray-%s' % APPVERSION,
+- ['AUTHORS', 'CONTRIBUTORS', 'COPYING', 'NEWS', 'README']),
+ ('share/radiotray/images', glob.glob('data/images/*.png')),
+ ('share/radiotray/images', glob.glob('data/images/*.gif')),
+ ('share/pixmaps', glob.glob('data/images/radiotray.png')),
More information about the scm-commits
mailing list