[dwz] 0.3-1

Jakub Jelinek jakub at fedoraproject.org
Fri Jun 15 13:18:22 UTC 2012


commit d1a90819398295811f823117f5d5d9555116c29e
Author: Jakub Jelinek <jakub at redhat.com>
Date:   Fri Jun 15 15:18:21 2012 +0200

    0.3-1

 .gitignore |    1 +
 dwz.spec   |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6f91045 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dwz-0.3.tar.bz2
diff --git a/dwz.spec b/dwz.spec
new file mode 100644
index 0000000..508d440
--- /dev/null
+++ b/dwz.spec
@@ -0,0 +1,49 @@
+Summary: DWARF optimization and duplicate removal tool
+Name: dwz
+Version: 0.3
+Release: 1%{?dist}
+License: GPLv2+ and GPLv3+
+Group: Development/Tools
+# git archive --format=tar --remote=git://sourceware.org/git/dwz.git \
+#   --prefix=%{name}-%{version}/ %{name}-%{version} \
+#   | bzip2 -9 > %{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.bz2
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRequires: elfutils-libelf-devel%{?_isa}
+
+%description
+The dwz package contains a program that attempts to optimize DWARF
+debugging information contained in ELF shared libraries and ELF executables
+for size, by replacing DWARF information representation with equivalent
+smaller representation where possible and by reducing the amount of
+duplication using techniques from DWARF standard appendix E - creating
+DW_TAG_partial_unit compilation units (CUs) for duplicated information
+and using DW_TAG_imported_unit to import it into each CU that needs it.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} CFLAGS='%{optflags}' prefix=%{_prefix} \
+  mandir=%{_mandir} bindir=%{_bindir}
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \
+  install
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING3 COPYING.RUNTIME
+%{_bindir}/dwz
+%{_mandir}/man1/dwz.1*
+
+%changelog
+* Fri Jun 15 2012 Jakub Jelinek <jakub at redhat.com> 0.3-1
+- update to dwz-0.3 (#830863)
+
+* Mon Jun 11 2012 Jakub Jelinek <jakub at redhat.com> 0.2-1
+- new package
diff --git a/sources b/sources
index e69de29..febe70d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+341ffab4619b75826b08d748831c2cd4  dwz-0.3.tar.bz2


More information about the scm-commits mailing list