- Don't install Makefile's as %doc, avoiding a multilib conflict (bz
342281)
This commit is contained in:
parent
489aa34ad5
commit
d5ad8e61e1
11
libogg.spec
11
libogg.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The Ogg bitstream file format library
|
Summary: The Ogg bitstream file format library
|
||||||
Name: libogg
|
Name: libogg
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -43,6 +43,10 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
# remove unpackaged files from the buildroot
|
# remove unpackaged files from the buildroot
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
# create a cleaned up (Makefile free) copy of doc/libogg for %doc
|
||||||
|
mkdir -p _doc/libogg
|
||||||
|
cp -p doc/libogg/*.html doc/libogg/*.css _doc/libogg
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS CHANGES COPYING README
|
%doc AUTHORS CHANGES COPYING README
|
||||||
@ -53,7 +57,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||||||
%doc doc/*.html
|
%doc doc/*.html
|
||||||
%doc doc/*.txt
|
%doc doc/*.txt
|
||||||
%doc doc/*.png
|
%doc doc/*.png
|
||||||
%doc doc/libogg
|
%doc _doc/libogg
|
||||||
%dir %{_includedir}/ogg
|
%dir %{_includedir}/ogg
|
||||||
%{_includedir}/ogg/ogg.h
|
%{_includedir}/ogg/ogg.h
|
||||||
%{_includedir}/ogg/os_types.h
|
%{_includedir}/ogg/os_types.h
|
||||||
@ -70,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> - 2:1.1.3-6
|
||||||
|
- Don't install Makefile's as %doc, avoiding a multilib conflict (bz 342281)
|
||||||
|
|
||||||
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 2:1.1.3-5
|
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 2:1.1.3-5
|
||||||
- Rebuild for PPC toolchain bug
|
- Rebuild for PPC toolchain bug
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user