]> git.pld-linux.org Git - packages/binutils.git/commitdiff
- added missing modification for static subpackage,
authorkloczek <kloczek@pld-linux.org>
Sun, 23 Aug 1998 01:57:04 +0000 (01:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added striping shared libs in %install,
- removed /usr/lib/lib*.la files.

Changed files:
    binutils.spec -> 1.2

binutils.spec

index 6bdf16902be987a1cc79e68f3d4c465f3e7e5ce1..e0b849b1ef4e68f62c9d8746b9ca9c1b60b04163 100644 (file)
@@ -23,6 +23,17 @@ Pakiet binutils zawiera zestaw narz
 programów. Zawiera on assembler, konsolidator (linker), a tak¿e inne narzêdzia
 do manipulowania na binarnych plikach programów i bibliotek.
 
+%package static
+Summary:     GNU Binutils static libraries
+Summary(pl): Biblioteki statyczne do GNU Binutils
+Group:       Libraries
+
+%description static
+Static libraries for GNU Binutils.
+
+%description -l pl static
+Biblioteki statyczne do GNU Binutils.
+
 %prep
 %setup -q
 (cd bfd;
@@ -41,7 +52,7 @@ make  install install-info \
        prefix=$RPM_BUILD_ROOT/usr \
        tooldir=$RPM_BUILD_ROOT/usr
 
-strip $RPM_BUILD_ROOT/usr/bin/*
+strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
 gzip -q9f $RPM_BUILD_ROOT/usr/info/*.info*
 
 install include/libiberty.h $RPM_BUILD_ROOT/usr/include
@@ -77,15 +88,21 @@ fi
 /usr/bin/*
 %attr(644, root,  man) /usr/man/man1/*
 /usr/include/*
-/usr/lib/*
+%attr(755, root, root) /usr/lib/lib*.so.*.*
+/usr/lib/lib*.so
+/usr/lib/ldscripts
 /usr/info/*info*
 
+%files static
+/usr/lib/lib*.a
+
 %changelog
 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
   [2.9.1.0.10-3]
 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
 - added using %%{name} and %%{version} in Source,
 - added static subpackage,
+- removed /usr/lib/lib*.la files,
 - added using $RPM_OPT_FLAGS during building package,
 - added striping shared libraries,
 - added %attr and %defattr macros in %files (allow build package from
This page took 0.230982 seconds and 4 git commands to generate.