aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2021-05-23 12:02:40 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2021-05-23 12:03:08 +0200
commitd403a16965ae0b9e53e14cc5a61e3901ee339772 (patch)
treef51123b164e5e8d1d708465384ac5389b82ad732
parentbd759c5f6b4d7c63a4cca3bb7c05fbe482eb2778 (diff)
downloadpsmq-d403a16965ae0b9e53e14cc5a61e3901ee339772.tar.gz
psmq-d403a16965ae0b9e53e14cc5a61e3901ee339772.tar.bz2
psmq-d403a16965ae0b9e53e14cc5a61e3901ee339772.zip
pkg/rpm/psmq.spec.tempalte: update deps for rpm
no_ci Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--pkg/rpm/psmq.spec.template16
1 files changed, 4 insertions, 12 deletions
diff --git a/pkg/rpm/psmq.spec.template b/pkg/rpm/psmq.spec.template
index e5102b4..6958195 100644
--- a/pkg/rpm/psmq.spec.template
+++ b/pkg/rpm/psmq.spec.template
@@ -10,8 +10,8 @@ Source0: https://git.bofc.pl/psmq/snapshot/psmq-%{version}.tar.gz
Vendor: Bits of Code
Packager: Michał Łyszczek <michal.lyszczek@bofc.pl>
-BuildRequires: embedlog >= 0.5.0, automake autoconf libtool
-Requires: embedlog >= 0.5.0
+BuildRequires: embedlog >= 0.6.0, automake autoconf libtool
+Requires: embedlog >= 0.6.0
%description
psmq is publish ssubscribe message queue. It's a set of programs and libraries
@@ -44,16 +44,8 @@ make %{?_smp_mflags}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib64/libpsmqd.a
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib64/libpsmqd.la
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib64/libpsmqd.so
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib64/libpsmqd.so.0
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib64/libpsmqd.so.0.1.1
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib/libpsmqd.a
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib/libpsmqd.la
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib/libpsmqd.so
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib/libpsmqd.so.0
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib/libpsmqd.so.0.1.1
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib64/libpsmqd.*
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -f $RPM_BUILD_ROOT/usr/lib/libpsmqd.*
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT