[pal] Fix FTBFS caused by unversioned docdir change (#992423)

Hans de Goede jwrdegoede at fedoraproject.org
Mon Aug 5 12:15:04 UTC 2013


commit 1548e0ffb50ac687111ac53d436117455ac0a964
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Mon Aug 5 14:21:50 2013 +0200

    Fix FTBFS caused by unversioned docdir change (#992423)

 pal.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/pal.spec b/pal.spec
index aa835f0..4aedd60 100644
--- a/pal.spec
+++ b/pal.spec
@@ -1,7 +1,7 @@
 Summary:    Command line calendar that displays holidays and events
 Name:       pal
 Version:    0.4.3
-Release:    7%{?dist}
+Release:    8%{?dist}
 License:    GPLv2+
 Group:      Applications/Productivity
 Url:        http://palcal.sourceforge.net
@@ -29,10 +29,10 @@ make DEBUG=1 -C src OPT="$RPM_OPT_FLAGS"
 
 %install
 make -C src DESTDIR="$RPM_BUILD_ROOT" install-no-rm
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
 %find_lang %{name}
 
 %files -f %{name}.lang
-%defattr(-,root,root,-)
 %doc doc/example.css COPYING ChangeLog
 %config(noreplace) %{_sysconfdir}/pal.conf
 %{_bindir}/pal
@@ -42,6 +42,9 @@ make -C src DESTDIR="$RPM_BUILD_ROOT" install-no-rm
 %{_datadir}/man/man1/vcard2pal.1.gz
 
 %changelog
+* Mon Aug 05 2013 Hans de Goede <hdegoede at redhat.com> - 0.4.3-8
+- Fix FTBFS caused by unversioned docdir change (#992423)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.3-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list