rpms/rest/devel rest.spec,1.4,1.5 import.log,1.1,NONE

Peter Robinson pbrobinson at fedoraproject.org
Fri Aug 7 12:05:30 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/rest/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4662

Modified Files:
	rest.spec 
Removed Files:
	import.log 
Log Message:
- Spec file cleanups


Index: rest.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rest/devel/rest.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- rest.spec	27 Jul 2009 02:59:41 -0000	1.4
+++ rest.spec	7 Aug 2009 12:05:30 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           rest
 Version:        0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A library for access to RESTful web services
 
 Group:          System Environment/Libraries
@@ -13,12 +13,9 @@ BuildRequires: glib2-devel
 BuildRequires: libsoup-devel
 BuildRequires: libxml2-devel
 BuildRequires: gtk-doc
-BuildRequires: pkgconfig
 
 # Require these because the git tarball doesn't have the configure built
 BuildRequires: libtool
-BuildRequires: automake
-BuildRequires: autoconf
 
 %description
 This library was designed to make it easier to access web services that
@@ -42,17 +39,20 @@ Files for development with %{name}.
 %prep
 %setup -q -n librest-%{version}
 
-%build
+# Don't run configure from autogen.sh
+sed -i 's|echo|exit 0|g' autogen.sh
 ./autogen.sh
+
+%build
 %configure --disable-static --enable-gtk-doc
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot} INSTALL='install -p'
 
-#Remove libtool archives
-rm -rf %{buildroot}/%{_libdir}/*.la
+#Remove libtool archives.
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
 %clean
 rm -rf %{buildroot}
@@ -72,9 +72,12 @@ rm -rf %{buildroot}
 %{_includedir}/rest
 %{_libdir}/pkgconfig/rest.pc
 %{_libdir}/librest.so
-%{_datadir}/gtk-doc/html/rest
+%{_datadir}/gtk-doc/html/%{name}
 
 %changelog
+* Fri Aug  7 2009 Peter Robinson <pbrobinson at gmail.com> 0.5-3
+- A few minor spec file cleanups
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


--- import.log DELETED ---




More information about the fedora-extras-commits mailing list