- Make sure libraries put in correct directory. (#205221)
This commit is contained in:
parent
1219b76477
commit
3d5de79044
14
libpfm.spec
14
libpfm.spec
@ -1,9 +1,9 @@
|
|||||||
%define DATE 060621
|
%define DATE 060621
|
||||||
%define libpfm_release 8
|
%define libpfm_release 9
|
||||||
Summary: a performance monitoring library for Linux/ia64
|
Summary: a performance monitoring library for Linux/ia64
|
||||||
Name: libpfm
|
Name: libpfm
|
||||||
Version: 3.2
|
Version: 3.2
|
||||||
Release: 0.%{DATE}.%{libpfm_release}.1
|
Release: 0.%{DATE}.%{libpfm_release}
|
||||||
License: MIT-style
|
License: MIT-style
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
ExclusiveArch: ia64 %{ix86} x86_64
|
ExclusiveArch: ia64 %{ix86} x86_64
|
||||||
@ -49,6 +49,9 @@ rm -rf %{buildroot}
|
|||||||
mkdir -p %{buildroot}/%{_prefix}
|
mkdir -p %{buildroot}/%{_prefix}
|
||||||
make install DESTDIR=%{buildroot}/%{_prefix}
|
make install DESTDIR=%{buildroot}/%{_prefix}
|
||||||
|
|
||||||
|
#hack to make put the libraries in the correct place
|
||||||
|
mv ${RPM_BUILD_ROOT}/usr/lib ${RPM_BUILD_ROOT}%{_libdir}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
%clean
|
%clean
|
||||||
@ -57,17 +60,20 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc README
|
||||||
%attr(755,root,root) %{_prefix}/lib/libpfm.so.%{PACKAGE_VERSION}.0
|
%attr(755,root,root) %{_libdir}/libpfm.so.%{PACKAGE_VERSION}.0
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc README
|
||||||
%doc %{_mandir}/man3/*
|
%doc %{_mandir}/man3/*
|
||||||
%{_prefix}/lib/libpfm.a
|
%{_libdir}/libpfm.a
|
||||||
%{_prefix}/include/*
|
%{_prefix}/include/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 19 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060621.9
|
||||||
|
- Make sure libraries put in correct directory. (#205221)
|
||||||
|
|
||||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-0.060621.8.1
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-0.060621.8.1
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user