rpms/justmoon/devel justmoon.spec,1.6,1.7

Lubomir Rintel lkundrak at fedoraproject.org
Thu Jul 8 23:47:30 UTC 2010


Author: lkundrak

Update of /cvs/pkgs/rpms/justmoon/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27515/devel

Modified Files:
	justmoon.spec 
Log Message:
Fix build


Index: justmoon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/justmoon/devel/justmoon.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- justmoon.spec	8 Jul 2010 22:39:27 -0000	1.6
+++ justmoon.spec	8 Jul 2010 23:47:30 -0000	1.7
@@ -46,6 +46,9 @@ GTK+-based user interface that fits the 
 Summary:        QT frontend for Just Moon, a lunar observing software
 Group:          Amusements/Graphics
 Requires:       %{name}-common = %{version}
+%if %without gtk
+Obsoletes:      %{name}-gtk < %{version}-%{release}
+%endif
 
 %description qt
 This package contains a lunar observing software with
@@ -80,6 +83,7 @@ make %{?_smp_mflags}                    
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_bindir}
 make installdata INSTALLDIR=$RPM_BUILD_ROOT/%{_datadir}/%{name}
 %if %with gtk
 make -C gmoon install INSTALLPREFIX=$RPM_BUILD_ROOT/%{_prefix}



More information about the scm-commits mailing list