[packages/lirc] - moved pretrans to proper package (-devel)
qboosh
qboosh at pld-linux.org
Sat Oct 8 19:29:20 CEST 2022
commit a56f003a995156a85936d3c19c01b7207c7d9e5f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 8 19:29:58 2022 +0200
- moved pretrans to proper package (-devel)
lirc.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/lirc.spec b/lirc.spec
index d639d59..f0d57f2 100644
--- a/lirc.spec
+++ b/lirc.spec
@@ -212,11 +212,6 @@ cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
-%pretrans
-if [ -L %{_includedir}/lirc/media ]; then
- rm -f %{_includedir}/lirc/media
-fi
-
%post
/sbin/chkconfig --add lircd
/sbin/chkconfig --add lircmd
@@ -242,6 +237,11 @@ fi
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%pretrans devel
+if [ -L %{_includedir}/lirc/media ]; then
+ rm -f %{_includedir}/lirc/media
+fi
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README README.conf.d contrib/lircrc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lirc.git/commitdiff/a56f003a995156a85936d3c19c01b7207c7d9e5f
More information about the pld-cvs-commit
mailing list