rpms/gtorrentviewer/devel gtorrentviewer.spec,1.4,1.5
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Tue Feb 14 09:53:40 UTC 2006
Author: pghmcfc
Update of /cvs/extras/rpms/gtorrentviewer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29866
Modified Files:
gtorrentviewer.spec
Log Message:
- cosmetic tweak: use macros instead of variables
- don't use macros in command paths, hardcode them instead
Index: gtorrentviewer.spec
===================================================================
RCS file: /cvs/extras/rpms/gtorrentviewer/devel/gtorrentviewer.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gtorrentviewer.spec 9 Nov 2005 19:18:45 -0000 1.4
+++ gtorrentviewer.spec 14 Feb 2006 09:53:40 -0000 1.5
@@ -1,6 +1,6 @@
Name: gtorrentviewer
Version: 0.2b
-Release: 7%{?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,10 @@
%{_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
More information about the scm-commits
mailing list