- 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 libpfm_release 8
|
||||
%define libpfm_release 9
|
||||
Summary: a performance monitoring library for Linux/ia64
|
||||
Name: libpfm
|
||||
Version: 3.2
|
||||
Release: 0.%{DATE}.%{libpfm_release}.1
|
||||
Release: 0.%{DATE}.%{libpfm_release}
|
||||
License: MIT-style
|
||||
Group: Development/Libraries
|
||||
ExclusiveArch: ia64 %{ix86} x86_64
|
||||
@ -49,6 +49,9 @@ rm -rf %{buildroot}
|
||||
mkdir -p %{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
|
||||
%postun -p /sbin/ldconfig
|
||||
%clean
|
||||
@ -57,17 +60,20 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%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
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%doc %{_mandir}/man3/*
|
||||
%{_prefix}/lib/libpfm.a
|
||||
%{_libdir}/libpfm.a
|
||||
%{_prefix}/include/*
|
||||
|
||||
%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
|
||||
- rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user