Accepting request 539675 from home:pluskalm:branches:system:packagemanager
- Update location of rpm state directory - Update location of rpm state directory OBS-URL: https://build.opensuse.org/request/show/539675 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=48
This commit is contained in:
committed by
Git OBS Bridge
parent
9afa8d40f0
commit
1e7382397f
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 19:57:04 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Update location of rpm state directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 12:31:08 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define admindir %{_localstatedir}/lib/rpm/
|
||||
%define admindir %{_libexecdir}/sysimage/rpm
|
||||
Name: dpkg
|
||||
Version: 1.18.23
|
||||
Release: 0
|
||||
@@ -55,7 +55,6 @@ Obsoletes: deb < %{version}
|
||||
Provides: dpkg-dev = %{version}
|
||||
Provides: dpkg-doc = %{version}
|
||||
Provides: dselect = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This package contains tools for working with Debian packages. It makes
|
||||
@@ -144,10 +143,8 @@ done
|
||||
exit 0
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog
|
||||
%{_mandir}/man*/*
|
||||
%exclude %{_mandir}/man*/update-alternatives*
|
||||
@@ -164,7 +161,6 @@ exit 0
|
||||
%{perl_vendorlib}/Dselect/Ftp.pm
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdpkg.a
|
||||
%{_libdir}/libdpkg.la
|
||||
%{_libdir}/pkgconfig/libdpkg.pc
|
||||
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 19:57:49 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Update location of rpm state directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 9 10:43:10 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define admindir %{_localstatedir}/lib/rpm/
|
||||
%define admindir %{_libexecdir}/sysimage/rpm
|
||||
Name: update-alternatives
|
||||
Version: 1.18.23
|
||||
Release: 0
|
||||
@@ -34,11 +34,9 @@ BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
Requires(post): coreutils
|
||||
Requires(post): update-alternatives
|
||||
Provides: alternatives = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
update-alternatives creates, removes, maintains and displays
|
||||
@@ -71,11 +69,11 @@ 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}/%{_localstatedir}/log
|
||||
install -d -m 0755 %{buildroot}/%{_admindir}
|
||||
|
||||
install -m 0755 utils/%{name} %{buildroot}/%{_sbindir}
|
||||
install -pm 0755 utils/%{name} %{buildroot}/%{_sbindir}
|
||||
ln -s %{name} %{buildroot}/%{_sbindir}/alternatives
|
||||
install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/
|
||||
install -pm 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/
|
||||
|
||||
%post
|
||||
touch %{_localstatedir}/log/alternatives.log
|
||||
@@ -87,10 +85,9 @@ for i in $(ls .) ; do
|
||||
done
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%dir %{_sysconfdir}/alternatives
|
||||
%dir %{_localstatedir}/lib/rpm/alternatives
|
||||
%dir %{admindir}/alternatives
|
||||
%{_sbindir}/alternatives
|
||||
%{_sbindir}/update-alternatives
|
||||
%{_mandir}/man1/update-alternatives.1%{ext_man}
|
||||
|
Reference in New Issue
Block a user