From 306afaeae799a6912171f096facb274000bae92b Mon Sep 17 00:00:00 2001 From: Ed Cashin Date: Jun 30 2015 00:59:52 +0000 Subject: Use global instead of define for macro --- diff --git a/aoetools.spec b/aoetools.spec index c56f985..4644301 100644 --- a/aoetools.spec +++ b/aoetools.spec @@ -1,6 +1,6 @@ Name: aoetools Version: 36 -Release: 7%{?dist} +Release: 8%{?dist} Summary: ATA over Ethernet Tools Group: System Environment/Base License: GPLv2 @@ -21,7 +21,7 @@ systems with version 2.6 and newer Linux kernels. make %{?_smp_mflags} CFLAGS="%{optflags}" %install -%{!?_udevrulesdir: %define _udevrulesdir %{_sysconfdir}/udev/rules.d} +%{!?_udevrulesdir: %global _udevrulesdir %{_sysconfdir}/udev/rules.d} make install DESTDIR=%{buildroot} mkdir -pm 755 %{buildroot}/%{_udevrulesdir} @@ -36,7 +36,10 @@ install -pm 644 %{SOURCE1} %{buildroot}/%{_udevrulesdir} %config(noreplace) %{_udevrulesdir}/* %changelog -* Fri Jun 17 2015 Ed Cashin - 36-7 +* Mon Jun 29 2015 Ed Cashin - 36-8 +- Use global instead of define + +* Sat Jun 20 2015 Ed Cashin - 36-7 - Updated to use _udevrulesdir when present, falling back to old rules dir * Tue Jun 16 2015 Fedora Release Engineering - 36-6