Fix the build
Seed support is gone upstream -- remove the support from the spec file as well.
This commit is contained in:
parent
8e92faff4e
commit
5e271e19cc
17
libpeas.spec
17
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.*
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user