Hello community,

here is the log from the commit of package utempter for openSUSE:Factory 
checked in at 2013-06-20 21:27:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/utempter (Old)
 and      /work/SRC/openSUSE:Factory/.utempter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "utempter"

Changes:
--------
--- /work/SRC/openSUSE:Factory/utempter/utempter.changes        2013-04-07 
14:28:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.utempter.new/utempter.changes   2013-06-20 
21:27:44.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Jun  5 11:23:54 UTC 2013 - meiss...@suse.com
+
+- updated to 1.1.6 upstream (bnc#823302)
+  - new apis (old are staying)
+- utempter-ppc64.patch: is upstream, removed
+- utempter-0.5.5-pie.diff: done differently, removed
+- utempter-no-staticlib.patch: no static library wanted
+- gpg source tarball checking
+- hooked up permissions framework correctly
+
+-------------------------------------------------------------------

Old:
----
  utempter-0.5.5-pie.diff
  utempter-0.5.5.tar.gz
  utempter-ppc64.patch

New:
----
  libutempter-1.1.6.tar.bz2
  libutempter-1.1.6.tar.bz2.asc
  utempter-no-staticlib.patch
  utempter.keyring

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

Other differences:
------------------
++++++ utempter.spec ++++++
--- /var/tmp/diff_new_pack.y0n5Gu/_old  2013-06-20 21:27:44.000000000 +0200
+++ /var/tmp/diff_new_pack.y0n5Gu/_new  2013-06-20 21:27:44.000000000 +0200
@@ -16,9 +16,10 @@
 #
 
 
+%define lname  libutempter0
 Name:           utempter
 %define utmpGroup utmp
-Version:        0.5.5
+Version:        1.1.6
 Release:        0
 Summary:        A privileged helper for utmp and wtmp updates
 License:        MIT
@@ -27,12 +28,17 @@
 %ifarch ppc64
 Obsoletes:      utempter-64bit
 %endif
-%define _hash a628f149132e2f729bc4601e6a4f6c29
-Source:         
http://pkgs.fedoraproject.org/repo/pkgs/%{name}/%{name}-%{version}.tar.gz/%{_hash}/%{name}-%{version}.tar.gz
+Url:            ftp://ftp.altlinux.org/pub/people/ldv/utempter/
+Source:         
ftp://ftp.altlinux.org/pub/people/ldv/utempter/lib%name-%version.tar.bz2
+Source1:        
ftp://ftp.altlinux.org/pub/people/ldv/utempter/lib%name-%version.tar.bz2.asc
 Source2:        baselibs.conf
+Source3:        %name.keyring
 Patch0:         utempter.eal3.diff
-Patch1:         utempter-0.5.5-pie.diff
-Patch2:         utempter-ppc64.patch
+Patch1:         utempter-no-staticlib.patch
+%if 0%{?suse_version} > 1220
+BuildRequires:  gpg-offline
+%endif
+
 #
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -44,41 +50,63 @@
 %package devel
 Summary:        Development files for utempter
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       %lname = %{version}
 
 %description devel
 Utempter is a privileged helper for utmp and wtmp updates.  This
 package contains the development files needed.
 
+%package -n %lname
+Summary:        Shared library of utempter
+Group:          Development/Libraries/C and C++
+PreReq:         permissions
+Provides:       utempter = %version
+Obsoletes:      utempter <= 0.5.5
+Requires:       %{name}
+
+%description -n %lname
+Utempter is a privileged helper for utmp and wtmp updates.  This
+package contains the library used by applications.
+
 %prep
-%setup -q
+%if 0%{?suse_version} > 1220
+%gpg_verify %{S:1}
+%endif
+%setup -q -n lib%name-%version
 %patch0 -p1
-%patch1
-%patch2 -p1
+%patch1 -p1
 
 %build
-make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" CC="gcc"
+make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags} -fPIC" CC="gcc"
 
 %install
 export DESTDIR=%{buildroot}
-make PREFIX=$DESTDIR LIBDIR=%{_libdir} install
+make PREFIX=$DESTDIR libdir=%{_libdir} DESTDIR=%{buildroot} install
 chmod 755 $DESTDIR%{_libdir}/libutempter.so*
 /sbin/ldconfig -n $DESTDIR%{_libdir}
 
-%post -p /sbin/ldconfig
+%verifyscript -n %lname
+%verify_permissions -e /usr/lib/utempter/utempter
 
-%postun -p /sbin/ldconfig
+%post -n %lname
+%set_permissions /usr/lib/utempter/utempter
+/sbin/ldconfig
 
-%files
-%defattr(444,root,root,755)
+%postun -n %lname -p /sbin/ldconfig
+
+%files -n %lname
+%defattr(644,root,root,755)
 %doc COPYING
-%attr(02755, root, %{utmpGroup}) %{_sbindir}/utempter
-%attr(555,root,root) %{_libdir}/libutempter.so.*
-%attr(444,root,root) %doc %{_mandir}/man8/*
+%dir /usr/lib/utempter
+%attr(02755, root, %{utmpGroup}) /usr/lib/utempter/utempter
+%attr(755,root,root) %{_libdir}/libutempter.so.*
+%attr(644,root,root) %doc %{_mandir}/man8/*
 
 %files devel
-%defattr(444,root,root,755)
-%attr(555,root,root) %{_libdir}/libutempter.so
-%attr(444,root,root) %{_includedir}/utempter.h
+%doc COPYING
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libutempter.so
+%attr(644,root,root) %{_includedir}/utempter.h
+%attr(644,root,root) %doc %{_mandir}/man3/*
 
 %changelog

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.y0n5Gu/_old  2013-06-20 21:27:44.000000000 +0200
+++ /var/tmp/diff_new_pack.y0n5Gu/_new  2013-06-20 21:27:44.000000000 +0200
@@ -1 +1,2 @@
-utempter
+libutempter0
+utempter-devel

++++++ utempter-no-staticlib.patch ++++++
Index: libutempter-1.1.6/Makefile
===================================================================
--- libutempter-1.1.6.orig/Makefile
+++ libutempter-1.1.6/Makefile
@@ -27,7 +27,7 @@ SONAME = $(SHAREDLIB).$(MAJOR)
 STATICLIB = lib$(PROJECT).a
 MAP = lib$(PROJECT).map
 
-TARGETS = $(PROJECT) $(SHAREDLIB) $(STATICLIB)
+TARGETS = $(PROJECT) $(SHAREDLIB)
 
 INSTALL = install
 libdir = /usr/lib
@@ -53,7 +53,7 @@ all: $(TARGETS)
        $(COMPILE.c) -fPIC $< $(OUTPUT_OPTION)
 
 $(PROJECT): utempter.c
-       $(LINK.c) -Wl,-z,now,-stats $(LDLIBS) $< $(OUTPUT_OPTION)
+       $(LINK.c) -Wl,-z,now,-stats -pie $(LDLIBS) $< $(OUTPUT_OPTION)
 
 $(SHAREDLIB): iface.os $(MAP)
        $(LINK.o) -shared \
@@ -74,7 +74,6 @@ install:
        $(INSTALL) -p -m2711 $(PROJECT) $(DESTDIR)$(libexecdir)/$(PROJECT)/
        $(INSTALL) -p -m644 $(PROJECT).h $(DESTDIR)$(includedir)/
        $(INSTALL) -p -m755 $(SHAREDLIB) 
$(DESTDIR)$(libdir)/$(SHAREDLIB).$(VERSION)
-       $(INSTALL) -p -m644 $(STATICLIB) $(DESTDIR)$(libdir)/
        ln -s $(SHAREDLIB).$(VERSION) $(DESTDIR)$(libdir)/$(SONAME)
        ln -s $(SONAME) $(DESTDIR)$(libdir)/$(SHAREDLIB)
        $(INSTALL) -p -m644 $(PROJECT).3 $(DESTDIR)$(man3dir)/
++++++ utempter.eal3.diff ++++++
--- /var/tmp/diff_new_pack.y0n5Gu/_old  2013-06-20 21:27:44.000000000 +0200
+++ /var/tmp/diff_new_pack.y0n5Gu/_new  2013-06-20 21:27:44.000000000 +0200
@@ -1,19 +1,40 @@
---- utempter-0.5.5/Makefile.eal3       2004-08-05 11:33:17.000000000 +0200
-+++ utempter-0.5.5/Makefile    2004-08-05 11:34:06.000000000 +0200
-@@ -25,9 +25,11 @@
-       mkdir -p $(RPM_BUILD_ROOT)/usr/sbin
-       mkdir -p $(RPM_BUILD_ROOT)/$(LIBDIR)
-       mkdir -p $(RPM_BUILD_ROOT)/usr/include
-+      mkdir -p $(RPM_BUILD_ROOT)/usr/share/man/man8
-       install -m 4755 utempter $(RPM_BUILD_ROOT)/usr/sbin
-       install -m 644 utempter.h $(RPM_BUILD_ROOT)/usr/include
-       install -m 644 $(SHAREDLIB) 
$(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(VERSION)
-+      install -c -m 644 utempter.8 
$(RPM_BUILD_ROOT)/usr/share/man/man8/utempter.8
-       ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB)
+Index: libutempter-1.1.6/Makefile
+===================================================================
+--- libutempter-1.1.6.orig/Makefile
++++ libutempter-1.1.6/Makefile
+@@ -35,6 +35,7 @@ libexecdir = /usr/lib
+ includedir = /usr/include
+ mandir = /usr/share/man
+ man3dir = $(mandir)/man3
++man8dir = $(mandir)/man8
+ DESTDIR =
  
- $(SHAREDLIB): utmpintf.os
---- utempter-0.5.5/utempter.8.eal3     1970-01-01 01:00:00.000000000 +0100
-+++ utempter-0.5.5/utempter.8  2003-11-18 09:01:43.000000000 +0100
+ WARNINGS = -W -Wall -Waggregate-return -Wcast-align -Wconversion \
+@@ -68,6 +69,8 @@ iface.o: iface.c utempter.h
+ install:
+       mkdir -p $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir)/$(PROJECT) \
+               $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir)
++      mkdir -p $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir)/$(PROJECT) \
++              $(DESTDIR)$(includedir) $(DESTDIR)$(man8dir)
+       $(INSTALL) -p -m2711 $(PROJECT) $(DESTDIR)$(libexecdir)/$(PROJECT)/
+       $(INSTALL) -p -m644 $(PROJECT).h $(DESTDIR)$(includedir)/
+       $(INSTALL) -p -m755 $(SHAREDLIB) 
$(DESTDIR)$(libdir)/$(SHAREDLIB).$(VERSION)
+@@ -75,9 +78,11 @@ install:
+       ln -s $(SHAREDLIB).$(VERSION) $(DESTDIR)$(libdir)/$(SONAME)
+       ln -s $(SONAME) $(DESTDIR)$(libdir)/$(SHAREDLIB)
+       $(INSTALL) -p -m644 $(PROJECT).3 $(DESTDIR)$(man3dir)/
++      $(INSTALL) -p -m644 $(PROJECT).8 $(DESTDIR)$(man8dir)/
+       for n in lib$(PROJECT) utempter_add_record utempter_remove_record \
+           utempter_remove_added_record utempter_set_helper; do \
+               ln -s $(PROJECT).3 $(DESTDIR)$(man3dir)/$$n.3; \
++              ln -s $(PROJECT).8 $(DESTDIR)$(man8dir)/$$n.8; \
+       done
+ 
+ clean:
+Index: libutempter-1.1.6/utempter.8
+===================================================================
+--- /dev/null
++++ libutempter-1.1.6/utempter.8
 @@ -0,0 +1,30 @@
 +.\" Copyright (C) 2003 International Business Machines Corporation
 +.\" Author: Emily Ratliff <ratl...@austin.ibm.com>

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to