autospec.spec: remove the variable 'rpmbuild_group': it's no more needed. Personal data is located in the files ~/.autospec and ~/.autospec.d/*.conf

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-10 21:18:33 +01:00
parent e8b9a33167
commit ffe2b496d1
2 changed files with 6 additions and 10 deletions

View File

@ -18,9 +18,15 @@ Changes in version 1.14.2
A color scheme can be selected now by using the new command-line option
'--colorize-theme'.
+ improvement
* lib/libmsgmng.lib, conf/Makefile - Davide Madrisan:
Move theme settings to configuration files (color-theme.*)
+ update
* autospec.spec - Davide Madrisan:
Remove the variable 'rpmbuild_group': it's no more needed. Personal data is
located in the files ~/.autospec and ~/.autospec.d/*.conf
-------------------------------------------------------------------------------
Changes in version 1.14.1 - _TO*Hacklab release

View File

@ -1,7 +1,6 @@
# modify these definitions according to your distribution
%define distribution openmamba
%define vendor openmamba
%define rpmbuild_group packager
Name: autospec
Version: @version@
@ -151,22 +150,13 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix}
%lang(it) %{?_localedir:%{_localedir}}%{!?_localedir:%_datadir/locale}/it/LC_MESSAGES/pck-extract.mo
%lang(it) %{?_localedir:%{_localedir}}%{!?_localedir:%_datadir/locale}/it/LC_MESSAGES/pck-update.mo
%lang(it) %{?_localedir:%{_localedir}}%{!?_localedir:%_datadir/locale}/it/LC_MESSAGES/spec-create.mo
%if %{rpmbuild_group} == "root"
%config %attr(644,root,root) %{_sysconfdir}/%{name}.conf
%else
%config %attr(640,root,%{rpmbuild_group}) %{_sysconfdir}/%{name}.conf
%endif
%files config-%{distribution}
%defattr(-,root,root)
%dir %{_sysconfdir}/%{name}.d
%if %{rpmbuild_group} == "root"
%config %attr(644,root,root) %{_sysconfdir}/%{name}.d/*.conf
%config %attr(644,root,root) %{_sysconfdir}/%{name}.d/color-theme.*
%else
%config %attr(640,root,%{rpmbuild_group}) %{_sysconfdir}/%{name}.d/*.conf
%config %attr(644,root,%{rpmbuild_group}) %{_sysconfdir}/%{name}.d/color-theme.*
%endif
%files libs
%defattr(-,root,root)