Ver código fonte

elfutils: update to 0.152

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3306 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 13 anos atrás
pai
commit
0149f42073
1 arquivos alterados com 11 adições e 8 exclusões
  1. 11 8
      e/elfutils/elfutils-vl.spec

+ 11 - 8
e/elfutils/elfutils-vl.spec

@@ -1,5 +1,5 @@
-%define eu_version 0.135
-%define eu_release 2
+%define eu_version 0.152
+%define eu_release 1
 
 Summary: A collection of utilities and DSOs to handle compiled objects
 Name: elfutils
@@ -8,9 +8,7 @@ Release: %{eu_release}%{?_dist_release}
 License: GPLv2 with exceptions
 Group: Development/Tools
 URL: https://fedorahosted.org/elfutils/
-Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.gz
-Patch1: elfutils-portability.patch
-Patch2: elfutils-robustify.patch
+Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
 ##VINE##
 Patch10: elfutils-0.131-readelf_c.patch
 
@@ -134,8 +132,6 @@ for libelf.
 %prep
 %setup -q
 
-%patch2 -p1 -b .robustify
-
 %patch10 -p0 -b .readelf_c
 
 find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
@@ -158,12 +154,15 @@ make -s install DESTDIR=${RPM_BUILD_ROOT}
 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
 
+%find_lang %{name}
+
 # XXX Nuke unpackaged files
 { cd ${RPM_BUILD_ROOT}
   rm -f .%{_bindir}/eu-ld
 }
 
 
+
 %check
 make -s check
 
@@ -181,7 +180,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %postun libelf -p /sbin/ldconfig
 
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc README TODO
 %{_bindir}/eu-addr2line
@@ -220,6 +219,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_includedir}/elfutils/libebl.h
 %{_includedir}/elfutils/libdw.h
 %{_includedir}/elfutils/libdwfl.h
+%{_includedir}/elfutils/version.h
 %{_libdir}/libebl.a
 %{_libdir}/libasm.so
 %{_libdir}/libdw.so
@@ -251,6 +251,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Tue Apr 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.152-1
+- update to 0.152
+
 * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.135-2
 - elfutils-libs: changed Group to System Environment/Libraries
 - elfutils-libelf: changed Group to System Environment/Libraries