SPECS: mpdscribble.spec - sane macros usage
qboosh
qboosh at pld-linux.org
Sun Jun 17 12:44:10 CEST 2007
Author: qboosh Date: Sun Jun 17 10:44:10 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- sane macros usage
---- Files affected:
SPECS:
mpdscribble.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/mpdscribble.spec
diff -u SPECS/mpdscribble.spec:1.1 SPECS/mpdscribble.spec:1.2
--- SPECS/mpdscribble.spec:1.1 Sun Jun 3 11:02:54 2007
+++ SPECS/mpdscribble.spec Sun Jun 17 12:44:05 2007
@@ -16,7 +16,6 @@
Source2: %{name}.sysconfig
Source3: %{name}.conf
URL: http://www.frob.nl/scribble.html
-BuildRequires: gcc
BuildRequires: glib2-devel >= 2.0
BuildRequires: libsoup-devel >= 2.2
BuildRequires: pkgconfig
@@ -42,14 +41,14 @@
rm -rf $RPM_BUILD_ROOT
install -d \
$RPM_BUILD_ROOT%{_sysconfdir}/mpdscribble \
- $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig \
- $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+ $RPM_BUILD_ROOT/etc/sysconfig \
+ $RPM_BUILD_ROOT/etc/rc.d/init.d
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/mpdscribble
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/mpdscribble
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/mpdscribble
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/mpdscribble
install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/mpdscribble
%clean
@@ -60,8 +59,8 @@
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/mpdscribble.1*
-%dir /etc/mpdscribble
-%config(noreplace) %verify(not md5 mtime size) /etc/mpdscribble/mpdscribble.conf
+%dir %{_sysconfdir}/mpdscribble
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpdscribble/mpdscribble.conf
%attr(754,root,root) /etc/rc.d/init.d/%{name}
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
@@ -71,6 +70,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007/06/17 10:44:05 qboosh
+- sane macros usage
+
Revision 1.1 2007/06/03 09:02:54 czarny
- fresh, home brewed
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mpdscribble.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list