diff --git a/import.log b/import.log deleted file mode 100644 index 5ccfa52..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -rest-0_3-1_fc11:HEAD:rest-0.3-1.fc11.src.rpm:1245360039 diff --git a/rest.spec b/rest.spec index dfc7598..82fb59a 100644 --- a/rest.spec +++ b/rest.spec @@ -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 0.5-3 +- A few minor spec file cleanups + * Sun Jul 26 2009 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild