diff options
author | Mark Ferrell <major@homeonderanged.org> | 2014-02-20 12:53:40 -0800 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2014-02-20 12:53:40 -0800 |
commit | 60ed91ed99f360007fb753386a8e34ddee06d421 (patch) | |
tree | 45dff74cccafa5cff36eb3a7052664d4432adb8b | |
parent | 032185875ed298835176058c66d37cd7f81f4d03 (diff) |
Improve export filtering
* We remove more "dev" items from the exported rpm by default now. In the
long run we should be dividing this data into dev rpm's and dbg rpm's.
-rwxr-xr-x | builder/build-export | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/builder/build-export b/builder/build-export index a873b4e..732b888 100755 --- a/builder/build-export +++ b/builder/build-export @@ -69,7 +69,11 @@ ${DESCRIPTION} %files EOF -tr '\000' '\n' < "${SYSROOT}/var/db/binpkgs/${CATEGORY}/${NAME}" | sed -e 's,^,/,' >> "${S}/SPECS/${NAME}-${VERSION}.spec" +# FIXME In the long run we should see about producing -dbg and -dev rpms +tr '\000' '\n' < "${SYSROOT}/var/db/binpkgs/${CATEGORY}/${NAME}" \ + | sed -e 's,^,/,' \ + | grep -v '^/usr/include' | grep -v 'pkgconfig' | grep -v '^*\.a$' \ + >> "${S}/SPECS/${NAME}-${VERSION}.spec" #mkdir -p "${D}" #cd "${D}" |