rpms/warzone2100/devel warzone2100.spec,1.3,1.4
Karol Trzcionka (karlik)
fedora-extras-commits at redhat.com
Sun Apr 8 19:02:50 UTC 2007
- Previous message: rpms/ocsinventory-client/devel ocsinventory-client.spec,1.6,1.7
- Next message: rpms/erlang-esdl/FC-6 .cvsignore, 1.2, 1.3 erlang-esdl.spec, 1.4, 1.5 sources, 1.2, 1.3 esdl-refc.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: karlik
Update of /cvs/extras/rpms/warzone2100/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12517/warzone2100/devel
Modified Files:
warzone2100.spec
Log Message:
Fix build-problem in fedora 7
Index: warzone2100.spec
===================================================================
RCS file: /cvs/extras/rpms/warzone2100/devel/warzone2100.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- warzone2100.spec 8 Apr 2007 14:54:33 -0000 1.3
+++ warzone2100.spec 8 Apr 2007 19:02:14 -0000 1.4
@@ -1,6 +1,6 @@
Name: warzone2100
Version: 2.0.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Innovative 3D real-time strategy
Group: Amusements/Games
@@ -43,17 +43,23 @@
%prep
%setup -q
-
%build
./autogen.sh
%configure --disable-mp3
make %{?_smp_mflags}
+%if "%{?fedora}" >= "7"
+sed -i s/"Application;"/""/"" debian/warzone2100.desktop
+%endif
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+%if "%{?fedora}" < "7"
rm -rf $RPM_BUILD_ROOT/doc
+%else
+rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
+%endif
desktop-file-install --vendor="fedora" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
@@ -75,6 +81,8 @@
%{_datadir}/warzone2100
%changelog
+* Sun Apr 08 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.6-2
+- Fix build-problem in fedora 7
* Sat Apr 07 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.6-1
- Update to v2.0.6
* Fri Jan 26 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.5-4
- Previous message: rpms/ocsinventory-client/devel ocsinventory-client.spec,1.6,1.7
- Next message: rpms/erlang-esdl/FC-6 .cvsignore, 1.2, 1.3 erlang-esdl.spec, 1.4, 1.5 sources, 1.2, 1.3 esdl-refc.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list