Move udev rules to /lib/udev/rules.d (fixes rhbz #748206)
This commit is contained in:
parent
2639b90ad6
commit
a12fb4dd6b
@ -23,7 +23,7 @@
|
|||||||
Summary: Specialist tools for ALSA
|
Summary: Specialist tools for ALSA
|
||||||
Name: alsa-tools
|
Name: alsa-tools
|
||||||
Version: 1.0.25
|
Version: 1.0.25
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
# Checked at least one source file from all the sub-projects contained in
|
# Checked at least one source file from all the sub-projects contained in
|
||||||
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
|
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
|
||||||
@ -41,9 +41,9 @@ Source4: echomixer.png
|
|||||||
Source5: 90-alsa-tools-firmware.rules
|
Source5: 90-alsa-tools-firmware.rules
|
||||||
# Resized version of public domain clipart found here:
|
# Resized version of public domain clipart found here:
|
||||||
# http://www.openclipart.org/detail/17428
|
# http://www.openclipart.org/detail/17428
|
||||||
Source6: hwmixvolume.png
|
Source6: hwmixvolume.png
|
||||||
Source7: hwmixvolume.desktop
|
Source7: hwmixvolume.desktop
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: alsa-lib-devel >= 1.0.24
|
BuildRequires: alsa-lib-devel >= 1.0.24
|
||||||
%if 0%{!?_without_tools:1}
|
%if 0%{!?_without_tools:1}
|
||||||
BuildRequires: gtk+-devel
|
BuildRequires: gtk+-devel
|
||||||
@ -52,7 +52,7 @@ BuildRequires: fltk-devel
|
|||||||
Buildrequires: desktop-file-utils
|
Buildrequires: desktop-file-utils
|
||||||
Requires: xorg-x11-fonts-misc
|
Requires: xorg-x11-fonts-misc
|
||||||
# Needed for hwmixvolume
|
# Needed for hwmixvolume
|
||||||
Requires: python-alsa
|
Requires: python-alsa
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -163,11 +163,8 @@ done
|
|||||||
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb/tascam_fw.usermap
|
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb/tascam_fw.usermap
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/lib/udev
|
mkdir -p ${RPM_BUILD_ROOT}/lib/udev
|
||||||
mv ${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb/* ${RPM_BUILD_ROOT}/lib/udev
|
mv ${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb/* ${RPM_BUILD_ROOT}/lib/udev
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/udev/rules.d
|
mkdir -p ${RPM_BUILD_ROOT}/lib/udev/rules.d
|
||||||
install -m 644 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/udev/rules.d
|
install -m 644 %{SOURCE5} ${RPM_BUILD_ROOT}/lib/udev/rules.d
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%if 0%{!?_without_tools:1}
|
%if 0%{!?_without_tools:1}
|
||||||
%files
|
%files
|
||||||
@ -221,7 +218,7 @@ install -m 644 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/udev/rules.d
|
|||||||
%doc %{_docdir}/%{name}-%{version}/mixartloader
|
%doc %{_docdir}/%{name}-%{version}/mixartloader
|
||||||
%doc %{_docdir}/%{name}-%{version}/usx2yloader
|
%doc %{_docdir}/%{name}-%{version}/usx2yloader
|
||||||
%doc %{_docdir}/%{name}-%{version}/vxloader
|
%doc %{_docdir}/%{name}-%{version}/vxloader
|
||||||
%config(noreplace) %{_sysconfdir}/udev/rules.d/*.rules
|
/lib/udev/rules.d/*.rules
|
||||||
/lib/udev/tascam_fpga
|
/lib/udev/tascam_fpga
|
||||||
/lib/udev/tascam_fw
|
/lib/udev/tascam_fw
|
||||||
%{_bindir}/hdsploader
|
%{_bindir}/hdsploader
|
||||||
@ -231,6 +228,10 @@ install -m 644 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/udev/rules.d
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 29 2012 Tim Jackson <rpm@timj.co.uk> - 1.0.25-4
|
||||||
|
- Move udev rules to /lib/udev/rules.d (rhbz #748206)
|
||||||
|
- remove %%BuildRoot and %%clean sections; no longer required
|
||||||
|
|
||||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-3
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user