From 2439d3a47f9e3359baf7c0c9badae9e7cc41ec3e Mon Sep 17 00:00:00 2001 From: Rakesh Pandit Date: Tue, 7 Sep 2010 17:15:45 +0530 Subject: [PATCH] - Fixed FTBFS (Patched doc/Makefile.in) --- .gitignore | 1 + uriparser-0.7.5-doc_Makefile_in.patch | 11 +++++++++++ uriparser.spec | 7 ++++++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 uriparser-0.7.5-doc_Makefile_in.patch diff --git a/.gitignore b/.gitignore index 754c0ac..dd5d8bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ uriparser-0.7.5.tar.gz +/uriparser-0.7.5.tar.gz diff --git a/uriparser-0.7.5-doc_Makefile_in.patch b/uriparser-0.7.5-doc_Makefile_in.patch new file mode 100644 index 0000000..85b5758 --- /dev/null +++ b/uriparser-0.7.5-doc_Makefile_in.patch @@ -0,0 +1,11 @@ +--- uriparser-0.7.5.org/doc/Makefile.in 2010-09-07 17:02:01.000000000 +0530 ++++ uriparser-0.7.5/doc/Makefile.in 2010-09-07 17:02:11.000000000 +0530 +@@ -344,7 +344,7 @@ + + install-data-local: + $(MKDIR_P) "$(DESTDIR)$(docdir)/html" ## Didn't work with installdirs-local +- $(INSTALL_DATA) html/*.{css,gif,html,png} "$(DESTDIR)$(docdir)/html/" ++ $(INSTALL_DATA) html/*.{css,html,png} "$(DESTDIR)$(docdir)/html/" + + uninstall-local: + -rm -Rf "$(DESTDIR)$(docdir)/html" diff --git a/uriparser.spec b/uriparser.spec index 256e4af..89e1989 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,12 +1,13 @@ Name: uriparser Version: 0.7.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: URI parsing library - RFC 3986 Group: System Environment/Libraries License: BSD URL: http://%{name}.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Patch0: uriparser-0.7.5-doc_Makefile_in.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: doxygen, graphviz, cpptest-devel Requires: cpptest @@ -27,6 +28,7 @@ developing applications that use %{name}. %prep %setup -q +%patch0 -p1 -b .doc_Makefile_in sed -i 's/\r//' THANKS sed -i 's/\r//' COPYING iconv -f iso-8859-1 -t utf-8 -o THANKS{.utf8,} @@ -85,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Tue Sep 07 2010 Rakesh Pandit 0.7.5-3 +- Fixed FTBFS + * Sun Jul 26 2009 Fedora Release Engineering - 0.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild