[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/bzip2/devel bzip2.spec,1.32,1.33



Author: varekova

Update of /cvs/pkgs/rpms/bzip2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18412

Modified Files:
	bzip2.spec 
Log Message:
- fix *.so,*.a directory




Index: bzip2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bzip2/devel/bzip2.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- bzip2.spec	21 May 2007 09:20:37 -0000	1.32
+++ bzip2.spec	21 May 2007 12:25:47 -0000	1.33
@@ -1,7 +1,7 @@
 Summary: A file compression utility
 Name: bzip2
 Version: 1.0.4
-Release: 11%{?dist}
+Release: 12%{?dist}
 License: BSD
 Group: Applications/File
 URL: http://www.bzip.org/
@@ -61,10 +61,10 @@
 rm -rf ${RPM_BUILD_ROOT}
 
 chmod 644 bzlib.h 
-mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/%{_lib},%{_includedir}}
+mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/%{_lib},%{_libdir},%{_includedir}}
 cp -p bzlib.h $RPM_BUILD_ROOT%{_includedir}
 # temporary for rpm
-install -m 644 libbz2.a $RPM_BUILD_ROOT/%{_lib}
+install -m 644 libbz2.a $RPM_BUILD_ROOT%{_libdir}
 install -m 755 libbz2.so.%{version} $RPM_BUILD_ROOT/%{_lib}
 install -m 755 bzip2-shared  $RPM_BUILD_ROOT%{_bindir}/bzip2
 install -m 755 bzip2recover bzgrep bzdiff bzmore  $RPM_BUILD_ROOT%{_bindir}/
@@ -74,7 +74,7 @@
 ln -s bzdiff $RPM_BUILD_ROOT%{_bindir}/bzcmp
 ln -s bzmore $RPM_BUILD_ROOT%{_bindir}/bzless
 ln -s libbz2.so.%{version} $RPM_BUILD_ROOT/%{_lib}/libbz2.so.1
-ln -s libbz2.so.1 $RPM_BUILD_ROOT/%{_lib}/libbz2.so
+ln -s ../../%{_lib}/libbz2.so.1 $RPM_BUILD_ROOT/%{_libdir}/libbz2.so
 ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1
 ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1
 ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzcat.1
@@ -103,11 +103,14 @@
 %defattr(-,root,root,-)
 %doc manual.html manual.pdf
 %{_includedir}/*
-/%{_lib}/*so
+/%{_libdir}/*so
 # Temporary for rpm
-/%{_lib}/*.a
+%{_libdir}/*.a
 
 %changelog
+* Mon May 21 2007 Ivana Varekova <varekova redhat com> 1.0.4-12
+- fix *.so,*.a directory
+
 * Mon May 21 2007 Ivana Varekova <varekova redhat com> 1.0.4-11
 - remove libbz2.* from /usr/lib* to /lib*
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]