try again...

This commit is contained in:
Christopher Aillon 2006-07-25 17:04:33 +00:00
parent c9ed5d97c6
commit 995c7788d3

View File

@ -249,27 +249,17 @@ done
%{__rm} -rf firefox-langpacks %{__rm} -rf firefox-langpacks
# Prepare our devel package # Prepare our devel package
%{__mkdir_p} $RPM_BUILD_ROOT/fftemp %{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/firefox-%{version}
DESTDIR=$RPM_BUILD_ROOT/fftemp \ %{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/idl/firefox-%{version}
make install install -c -m 644 dist/include/* \
$RPM_BUILD_ROOT/%{_includedir}/firefox-%{version}
%{__rm} -f %{builddir}/firefox-devel.list install -c -m 644 dist/idl/* \
echo %defattr\(-,root,root\) > %{builddir}/firefox-devel.list $RPM_BUILD_ROOT/%{_datadir}/idl/firefox-%{version}
find $RPM_BUILD_ROOT/fftemp%{_includedir}/firefox-%{version}/ -type f | \
sed -e "s,$RPM_BUILD_ROOT,," >> \
%{builddir}/firefox-devel.list
find $RPM_BUILD_ROOT/fftemp%{_datadir}/idl/firefox-%{version}/ -type f | \
sed -e "s,$RPM_BUILD_ROOT,," >> \
%{builddir}/firefox-devel.list
sed -i -e 's,fftemp/,,' \
-e 's,^%{_prefix}/local,%{_prefix},' \
%{builddir}/firefox-devel.list
install -c -m 755 dist/bin/xpcshell \ install -c -m 755 dist/bin/xpcshell \
dist/bin/xpidl \ dist/bin/xpidl \
dist/bin/xpt_dump \ dist/bin/xpt_dump \
dist/bin/xpt_link \ dist/bin/xpt_link \
$RPM_BUILD_ROOT/%{ffdir} $RPM_BUILD_ROOT/%{ffdir}
%{__rm} -rf $RPM_BUILD_ROOT/fftemp
# ghost files # ghost files
touch $RPM_BUILD_ROOT%{ffdir}/components/compreg.dat touch $RPM_BUILD_ROOT%{ffdir}/components/compreg.dat
@ -329,9 +319,10 @@ fi
%ghost %{ffdir}/components/compreg.dat %ghost %{ffdir}/components/compreg.dat
%ghost %{ffdir}/components/xpti.dat %ghost %{ffdir}/components/xpti.dat
%files devel -f firefox-devel.list %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/idl/firefox-%{version}/* %{_datadir}/idl/firefox-%{version}
%{_includedir}/firefox-%{version}
%{ffdir}/xpcshell %{ffdir}/xpcshell
%{ffdir}/xpicleanup %{ffdir}/xpicleanup
%{ffdir}/xpidl %{ffdir}/xpidl