|
@@ -7,6 +7,10 @@
|
|
|
%ifarch x86_64
|
|
|
%define uarch x86_64
|
|
|
%endif
|
|
|
+# we have to specify previous version with "Conflicts:"
|
|
|
+# to make smart upgrading.[VineSeed:20565]
|
|
|
+%define conflict_prev_compt ooobasis3.1-core01
|
|
|
+
|
|
|
%define baseurl http://go-oo.mirrorbrain.org/stable/linux-%{uarch}/3.2
|
|
|
%define dlurl "\
|
|
|
%{baseurl}/openoffice.org3-%{version}-%{urel}.%{uarch}.rpm \
|
|
@@ -55,7 +59,7 @@ Summary: Package to assist installation of %{pkgname}
|
|
|
Summary(ja): %{pkgname} のインストールを補助するパッケージ
|
|
|
Name: install-assist-%{pkgname}
|
|
|
Version: %{version}
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
License: LGPL
|
|
|
Group: Applications/Productivity
|
|
|
|
|
@@ -63,6 +67,7 @@ ExclusiveArch: %{ix86} x86_64
|
|
|
# Requires(posttrans) not yet implemented. So we use (post) instead.
|
|
|
Requires(post): self-build-setup >= 0.9.0
|
|
|
Conflicts: openoffice.org-core <= 2.4.1-5vl5
|
|
|
+Conflicts: %{conflict_prev_compt}
|
|
|
|
|
|
Packager: kazutaka
|
|
|
|
|
@@ -123,6 +128,11 @@ Go-oo はオリジナルの OpenOffice.org と比べて以下のような特徴
|
|
|
%files
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Apr 17 2010 REMINDER!!
|
|
|
+- add conflict_prev_compt macro
|
|
|
+- set Conflicts: %%{conflict_prev_compt} to remove unnecessary
|
|
|
+ old packges when updating
|
|
|
+
|
|
|
* Sun Mar 21 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 3.2.0-1
|
|
|
- new upstream release
|
|
|
|