packages: smbldap-tools/smbldap-tools.spec - add trigger to upgrade to 0.9.7
glen
glen at pld-linux.org
Sun Apr 29 13:41:34 CEST 2012
Author: glen Date: Sun Apr 29 11:41:34 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- add trigger to upgrade to 0.9.7
---- Files affected:
packages/smbldap-tools:
smbldap-tools.spec (1.34 -> 1.35)
---- Diffs:
================================================================
Index: packages/smbldap-tools/smbldap-tools.spec
diff -u packages/smbldap-tools/smbldap-tools.spec:1.34 packages/smbldap-tools/smbldap-tools.spec:1.35
--- packages/smbldap-tools/smbldap-tools.spec:1.34 Sun Apr 29 13:37:18 2012
+++ packages/smbldap-tools/smbldap-tools.spec Sun Apr 29 13:41:29 2012
@@ -59,10 +59,16 @@
cp -p smbldap.conf smbldap_bind.conf $RPM_BUILD_ROOT%{_sysconfdir}/smbldap-tools
install -p smbldap-config.cmd $RPM_BUILD_ROOT%{_sbindir}/smbldap-config
+install -p smbldap-upgrade-0.9.6.cmd $RPM_BUILD_ROOT%{_sbindir}/smbldap-upgrade-0.9.6.pl
%clean
rm -rf $RPM_BUILD_ROOT
+%triggerpostun -- %{name} < 0.9.7-0
+if [ "$1" -eq "2" ]; then ## Upgrade
+ %{_sbindir}/smbldap-upgrade-0.9.6.pl || :
+fi
+
%files
%defattr(644,root,root,755)
%doc CONTRIBUTORS ChangeLog FILES INFRA README INSTALL TODO
@@ -84,6 +90,7 @@
%attr(755,root,root) %{_sbindir}/smbldap-userlist
%attr(755,root,root) %{_sbindir}/smbldap-usermod
%attr(755,root,root) %{_sbindir}/smbldap-usershow
+%attr(755,root,root) %{_sbindir}/smbldap-upgrade-0.9.6.pl
%{perl_vendorlib}/smbldap_tools.pm
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -92,6 +99,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.35 2012/04/29 11:41:29 glen
+- add trigger to upgrade to 0.9.7
+
Revision 1.34 2012/04/29 11:37:18 glen
- verbose files in sbindir; disable autodeps bcond (or drop it?)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/smbldap-tools/smbldap-tools.spec?r1=1.34&r2=1.35
More information about the pld-cvs-commit
mailing list