rpms/gtorrentviewer/FC-4 gtorrentviewer.spec,1.3,1.4

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Tue Feb 14 09:57:42 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/gtorrentviewer/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30111

Modified Files:
	gtorrentviewer.spec 
Log Message:
resync with devel



Index: gtorrentviewer.spec
===================================================================
RCS file: /cvs/extras/rpms/gtorrentviewer/FC-4/gtorrentviewer.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gtorrentviewer.spec	17 Oct 2005 07:07:48 -0000	1.3
+++ gtorrentviewer.spec	14 Feb 2006 09:57:42 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           gtorrentviewer
 Version:        0.2b
-Release:        6%{?dist}
+Release:        8%{?dist}
 Summary:        A GTK2-based viewer and editor for BitTorrent meta files
 
 Group:          Applications/Internet
@@ -29,24 +29,24 @@
 %{__make} %{?_smp_mflags}
 
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/GTorrentViewer/README
-%{_bindir}/desktop-file-install \
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR=%{buildroot}
+%{__rm} -f %{buildroot}%{_datadir}/GTorrentViewer/README
+/usr/bin/desktop-file-install \
         --vendor fedora \
 	--add-category X-Fedora \
         --delete-original \
-        --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-        $RPM_BUILD_ROOT%{_datadir}/applications/gtorrentviewer.desktop
+        --dir %{buildroot}%{_datadir}/applications \
+        %{buildroot}%{_datadir}/applications/gtorrentviewer.desktop
 
 %clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
 
 %post
-%{_bindir}/update-desktop-database > /dev/null || :
+/usr/bin/update-desktop-database > /dev/null || :
 
 %postun
-%{_bindir}/update-desktop-database > /dev/null || :
+/usr/bin/update-desktop-database > /dev/null || :
 
 %files
 %defattr(-,root,root,-)
@@ -59,6 +59,13 @@
 %{_mandir}/man1/gtorrentviewer.1*
 
 %changelog
+* Tue Feb 14 2006 Paul Howarth <paul at city-fan.org> 0.2b-8
+- cosmetic tweak: use macros instead of variables
+- don't use macros in command paths, hardcode them instead
+
+* Thu Nov  9 2005 Paul Howarth <paul at city-fan.org> 0.2b-7
+- rebuild
+
 * Mon Oct 17 2005 Paul Howarth <paul at city-fan.org> 0.2b-6
 - rebuild
 




More information about the scm-commits mailing list