[goffice] add pcre-devel dep

Peter Robinson pbrobinson at fedoraproject.org
Wed Dec 7 00:12:04 UTC 2011


commit 80bc250992cfee947042dfc2e64b625b22a38204
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Dec 7 00:11:40 2011 +0000

    add pcre-devel dep

 goffice.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/goffice.spec b/goffice.spec
index e0b7a26..0f9a3ba 100644
--- a/goffice.spec
+++ b/goffice.spec
@@ -1,17 +1,18 @@
 Name:           goffice         
 Version:        0.8.17
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Goffice support libraries
 Group:          System Environment/Libraries
 # bug filed upstream about this being GPL v2 only:
 # http://bugzilla.gnome.org/show_bug.cgi?id=463248
 License:        GPLv2
 URL:            http://freshmeat.net/projects/goffice/
-Source0:        http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
+
 BuildRequires:  libgsf-gnome-devel     >= 1.13.3
 BuildRequires:  libgnomeui-devel       >= 2.0.0
 BuildRequires:  intltool gettext
+BuildRequires:  pcre-devel
 
 %description
 Support libraries for gnome office
@@ -41,7 +42,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 %find_lang goffice-%{version}
 rm $RPM_BUILD_ROOT/%{_libdir}/*.la
@@ -53,10 +53,6 @@ rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{version}/plugins/*/*.la
 %postun -p /sbin/ldconfig
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files -f goffice-%{version}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README
@@ -73,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Dec  6 2011 Peter Robinson <pbrobinson at fedoraproject.org> -0.8.17-3
+- add pcre-devel dep
+
 * Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 0.8.17-2
 - Rebuild for new libpng
 


More information about the scm-commits mailing list