Browse Source

Fix botched sed hack

Alois Mahdal 5 years ago
parent
commit
86a6a24995
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      light.spec.in

+ 2
- 2
light.spec.in View File

@@ -13,8 +13,8 @@ Light is a program to control backlight controllers under GNU/Linux.
13 13
 
14 14
 %prep
15 15
 %autosetup -n %{name}-%{version}
16
-sed -i -e 's/chown root//' Makefile
17
-sed -i -e 's/chmod 4755//' Makefile
16
+sed -i -e '/chown root/d' Makefile
17
+sed -i -e '/chmod 4755/d' Makefile
18 18
 
19 19
 %build
20 20
 make %{?_smp_mflags}