Fix unpackaged files on x86_64

This commit is contained in:
Oliver Falk 2006-02-24 07:14:16 +00:00
parent 1814a23a83
commit 8a6e06730c

View File

@ -45,7 +45,7 @@
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Name: graphviz Name: graphviz
Version: 2.8 Version: 2.8
Release: 1%{?dist} Release: 2%{?dist}
Group: Applications/Multimedia Group: Applications/Multimedia
License: CPL License: CPL
URL: http://www.graphviz.org/ URL: http://www.graphviz.org/
@ -272,13 +272,10 @@ This package contains development files for %{name}.
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/%{name} %{_includedir}/%{name}
#%{_includedir}/ltdl.h
#%{_libdir}/*.so*
%{_libdir}/%{name}/*.so %{_libdir}/%{name}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%exclude %{_libdir}/%{name}/*/* %exclude %{_libdir}/%{name}/*/*
#%exclude %{_libdir}/libltdl*
#------------------------------------------------------------------ #------------------------------------------------------------------
%package graphs %package graphs
@ -326,6 +323,10 @@ chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/lefty/*
cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
# There files are crated on x86_64 for what reason? I don't know...
rm -f %{_includedir}/ltdl.h
rm -f %{_libdir}/libltdl*
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -338,6 +339,9 @@ rm -rf $RPM_BUILD_ROOT
if ! test -x %{_bindir}/dot; then rm -f %{_libdir}/%{name}/config; fi if ! test -x %{_bindir}/dot; then rm -f %{_libdir}/%{name}/config; fi
%changelog %changelog
* Fri Feb 24 2006 Oliver Falk <oliver@linux-kernel.at> - 2.8-2
- Fix unpackaged files on x86_64
* Wed Feb 22 2006 Oliver Falk <oliver@linux-kernel.at> - 2.8-1 * Wed Feb 22 2006 Oliver Falk <oliver@linux-kernel.at> - 2.8-1
- Merge with specfile from Paul F. Johnson - Merge with specfile from Paul F. Johnson
- Update - Update