SPECS: netlabel_tools.spec - miscs

zbyniu zbyniu at pld-linux.org
Mon Nov 27 14:36:03 CET 2006


Author: zbyniu                       Date: Mon Nov 27 13:36:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- miscs

---- Files affected:
SPECS:
   netlabel_tools.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/netlabel_tools.spec
diff -u SPECS/netlabel_tools.spec:1.1 SPECS/netlabel_tools.spec:1.2
--- SPECS/netlabel_tools.spec:1.1	Mon Nov 27 13:49:28 2006
+++ SPECS/netlabel_tools.spec	Mon Nov 27 14:35:58 2006
@@ -2,7 +2,7 @@
 Summary:	Tools to manage the Linux NetLabel subsystem
 Name:		netlabel_tools
 Version:	0.17
-Release:	5%{?dist}
+Release:	0.1
 License:	GPL
 Group:		Daemons
 URL:		http://netlabel.sourceforge.net/
@@ -12,7 +12,7 @@
 Source2:	%{name}.rules
 Patch1:		%{name}-new-hdrs.patch
 Patch2:		%{name}.patch
-BuildRequires:	libnl-devel
+BuildRequires:	libnl-devel >= 1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,9 +38,8 @@
 	INSTALL_PREFIX=${RPM_BUILD_ROOT} \
 	INSTALL_MAN_DIR=${RPM_BUILD_ROOT}%{_mandir}
 
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d/
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/netlabel
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/
+install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/netlabel
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/netlabel.rules
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,7 +49,7 @@
 %doc docs/*.txt
 %attr(755,root,root) /sbin/*
 %attr(754,root,root) /etc/rc.d/init.d/netlabel
-%config(noreplace) %attr(640,root,root) %{_sysconfdir}/netlabel.rules
+%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{_sysconfdir}/netlabel.rules
 %{_mandir}/man?/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -59,6 +58,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/11/27 13:35:58  zbyniu
+- miscs
+
 Revision 1.1  2006/11/27 12:49:28  arekm
 - new; raw
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/netlabel_tools.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list