Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2014-03-11 17:25:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "aaa_base" Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2014-03-01 21:20:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.aaa_base.new/aaa_base.changes 2014-03-11 17:25:39.000000000 +0100 @@ -1,0 +2,10 @@ +Mon Mar 10 15:32:44 UTC 2014 - lnussel@suse.de + +- move cron Recommends to -extras subpackage where the actual cron + files are +- update COPYING file to silence rpmlint warning about outdated + address +- adjust mktar script to new versioning scheme +- implement legacy actions (bnc#861124) + +------------------------------------------------------------------- Old: ---- aaa_base-13.2+git20140217.294f5bb.tar.xz New: ---- aaa_base-13.2+git20140310.a57750d.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.zLuuru/_old 2014-03-11 17:25:39.000000000 +0100 +++ /var/tmp/diff_new_pack.zLuuru/_new 2014-03-11 17:25:39.000000000 +0100 @@ -17,7 +17,7 @@ Name: aaa_base -Version: 13.2+git20140217.294f5bb +Version: 13.2+git20140310.a57750d Release: 0 Url: https://github.com/openSUSE/aaa_base Provides: aaa_skel = %{version}-%{release} @@ -41,7 +41,7 @@ # for symlink check to /bin/hostname BuildRequires: net-tools BuildRequires: xz -Recommends: cron logrotate netcfg udev net-tools aaa_base-extras +Recommends: logrotate netcfg udev net-tools aaa_base-extras PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup Summary: openSUSE Base Package License: GPL-2.0+ @@ -64,6 +64,7 @@ Group: System/Fhs Requires: %{name} = %{version} Provides: aaa_base:/etc/DIR_COLORS +Recommends: cron %description extras The parts of aaa_base that should be installed by default but are not @@ -118,6 +119,8 @@ #for i in boot.local after.local before.local halt.local ; do # cp $RPM_BUILD_ROOT/etc/init.d/boot.localnet $RPM_BUILD_ROOT/etc/init.d/$i #done +# +install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions %pre -f aaa_base.pre @@ -158,10 +161,6 @@ %ghost /var/adm/fillup-templates/group.aaa_base %ghost /var/adm/fillup-templates/gshadow.aaa_base %ghost /var/adm/fillup-templates/shadow.aaa_base -#%ghost %attr(0744,root,root) /etc/init.d/after.local -#%ghost %attr(0744,root,root) /etc/init.d/before.local -#%ghost %attr(0744,root,root) /etc/init.d/boot.local -#%ghost %attr(0744,root,root) /etc/init.d/halt.local # don't forget to also change aaa_base.post, boot.cleanup # and /etc/permissions! %ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog @@ -202,6 +201,8 @@ /usr/share/man/man8/safe-rmdir.8* /usr/share/man/man8/service.8* /usr/lib/sysctl.d/*.conf +%dir /usr/lib/initscripts +%dir /usr/lib/initscripts/legacy-actions /var/adm/fillup-templates/sysconfig.backup /var/adm/fillup-templates/sysconfig.language /var/adm/fillup-templates/sysconfig.news ++++++ aaa_base-13.2+git20140217.294f5bb.tar.xz -> aaa_base-13.2+git20140310.a57750d.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.2+git20140217.294f5bb/COPYING new/aaa_base-13.2+git20140310.a57750d/COPYING --- old/aaa_base-13.2+git20140217.294f5bb/COPYING 2014-02-27 08:29:43.000000000 +0100 +++ new/aaa_base-13.2+git20140310.a57750d/COPYING 2014-03-10 16:36:07.000000000 +0100 @@ -1,12 +1,12 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Steet, Fifth Floor, Boston, MA 02111-1307 USA + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -15,7 +15,7 @@ General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not @@ -55,8 +55,8 @@ The precise terms and conditions for copying, distribution and modification follow. - - GNU GENERAL PUBLIC LICENSE + + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains @@ -110,7 +110,7 @@ License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in @@ -168,7 +168,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is @@ -225,7 +225,7 @@ This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License @@ -255,7 +255,7 @@ of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -277,9 +277,9 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it @@ -303,10 +303,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02111-1307 USA - + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. @@ -336,5 +335,5 @@ This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.2+git20140217.294f5bb/files/usr/sbin/service new/aaa_base-13.2+git20140310.a57750d/files/usr/sbin/service --- old/aaa_base-13.2+git20140217.294f5bb/files/usr/sbin/service 2014-02-27 08:29:43.000000000 +0100 +++ new/aaa_base-13.2+git20140310.a57750d/files/usr/sbin/service 2014-03-10 15:57:19.000000000 +0100 @@ -21,6 +21,9 @@ # RCDIR="/etc/init.d" +# legacy actions +actiondir="/usr/lib/initscripts/legacy-actions" + # # Clean environment # @@ -53,11 +56,19 @@ test "$state" = "LoadState=loaded" } + +is_systemd_action() +{ + case "$1" in + start|stop|reload|restart|try-restart|force-reload|status) return 0 ;; + esac + return 1 +} exec_rc () { + local rc='' if sd_booted && test -z "$SYSTEMD_NO_WRAP"; then - case "$2" in - start|stop|reload|restart|try-restart|force-reload|status) + if is_systemd_action "$2"; then if is_service "$1"; then daemon_reload "$1.service" systemctl "$2" "$1.service" @@ -78,15 +89,18 @@ fi echo "$1 is neither service nor target!?" >&2 return "1" - ;; - *) + elif [ -x "$actiondir/$1/$2" ]; then + rc="$actiondir/$1/$2" + shift 2 + else echo "Usage: $0 "$1" {start|stop|reload|restart|try-restart|force-reload|status}" return 1 - ;; - esac + fi + fi + if [ -z "$rc" ]; then + rc="${RCDIR}/$1" + shift fi - local rc="${RCDIR}/$1" - shift env -i LANG=$LANG PATH=$PATH TERM=$TERM SYSTEMD_NO_WRAP=$SYSTEMD_NO_WRAP "$rc" ${1+"$@"} } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.2+git20140217.294f5bb/obs/mkpackage new/aaa_base-13.2+git20140310.a57750d/obs/mkpackage --- old/aaa_base-13.2+git20140217.294f5bb/obs/mkpackage 2014-02-27 08:29:43.000000000 +0100 +++ new/aaa_base-13.2+git20140310.a57750d/obs/mkpackage 2014-03-10 16:36:07.000000000 +0100 @@ -28,10 +28,23 @@ for i in *.xz; do /bin/rm -vi "$i" done -cd "$src" -"$src"/obs/mktar -mv *xz "$pkgdir" +eval `"$src"/obs/mktar` +mv "$src/$FILENAME" "$pkgdir" cd "$pkgdir" +osc add "$FILENAME" +if [ -n "$VERSION" ]; then + read oldver < <(/usr/lib/build/spectool --tag "version" "$name".spec) + oldver="${oldver/*: /}" + while read sourcefile; do + sourcefile="${sourcefile/*: /}" + [ -n "$sourcefile" ] || continue + [ "$sourcefile" != "${sourcefile#$name-$oldver}" ] || continue + if [ -e "$sourcefile" ]; then + osc rm -f "$sourcefile" || true + fi + done < <(/usr/lib/build/spectool --tag "/source0?/" "$name".spec) + sed -i -e "0,/^Version: /{s/^\(Version: *\).*/\1$VERSION/;}" "$name".spec +fi osc vc "$name".changes .changes && rm -f .changes cd "$src" if [ -n "`git rev-list remotes/origin/master..HEAD`" ]; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.2+git20140217.294f5bb/obs/mktar new/aaa_base-13.2+git20140310.a57750d/obs/mktar --- old/aaa_base-13.2+git20140217.294f5bb/obs/mktar 2014-02-27 08:29:43.000000000 +0100 +++ new/aaa_base-13.2+git20140310.a57750d/obs/mktar 2014-03-10 16:36:07.000000000 +0100 @@ -1,16 +1,17 @@ #!/bin/sh set -e NAME=aaa_base -VERSION=13.1 -#datefmt="%Y.%m.%d.%H%M" +VERSION=13.2 +scmver=`git log -n1 --date=short --pretty=format:"git%cd.%h"|sed 's@-@@g'` #LAST_COMMIT=(`git rev-list --timestamp HEAD^..HEAD`) #DATE=`date +$datefmt -d "1970-01-01 00:00 UTC $LAST_COMMIT seconds"` #scmver="$DATE" -fullver="$VERSION${scmver:+_}$scmver" +fullver="$VERSION${scmver:++}$scmver" pfx="$NAME${fullver:+-$fullver}" fn="$pfx".tar.xz if ! git config --get tar.umask >/dev/null 2>&1 ; then git config --add tar.umask 022 fi git archive --prefix="$pfx"/ HEAD | xz > $fn -echo "version $fullver -> $fn" +echo "VERSION=$fullver" +echo "FILENAME=$fn" N§²æìržyéZ)z{.±ç(húéì¹»®&Þ¢§²ë¢ž¢¶v+b¢v¥rŠjwlzf¢^ˬyÊ&+~ éi¢§²ë¢ž