include shared libs in rpm-devel (no versioning yet).
authorjbj <devnull@localhost>
Sat, 10 Jul 1999 17:21:10 +0000 (17:21 +0000)
committerjbj <devnull@localhost>
Sat, 10 Jul 1999 17:21:10 +0000 (17:21 +0000)
CVS patchset: 3139
CVS date: 1999/07/10 17:21:10

CHANGES
autogen.sh
rpm.spec

diff --git a/CHANGES b/CHANGES
index fddee5f..0f4cf8e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
 3.0.2 -> 3.0.3
        - add --eval to find result of macro expansion.
        - add configure scaffolding to support rpm-4.0 packages.
+       - include shared libs in rpm-devel (no versioning yet).
 
 3.0.1 -> 3.0.2
        - eliminate armv4 entries from rpmrc (Andrew E. Mileski).
index 3b7c91a..d4e1cbf 100755 (executable)
@@ -26,7 +26,7 @@ if [ "$1" = "--noconfigure" ]; then
 fi
 
 if [ X"$@" = X  -a "X`uname -s`" = "XLinux" ]; then
-    ./configure --prefix=/usr
+    ./configure --prefix=/usr --enable-shared
 else
     ./configure "$@"
 fi
index ff09c6a..f8b3160 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -43,14 +43,6 @@ make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/lib
-
-mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/SOURCES
-mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/SPECS
-mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/SRPMS
-mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/BUILD
-mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/RPMS/${RPM_ARCH}
-mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/RPMS/noarch
 
 make DESTDIR="$RPM_BUILD_ROOT" install
 
@@ -74,16 +66,13 @@ fi
 
 %files
 %defattr(-,root,root)
-%doc RPM-PGP-KEY CHANGES GROUPS
-%doc docs/*
+%doc RPM-PGP-KEY CHANGES GROUPS docs/*
 /bin/rpm
 /usr/bin/rpm2cpio
 /usr/bin/gendiff
 /usr/man/man8/rpm.8
 /usr/man/man8/rpm2cpio.8
 /usr/lib/rpm
-#/usr/lib/rpmrc
-#/usr/lib/rpmpopt
 %dir /usr/src/redhat
 %dir /usr/src/redhat/BUILD
 %dir /usr/src/redhat/SPECS
@@ -96,5 +85,5 @@ fi
 %files devel
 %defattr(-,root,root)
 /usr/include/rpm
-/usr/lib/librpm.a
-/usr/lib/librpmbuild.a
+/usr/lib/librpm.*
+/usr/lib/librpmbuild.*