Accepting request 539790 from home:pluskalm:branches:system:packagemanager

- Use dbpath macro for locationg rpm state directory
- Use dbpath macro for locationg rpm state directory

OBS-URL: https://build.opensuse.org/request/show/539790
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=49
This commit is contained in:
Tomáš Chvátal 2017-11-08 08:48:08 +00:00 committed by Git OBS Bridge
parent 1e7382397f
commit 872cac8901
4 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Tue Nov 7 19:57:04 UTC 2017 - mpluskal@suse.com
- Update location of rpm state directory
- Use dbpath macro for locationg rpm state directory
-------------------------------------------------------------------
Mon Mar 27 12:31:08 UTC 2017 - tchvatal@suse.com

View File

@ -16,7 +16,6 @@
#
%define admindir %{_libexecdir}/sysimage/rpm
Name: dpkg
Version: 1.18.23
Release: 0
@ -89,7 +88,7 @@ export SELINUX_LIBS="-lselinux"
--disable-silent-rules \
--with-selinux \
--localstatedir=%{_localstatedir}/lib \
--with-admindir=%{_localstatedir}/lib/dpkg
--with-admindir=%{_dbpath}
# configure somehow does not detect architecture correctly in OBS (bnc#469337), so
# let's do an awful hack and fix it in config.h

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Tue Nov 7 19:57:49 UTC 2017 - mpluskal@suse.com
- Update location of rpm state directory
- Use dbpath macro for locationg rpm state directory
-------------------------------------------------------------------
Wed Aug 9 10:43:10 UTC 2017 - tchvatal@suse.com

View File

@ -16,7 +16,6 @@
#
%define admindir %{_libexecdir}/sysimage/rpm
Name: update-alternatives
Version: 1.18.23
Release: 0
@ -58,7 +57,7 @@ particular preference.
autoreconf -fvi
%configure \
--disable-silent-rules \
--with-admindir=%{admindir}
--with-admindir=%{_dbpath}
make -C lib/compat %{?_smp_mflags}
make -C utils/ %{?_smp_mflags}
@ -68,7 +67,7 @@ make -C man/ %{?_smp_mflags}
install -d -m 0755 %{buildroot}/%{_sbindir}/
install -d -m 0755 %{buildroot}/%{_mandir}/man1/
install -d -m 0755 %{buildroot}/%{_sysconfdir}/alternatives
install -d -m 0755 %{buildroot}/%{admindir}/alternatives
install -d -m 0755 %{buildroot}/%{_dbpath}/alternatives
install -d -m 0755 %{buildroot}/%{_admindir}
install -pm 0755 utils/%{name} %{buildroot}/%{_sbindir}
@ -87,7 +86,7 @@ done
%files
%doc COPYING
%dir %{_sysconfdir}/alternatives
%dir %{admindir}/alternatives
%dir %{_dbpath}/alternatives
%{_sbindir}/alternatives
%{_sbindir}/update-alternatives
%{_mandir}/man1/update-alternatives.1%{ext_man}