BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-root
+%define gpgkeypath /etc/bacula/pubkeys
+
%description
The %{pubkeyname} rpm public key. If you trust %{pubkeyname} component
and you want to import this key to the RPM database, then install this
RPM. After installing this package you may import the key into your rpm
database, as root:
-rpm --import %{_libdir}/rpm/gnupg/%{pubkeyname}.asc
+rpm --import %{gpgkeypath}/%{pubkeyname}.asc
%prep
%setup -c -T a1
%build
%install
-mkdir -p %{buildroot}%{_libdir}/rpm/gnupg
-cp -a %{SOURCE0} %{buildroot}%{_libdir}/rpm/gnupg
+mkdir -p %{buildroot}%{gpgkeypath}
+cp -a %{SOURCE0} %{buildroot}%{gpgkeypath}/
%files
%defattr(-, root, root)
-%{_libdir}/rpm/gnupg/%{pubkeyname}.asc
+%{gpgkeypath}/%{pubkeyname}.asc
%changelog
+* Sat Aug 19 2006 D. Scott Barninger <barninger@fairfieldcomputers.com
+- change key directory to /etc/bacula/pubkeys
* Sun Jul 16 2006 D. Scott Barninger <barninger@fairfieldcomputers.com
- initial spec file