Hello community,

here is the log from the commit of package deb for openSUSE:Factory
checked in at Thu Mar 17 21:36:13 CET 2011.



--------
--- deb/deb.changes     2011-03-16 15:46:29.000000000 +0100
+++ deb/deb.changes     2011-03-17 16:33:01.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Mar 17 15:32:12 UTC 2011 - [email protected]
+
+- split the u-a to separate spec file to reduce a build cycle 
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ deb/update-alternatives.changes     2011-03-17 16:33:01.000000000 +0100
@@ -0,0 +1,47 @@
+-------------------------------------------------------------------
+Thu Mar 17 15:30:58 UTC 2011 - [email protected]
+
+- update to 1.15.8.10 - bug fix release
+- build it in the same source tree as package deb
+
+-------------------------------------------------------------------
+Mon Mar 14 13:13:50 UTC 2011 - [email protected]
+
+- update to 1.15.8.5
+  * update-alternatives is now implemented in C
+- fix bnc#647151 - update-alternatives: false claim in the description
+  * removed jpackage only part, as it's now don't have any sense
+
+-------------------------------------------------------------------
+Thu Feb 17 15:18:25 UTC 2011 - [email protected]
+
+- fix bnc#669716 - update-alternatives corrupt
+  the pack/unpack removal code broke the java update-alternatives file
+
+-------------------------------------------------------------------
+Mon Jul 21 16:22:46 CEST 2008 - [email protected]
+
+- fix of enhancenment request[bnc#261246] - update-alternatives should support 
--set
+  - update to the 1.14.19
+
+-------------------------------------------------------------------
+Tue Nov  6 18:53:00 CET 2007 - [email protected]
+
+- fix the manual link state after --install and --remove commands [#334783] 
+
+-------------------------------------------------------------------
+Wed Jan 25 21:48:53 CET 2006 - [email protected]
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Thu Sep 29 00:10:28 CEST 2005 - [email protected]
+
+ - add norootforbuild
+
+-------------------------------------------------------------------
+Wed Sep  1 21:10:06 CEST 2004 - [email protected]
+
+- Initial package version 1.8.3
+
+

calling whatdependson for head-i586


New:
----
  update-alternatives.changes
  update-alternatives.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ deb.spec ++++++
--- /var/tmp/diff_new_pack.km1CKz/_old  2011-03-17 21:35:32.000000000 +0100
+++ /var/tmp/diff_new_pack.km1CKz/_new  2011-03-17 21:35:32.000000000 +0100
@@ -17,12 +17,13 @@
 
 # norootforbuild
 
+%define admindir %{_localstatedir}/lib/rpm/
 %define debhelper_ver 8.1.2
 %define devscripts_ver 2.10.71
 
 Name:           deb
 Version:        1.15.8.10
-Release:        1
+Release:        2
 Url:            http://www.debian.org
 License:        GPLv2+
 Group:          System/Packages
@@ -42,12 +43,12 @@
 Patch5:         dpkg-1.15.8.10-archtable-suse.patch
 BuildRequires:  gcc-c++
 BuildRequires:  ncurses-devel
-#BuildRequires:  texlive-latex
 BuildRequires:  zlib-devel
 BuildRequires:  libselinux-devel
 BuildRequires:  fdupes
 BuildRequires:  libxslt
 BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  update-alternatives
 Requires(pre):  /bin/touch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %suse_version < 1120
@@ -72,22 +73,6 @@
 %description devel
 Libraries and header files for dpkg.
 
-%package -n update-alternatives
-License:        GPLv2+
-Summary:        Maintain symbolic links determining default commands
-Group:          System/Management
-
-%description -n update-alternatives
-update-alternatives creates, removes, maintains and displays
-information about the symbolic links comprising the alternatives
-system. It is possible for several programs fulfilling the same or
-similar functions to be installed on a single system at the same time.
-For example, many systems have several text editors installed at once.
-This gives choice to the users of a system, allowing each to use a
-different editor, if desired, but makes it difficult for a program to
-make a good choice of editor to invoke if the user has not specified a
-particular preference.
-
 
 %lang_package
 %prep
@@ -151,13 +136,22 @@
 make %{?_smp_mflags}
 
 %install
-#pushd dpkg-%{version}
 %makeinstall
+
+# remove update-alternatives stuff (included in separate package)
+rm -rf %{buildroot}%{_sysconfdir}/alternatives
+rm -rf %{buildroot}%{_localstatedir}/lib/dpkg/alternatives
+rm -rf %{buildroot}%{_bindir}/update-alternatives
+rm -rf %{buildroot}%{_sbindir}/update-alternatives
+rm -rf %{buildroot}%{_mandir}/man8/update-alternatives.8
+rm -rf %{buildroot}%{_mandir}/*/man8/update-alternatives.8
+
 # locales
 %{find_lang} dpkg
 %{find_lang} dselect
 %{find_lang} dpkg-dev
 cat dpkg.lang dselect.lang dpkg-dev.lang > %{name}.lang
+
 # docs
 install -d -m 755 %{buildroot}/%{_docdir}/deb/dpkg
 install -m 644 ABOUT-NLS %{buildroot}/%{_docdir}/deb/dpkg
@@ -171,12 +165,6 @@
 install -m 644 TODO %{buildroot}/%{_docdir}/deb/dpkg
 install -m 644 debian/changelog %{buildroot}/%{_docdir}/deb/dpkg
 
-# update-alternatives
-install -d -m 0755 %{buildroot}%{_var}/lib/rpm/alternatives
-install -d -m 0755 %{buildroot}/%{_localstatedir}/log
-touch %{buildroot}/%{_localstatedir}/log/update-alternatives.log
-#popd #dpkg
-
 pushd ../debhelper
 # autoscripts
 install -d -m 755 %{buildroot}%{_datadir}/debhelper/autoscripts
@@ -228,7 +216,6 @@
 %dir %{_sysconfdir}/dpkg
 %config(noreplace) %{_sysconfdir}/dpkg/*
 %{_bindir}/*
-%exclude %{_bindir}/update-alternatives
 %{_sbindir}/*
 %{_libdir}/dpkg
 %{_datadir}/dpkg
@@ -246,13 +233,4 @@
 %{_libdir}/pkgconfig/libdpkg.pc
 %{_includedir}/dpkg
 
-%files -n update-alternatives
-%defattr(-,root,root,-)
-%doc %{_sysconfdir}/alternatives/README
-%dir %{_sysconfdir}/alternatives
-%dir %{_var}/lib/rpm/alternatives
-%{_bindir}/update-alternatives
-%{_mandir}/man8/update-alternatives.8*
-%ghost %{_localstatedir}/log/update-alternatives.log
-
 %changelog

++++++ update-alternatives.spec ++++++
#
# spec file for package update-alternatives
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define admindir %{_localstatedir}/lib/rpm/
%define debhelper_ver 8.1.2
%define devscripts_ver 2.10.71

Name:           update-alternatives
Version:        1.15.8.10
Release:        2
Url:            http://ftp.de.debian.org/debian/pool/main/d/dpkg/
Summary:        Maintain symbolic links determining default commands
License:        GPLv2+
Group:          System/Management
Source0:        
http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.bz2
Source1:        
http://ftp.de.debian.org/debian/pool/main/d/debhelper/debhelper_%{debhelper_ver}.tar.gz
Source2:        
http://ftp.de.debian.org/debian/pool/main/d/devscripts/devscripts_%{devscripts_ver}.tar.gz
Source3:        sensible-editor
Patch0:         debhelper-no-localized-manpages.patch
Patch1:         devscripts-2.10.71-buildfix.patch
Patch2:         debhelper-pod2man-no-utf8.patch
Patch3:         devscripts-2.10.71-debcommit-hg16.patch
Patch4:         update-alternatives-1.15.8.10-suse.patch
Patch5:         dpkg-1.15.8.10-archtable-suse.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
update-alternatives creates, removes, maintains and displays
information about the symbolic links comprising the alternatives
system. It is possible for several programs fulfilling the same or
similar functions to be installed on a single system at the same time.
For example, many systems have several text editors installed at once.
This gives choice to the users of a system, allowing each to use a
different editor, if desired, but makes it difficult for a program to
make a good choice of editor to invoke if the user has not specified a
particular preference.

%prep
%setup -q -n dpkg-%{version} -b 1 -b 2
# do not unpack anything, just cd to source dir
#%setup -q -D -T -n %{_builddir}
cd ..

%patch0
%patch1
%if %suse_version < 1130
%patch2
%endif
%patch3
%patch4
%patch5

%build
%{configure} \
    --with-admindir=%{admindir}

make -C lib/compat
make -C utils/

%install
%{__install} -d -m 0755 %{buildroot}/%{_sbindir}/
%{__install} -d -m 0755 %{buildroot}/%{_mandir}/man8/
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/alternatives
%{__install} -d -m 0755 %{buildroot}/%{admindir}/alternatives
%{__install} -d -m 0755 %{buildroot}/%{_localstatedir}/log

%{__install} -m 0755 utils/%{name} %{buildroot}/%{_sbindir}
%{__install} -m 0644 man/%{name}.8 %{buildroot}/%{_mandir}/man8/

touch %{buildroot}/%{_localstatedir}/log/%{name}.log

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING
%dir %{_sysconfdir}/alternatives
%dir %{_var}/lib/rpm/alternatives
%{_sbindir}/update-alternatives
%{_mandir}/man8/update-alternatives.8*
%ghost %{_localstatedir}/log/update-alternatives.log

%changelog

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to