[Lsb-messages] /var/www/bzr/lsb/4.1/appbat r967: More buildroot munging for modern rpms (libbat)

Stew Benedict stewb at linux-foundation.org
Thu Jan 31 14:07:03 UTC 2013


------------------------------------------------------------
revno: 967
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: appbat
timestamp: Thu 2013-01-31 09:07:03 -0500
message:
  More buildroot munging for modern rpms (libbat)
modified:
  rpm/libbat.spec.in
-------------- next part --------------
=== modified file 'rpm/libbat.spec.in'
--- a/rpm/libbat.spec.in	2012-06-05 19:58:44 +0000
+++ b/rpm/libbat.spec.in	2013-01-31 14:07:03 +0000
@@ -21,6 +21,11 @@
 they are issued under by the maintainers.
 
 %prep
+if [ -d %{pkgroot}/libbat ]; then
+  cd %{pkgroot}
+  ln -sf libbat %{name}
+  cd -
+fi
 
 %install
 # With the addition of xproto to libbat, we have some overlap with
@@ -41,6 +46,7 @@
 done
 
 %clean
+rm -f %{pkgroot}/%{name}
 
 %pre
 



More information about the lsb-messages mailing list