chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91cb262
)
[PATCH] add volume_id support to the udev.spec file
author
greg@kroah.com
<greg@kroah.com>
Sat, 15 May 2004 06:08:04 +0000
(23:08 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:35:17 +0000
(21:35 -0700)
udev.spec
patch
|
blob
|
history
diff --git
a/udev.spec
b/udev.spec
index 0c8969dfac76b3610fd0788283fdd9017026a5e4..79b69524150a9c23c8cfe651c3764ef8d7fb508a 100644
(file)
--- a/
udev.spec
+++ b/
udev.spec
@@
-22,6
+22,11
@@
# 1 - build it
%define scsi_id 1
# 1 - build it
%define scsi_id 1
+# if we want to build the volume_id "extra" package or not
+# 0 - do not build the package
+# 1 - build it
+%define volume_id 1
+
Summary: A userspace implementation of devfs
Name: udev
Version: 025
Summary: A userspace implementation of devfs
Name: udev
Version: 025
@@
-61,6
+66,9
@@
make CC="gcc $RPM_OPT_FLAGS" \
%if %{scsi_id}
extras/scsi_id \
%endif
%if %{scsi_id}
extras/scsi_id \
%endif
+%if %{volume_id}
+ extras/volume_id \
+%endif
"
%install
"
%install
@@
-69,6
+77,9
@@
make DESTDIR=$RPM_BUILD_ROOT install \
%if %{scsi_id}
extras/scsi_id \
%endif
%if %{scsi_id}
extras/scsi_id \
%endif
+%if %{volume_id}
+ extras/volume_id \
+%endif
"
%post
"
%post
@@
-107,8
+118,15
@@
rm -rf $RPM_BUILD_ROOT
%config(noreplace) %attr(0644,root,root) /etc/scsi_id.config
%attr(0644,root,root) %{_mandir}/man8/scsi_id*.8*
%endif
%config(noreplace) %attr(0644,root,root) /etc/scsi_id.config
%attr(0644,root,root) %{_mandir}/man8/scsi_id*.8*
%endif
+%if %{volume_id}
+ %attr(755,root,root) /sbin/udev_volume_id
+%endif
%changelog
%changelog
+* Fri May 14 2004 Greg Kroah-Hartman <greg@kroah.com>
+- remove dbus and selinux stuff from here
+- added volume_id option
+
* Wed Mar 24 2004 Greg Kroah-Hartman <greg@kroah.com>
- change the way dbus and selinux support is built (now an extra)
* Wed Mar 24 2004 Greg Kroah-Hartman <greg@kroah.com>
- change the way dbus and selinux support is built (now an extra)