[fatrat] rebuild due to broken deps

jvcelak jvcelak at fedoraproject.org
Tue Nov 26 19:42:26 UTC 2013


commit cf986807360b531236e6827f11aa8528b661562e
Author: Jan Vcelak <jvcelak at fedoraproject.org>
Date:   Sun Nov 17 23:56:46 2013 +0100

    rebuild due to broken deps

 fatrat.spec |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/fatrat.spec b/fatrat.spec
index 51786c7..099d77d 100644
--- a/fatrat.spec
+++ b/fatrat.spec
@@ -1,6 +1,8 @@
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
 Name: fatrat
 Version: 1.2.0
-Release: 0.14.beta2%{?dist}
+Release: 0.15.beta2%{?dist}
 Epoch: 1
 Summary: Feature-rich download manager
 Group: Applications/Internet
@@ -79,15 +81,20 @@ make %{?_smp_mflags}
 
 desktop-file-validate %{buildroot}/%{_datadir}/applications/fatrat.desktop
 
-# symlink documentation to usual docdir
-mkdir _docs_staging
-ln -s %{_datadir}/fatrat/{AUTHORS,LICENSE,README,TRANSLATIONS} -t _docs_staging
+# install documentation to proper locations
+# (leave symlinks for About dialog)
+
+install -d -m 0755 %{buildroot}%{_pkgdocdir}
+for file in AUTHORS LICENSE README TRANSLATIONS; do
+	mv %{buildroot}%{_datadir}/fatrat/${file} %{buildroot}%{_pkgdocdir}
+	ln -s %{_pkgdocdir}/${file} %{buildroot}%{_datadir}/fatrat/${file}
+done
 
 # create directory for plugins
 install -d -m 0755 %{buildroot}%{_libdir}/fatrat/plugins
 
 %files
-%doc _docs_staging/*
+%doc AUTHORS LICENSE README TRANSLATIONS
 %{_bindir}/fatrat
 %{_bindir}/fatrat-conf
 %{_datadir}/fatrat
@@ -101,6 +108,10 @@ install -d -m 0755 %{buildroot}%{_libdir}/fatrat/plugins
 %{_includedir}/fatrat
 
 %changelog
+* Sun Nov 17 2013 Jan Vcelak <jvcelak at fedoraproject.org> 1:1.2.0-0.15.beta2
+- rebuild due to broken deps
+- update unversioned doc dir
+
 * Tue Jul 30 2013 Petr Machata <pmachata at redhat.com> - 1:1.2.0-0.14.beta2
 - Rebuild for boost 1.54.0
 


More information about the scm-commits mailing list