]> git.pld-linux.org Git - packages/drupal-mod-buddylist.git/commitdiff
- try CVS version
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 22 Dec 2005 16:43:17 +0000 (16:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-mod-buddylist.spec -> 1.2.2.1

drupal-mod-buddylist.spec

index a58de64772a7a9aacf2d1dbe3806456c9b198883..f6c806d9384f16b2fa92a4f9f8cf6adffbaea738 100644 (file)
@@ -3,11 +3,11 @@ Summary:      Drupal Buddylist Module
 Summary(pl):   Modu³ Buddylist dla Drupala
 Name:          drupal-mod-%{modname}
 Version:       4.6.0
-Release:       0.1
+Release:       0.4
 License:       GPL v2
 Group:         Applications/WWW
-Source0:       http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
-# Source0-md5: 22a9370ae0ac4937283e2970513852aa
+Source0:       http://drupal.org/files/projects/%{modname}-cvs.tar.gz
+# Source0-md5: 35309eb43b0b37f9a69c591dbde83310
 URL:           http://drupal.org/project/buddylist
 BuildRequires: rpmbuild(macros) >= 1.194
 BuildArch:     noarch
@@ -36,6 +36,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_moddir},%{_podir}}
 
 install *.module $RPM_BUILD_ROOT%{_moddir}
+install contrib/buddylist_access/*.module $RPM_BUILD_ROOT%{_moddir}
 cp -a po/*.po $RPM_BUILD_ROOT%{_podir}
 
 %clean
@@ -55,6 +56,16 @@ For Postgresql file is:
 EOF
 fi
 
+%triggerpostun -- %{name} < 4.6.0-0.3
+%banner -e %{name} <<'EOF'
+You need to update your database:
+ALTER TABLE buddylist ADD COLUMN label varchar(255) NOT NULL default 'all';
+ALTER TABLE buddylist ADD INDEX uid (uid);
+ALTER TABLE buddylist ADD UNIQUE `uid-buddy-label` (uid,buddy,label);
+ALTER TABLE buddylist ADD INDEX label (label);
+ALTER TABLE buddylist DROP PRIMARY KEY;
+EOF
+
 %files
 %defattr(644,root,root,755)
 %doc *.txt %{modname}.{mysql,pgsql}
This page took 0.091606 seconds and 4 git commands to generate.