From 5e271e19cc315bb431d9f4e37bebea5042104237 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 22 Feb 2015 17:42:06 +0100 Subject: [PATCH] Fix the build Seed support is gone upstream -- remove the support from the spec file as well. --- libpeas.spec | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/libpeas.spec b/libpeas.spec index 7db20df..0002ec2 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -1,11 +1,3 @@ -%if 0%{?rhel} == 0 -%global use_seed 1 -%global seed_option --enable-seed -%else -%global use_seed 0 -%global seed_option --disable-seed -%endif - Name: libpeas Version: 1.13.0 Release: 1%{?dist} @@ -23,9 +15,6 @@ BuildRequires: python-devel BuildRequires: python3-devel BuildRequires: intltool BuildRequires: libtool -%if %{use_seed} -BuildRequires: seed-devel -%endif BuildRequires: gtk-doc BuildRequires: glade-devel @@ -51,7 +40,7 @@ that are needed to write applications that use libpeas. %setup -q %build -%configure %{seed_option} +%configure make %{?_smp_mflags} @@ -65,7 +54,6 @@ rm $RPM_BUILD_ROOT/%{_libdir}/lib*.la \ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/peas-demo chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libpython3loader.so chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libpythonloader.so -chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libseedloader.so chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-gtk-1.0.so chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/helloworld/libhelloworld.so chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/secondtime/libsecondtime.so @@ -93,9 +81,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %dir %{_libdir}/libpeas-1.0/loaders %{_libdir}/libpeas-1.0/loaders/libpythonloader.so %{_libdir}/libpeas-1.0/loaders/libpython3loader.so -%if %{use_seed} -%{_libdir}/libpeas-1.0/loaders/libseedloader.so -%endif %{_libdir}/girepository-1.0/*.typelib %{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*