[nqc] Fixed udev rules and install directory (rhbz#748203)

rmattes rmattes at fedoraproject.org
Tue Jan 17 03:13:25 UTC 2012


commit 30939362df45efaae845de04dc05b555e35dccea
Author: Rich Mattes <richmattes at gmail.com>
Date:   Mon Jan 16 22:12:02 2012 -0500

    Fixed udev rules and install directory (rhbz#748203)

 60-legousbtower.rules |    2 +-
 nqc.spec              |    9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/60-legousbtower.rules b/60-legousbtower.rules
index 8fa6497..4a3947c 100644
--- a/60-legousbtower.rules
+++ b/60-legousbtower.rules
@@ -1 +1 @@
-KERNEL=="legousbtower*", NAME="usb/lego%n", SYMLINK+="%k", MODE="0660", OWNER="root" GROUP="lego"
+KERNEL=="legousbtower*", GROUP="lego"
diff --git a/nqc.spec b/nqc.spec
index b4281f7..a994769 100644
--- a/nqc.spec
+++ b/nqc.spec
@@ -1,6 +1,6 @@
 Name:           nqc
 Version:        3.1.7
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Not Quite C compiler
 
 Group:          Development/Languages
@@ -121,7 +121,7 @@ find -type f -exec chmod 644 {} \; -exec perl -pi -e 's/\r\n/\n/g' {} \;
 %{__rm} -rf %{buildroot}
 %{__make} install PREFIX=%{buildroot}%{_prefix} MANDIR=%{buildroot}%{_mandir}/man1
 %{__rm} %{buildroot}%{_bindir}/mkdata
-%{__install} -p -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d/60-legousbtower.rules
+%{__install} -p -m 644 -D %{SOURCE1} %{buildroot}/lib/udev/rules.d/60-legousbtower.rules
 
 
 %clean
@@ -137,7 +137,7 @@ fi
 %defattr(-,root,root,-)
 %{_bindir}/nqc
 %{_mandir}/man1/nqc.1.gz
-%{_sysconfdir}/udev/rules.d/60-legousbtower.rules
+/lib/udev/rules.d/60-legousbtower.rules
 %doc readme.txt LICENSE
 
 %files doc
@@ -174,6 +174,9 @@ fi
 %lang(pt) %doc nqc-tutorial-pt.pdf
 
 %changelog
+* Tue Jan 17 2012 Rich Mattes <richmattes at gmail.com> - 3.1.7-9
+- Fixed udev rules and install directory (rhbz#748203)
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.7-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list