SHA256
1
0
forked from pool/aaa_base

Accepting request 137262 from Base:System

- Try to resolve the bash completion problems with ls (bnc#725657)

- Create loop devices via tmpfiles and not via /lib/udev/devices.

- Fix linuxbase URLs to point to the current documentation
- Add README.packaging.txt.

- migrate to _service file to make it a bit more clear the .tar is
  not a random tar

- SuSEconfig is finally gone [FATE#100011]

OBS-URL: https://build.opensuse.org/request/show/137262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aaa_base?expand=0&rev=360
This commit is contained in:
Stephan Kulow 2012-10-08 05:09:51 +00:00 committed by Git OBS Bridge
parent 1d0a3b6929
commit 593fef2090
6 changed files with 69 additions and 26 deletions

15
README.packaging.txt Normal file
View File

@ -0,0 +1,15 @@
This package should use just the content of the git tree. If you need
to make changes, you have the following options:
* Make them in git and update the package from git (you can send merge
request if you don't have write access)
* Create a patch, add the patch to the package and let one of the
aaa_base packagers commit it for you
The online repository is at:
http://gitorious.org/opensuse/aaa_base
For building the package from git run the service directly:
osc service disabledrun
Note that aaa_base.spec and aaa_base.changes are not part of the git
repo.

12
_service Normal file
View File

@ -0,0 +1,12 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">12.3</param>
<param name="url">git://gitorious.org/opensuse/aaa_base.git</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

3
aaa_base-12.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44a8e77938e32d994477172d5fd5de9a87917ebe6625bb33f6486259384da104
size 137769

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Fri Oct 5 15:50:23 UTC 2012 - werner@suse.de
- Try to resolve the bash completion problems with ls (bnc#725657)
-------------------------------------------------------------------
Thu Oct 4 08:26:50 UTC 2012 - aj@suse.de
- Create loop devices via tmpfiles and not via /lib/udev/devices.
-------------------------------------------------------------------
Wed Sep 26 11:18:35 UTC 2012 - aj@suse.de
- Fix linuxbase URLs to point to the current documentation
- Add README.packaging.txt.
-------------------------------------------------------------------
Tue Sep 25 13:50:59 UTC 2012 - coolo@suse.com
- migrate to _service file to make it a bit more clear the .tar is
not a random tar
-------------------------------------------------------------------
Thu Sep 20 13:35:49 CEST 2012 - kukuk@suse.de
- SuSEconfig is finally gone [FATE#100011]
-------------------------------------------------------------------
Thu Sep 13 13:49:44 UTC 2012 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: aaa_base
Version: 12.2
Version: 12.3
Release: 0
Url: http://gitorious.org/opensuse/aaa_base
Provides: aaa_skel = %{version}-%{release}
@ -44,13 +44,17 @@ Summary: SUSE Linux Base Package
License: GPL-2.0+
Group: System/Fhs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# run make package in checkout out git repo to recreate
Source: aaa_base.tar.bz2
# run osc service dr to recreate
Source: aaa_base-%{version}.tar.gz
#
# Read README.packaging.txt before making any changes to this
# package
#
Source1: README.packaging.txt
Source99: aaa_base-rpmlintrc
%description
This package installs several important configuration files. Central
scripts like SuSEconfig are also in this package.
This package installs several important configuration files and central scripts.
%package extras
Summary: SUSE Linux Base Package (recommended part)
@ -74,7 +78,7 @@ malloc checks to catch potential heap corruptions. It's not
installed by default as it may degrade performance.
%prep
%setup -n aaa_base
%setup -q
%build
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
@ -99,9 +103,6 @@ test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1
for i in passwd group shadow gshadow ; do
touch $RPM_BUILD_ROOT/var/adm/fillup-templates/$i.aaa_base
done
#
# loop module auto loading bnc#661715
mkdir -p $RPM_BUILD_ROOT/lib/udev/devices
%pre -f aaa_base.pre
@ -174,7 +175,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
/etc/init.d/reboot
%dir /lib/aaa_base
/lib/aaa_base/convert_sysctl*
/lib/YaST/SuSEconfig.functions
%dir /lib/mkinitrd
%dir /lib/mkinitrd/scripts
/lib/mkinitrd/scripts/boot-mtab.sh
@ -183,7 +183,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
/sbin/refresh_initrd
/sbin/service
/sbin/smart_agetty
/sbin/SuSEconfig
/usr/bin/ChangeSymlinks
/usr/bin/filesize
/usr/bin/mkinfodir
@ -193,6 +192,8 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
/usr/bin/safe-rmdir
/usr/bin/setJava
/usr/lib/restricted/bin/hostname
%dir /usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/loop.conf
/usr/sbin/Check
/usr/sbin/rcpowerfail
/usr/sbin/rcrandom
@ -204,7 +205,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
/usr/share/man/man8/safe-rm.8*
/usr/share/man/man8/safe-rmdir.8*
/usr/share/man/man8/service.8*
/usr/share/man/man8/SuSEconfig.8*
/var/adm/fillup-templates/sysconfig.backup
/var/adm/fillup-templates/sysconfig.boot
/var/adm/fillup-templates/sysconfig.clock
@ -213,18 +213,7 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
/var/adm/fillup-templates/sysconfig.news
/var/adm/fillup-templates/sysconfig.proxy
/var/adm/fillup-templates/sysconfig.shutdown
/var/adm/fillup-templates/sysconfig.suseconfig
/var/adm/fillup-templates/sysconfig.windowmanager
%dir /lib/udev
%dir /lib/udev/devices
%ghost %attr(660,root,disk) %dev(b,7,0) /lib/udev/devices/loop0
%ghost %attr(660,root,disk) %dev(b,7,1) /lib/udev/devices/loop1
%ghost %attr(660,root,disk) %dev(b,7,2) /lib/udev/devices/loop2
%ghost %attr(660,root,disk) %dev(b,7,3) /lib/udev/devices/loop3
%ghost %attr(660,root,disk) %dev(b,7,4) /lib/udev/devices/loop4
%ghost %attr(660,root,disk) %dev(b,7,5) /lib/udev/devices/loop5
%ghost %attr(660,root,disk) %dev(b,7,6) /lib/udev/devices/loop6
%ghost %attr(660,root,disk) %dev(b,7,7) /lib/udev/devices/loop7
%files extras
%defattr(-,root,root)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233d1a2299f1c2aa77e41b88f5a5d9da0a8bf1c016923303dac6f5eb50db71eb
size 114485