summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-06-21 10:26:59 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-06-28 08:38:14 -0400
commit330c5f39ae4d78b85e260ebbd5b3126bba70ff5c (patch)
tree0c9496a365a7581b7adfd5cd69594f815664a767
parent601c40e41879b464d697ac88d8c9f30b1dbd949b (diff)
downloadsssd-330c5f39ae4d78b85e260ebbd5b3126bba70ff5c.tar.gz
sssd-330c5f39ae4d78b85e260ebbd5b3126bba70ff5c.tar.xz
sssd-330c5f39ae4d78b85e260ebbd5b3126bba70ff5c.zip
Replace %define with %global in example spec
-rw-r--r--contrib/sssd.spec.in20
-rw-r--r--contrib/suse/sssd.spec.in12
2 files changed, 16 insertions, 16 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 59fe18893..ded44795e 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -13,11 +13,11 @@ URL: http://fedorahosted.org/sssd/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-%define dhash_version 0.4.0
-%define path_utils_version 0.2.0
-%define collection_version 0.5.0
-%define ini_config_version 0.6.0
-%define refarray_version 0.1.0
+%global dhash_version 0.4.0
+%global path_utils_version 0.2.0
+%global collection_version 0.5.0
+%global ini_config_version 0.6.0
+%global refarray_version 0.1.0
### Patches ###
@@ -35,11 +35,11 @@ Requires(post): python
Requires(preun): initscripts chkconfig
Requires(postun): /sbin/service
-%define servicename sssd
-%define sssdstatedir %{_localstatedir}/lib/sss
-%define dbpath %{sssdstatedir}/db
-%define pipepath %{sssdstatedir}/pipes
-%define pubconfpath %{sssdstatedir}/pubconf
+%global servicename sssd
+%global sssdstatedir %{_localstatedir}/lib/sss
+%global dbpath %{sssdstatedir}/db
+%global pipepath %{sssdstatedir}/pipes
+%global pubconfpath %{sssdstatedir}/pubconf
### Build Dependencies ###
diff --git a/contrib/suse/sssd.spec.in b/contrib/suse/sssd.spec.in
index 6cddcc060..5c3178ff7 100644
--- a/contrib/suse/sssd.spec.in
+++ b/contrib/suse/sssd.spec.in
@@ -12,7 +12,7 @@ URL: http://fedorahosted.org/sssd/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-%define dhash_version 0.4.0
+%global dhash_version 0.4.0
### Patches ###
@@ -27,11 +27,11 @@ Requires(post): python
Requires(preun): aaa_base procps filesystem
Requires(postun): /sbin/service
-%define servicename sssd
-%define sssdstatedir %{_localstatedir}/lib/sss
-%define dbpath %{sssdstatedir}/db
-%define pipepath %{sssdstatedir}/pipes
-%define pubconfpath %{sssdstatedir}/pubconf
+%global servicename sssd
+%global sssdstatedir %{_localstatedir}/lib/sss
+%global dbpath %{sssdstatedir}/db
+%global pipepath %{sssdstatedir}/pipes
+%global pubconfpath %{sssdstatedir}/pubconf
### Build Dependencies ###