forked from pool/aaa_base
- remove build-in-place as this breaks factory submission
- light modernization for spec file ($RPM_BUILD_ROOT -> %%{buildroot} ) OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=746
This commit is contained in:
parent
72fa74861f
commit
0506613f60
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -21,5 +21,3 @@
|
|||||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
## Specific LFS patterns
|
|
||||||
aaa_base-84.87+git20220321.5a5cb79.tar filter=lfs diff=lfs merge=lfs -text
|
|
||||||
|
8
_service
8
_service
@ -1,5 +1,5 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="manual">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="version">84.87</param>
|
<param name="version">84.87</param>
|
||||||
<param name="versionformat">84.87+git%cd.%h</param>
|
<param name="versionformat">84.87+git%cd.%h</param>
|
||||||
<param name="url">https://github.com/openSUSE/aaa_base.git</param>
|
<param name="url">https://github.com/openSUSE/aaa_base.git</param>
|
||||||
@ -9,5 +9,9 @@
|
|||||||
<param name="extract">aaa_base-rpmlintrc</param>
|
<param name="extract">aaa_base-rpmlintrc</param>
|
||||||
<param name="extract">README.packaging.txt</param>
|
<param name="extract">README.packaging.txt</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="manual"/>
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="compression">zstd</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:37bcbdbfceb9e784f47bbde40d8382f28822b961224c8ab4dde99a1aec257e5e
|
|
||||||
size 378880
|
|
3
aaa_base-84.87+git20220321.5a5cb79.tar.zst
Normal file
3
aaa_base-84.87+git20220321.5a5cb79.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a59607bfb6c0e980521e2521e878dec08363f5d8033c9744e6c94849d232491c
|
||||||
|
size 73347
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 21 11:40:10 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- remove build-in-place as this breaks factory submission
|
||||||
|
- light modernization for spec file ($RPM_BUILD_ROOT -> %%{buildroot} )
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 21 10:08:15 UTC 2022 - lnussel@suse.de
|
Mon Mar 21 10:08:15 UTC 2022 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
# icecream 0
|
|
||||||
|
|
||||||
|
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
@ -22,13 +21,13 @@
|
|||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?_build_in_place}
|
#%if 0%{?_build_in_place}
|
||||||
%define git_version %(git log '-n1' '--date=format:%Y%m%d' '--no-show-signature' "--pretty=format:+git%cd.%h")
|
#%define git_version %(git log '-n1' '--date=format:%Y%m%d' '--no-show-signature' "--pretty=format:+git%cd.%h")
|
||||||
BuildRequires: git-core
|
#BuildRequires: git-core
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
Name: aaa_base
|
Name: aaa_base
|
||||||
Version: 84.87+git20220321.5a5cb79%{?git_version}
|
Version: 84.87+git20220321.5a5cb79
|
||||||
Release: 0
|
Release: 0
|
||||||
URL: https://github.com/openSUSE/aaa_base
|
URL: https://github.com/openSUSE/aaa_base
|
||||||
# do not require systemd - aaa_base is in the build environment and we don't
|
# do not require systemd - aaa_base is in the build environment and we don't
|
||||||
@ -57,9 +56,9 @@ Requires(post): fillup /usr/bin/chmod /usr/bin/chown
|
|||||||
Summary: openSUSE Base Package
|
Summary: openSUSE Base Package
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/Fhs
|
Group: System/Fhs
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: zstd
|
||||||
# run osc service mr to recreate
|
# run osc service mr to recreate
|
||||||
Source: aaa_base-%{version}.tar
|
Source: aaa_base-%{version}.tar.zst
|
||||||
#
|
#
|
||||||
# Read README.packaging.txt before making any changes to this
|
# Read README.packaging.txt before making any changes to this
|
||||||
# package
|
# package
|
||||||
@ -112,7 +111,7 @@ make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
#
|
#
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
#
|
#
|
||||||
mkdir -p %{buildroot}/etc/sysctl.d
|
mkdir -p %{buildroot}/etc/sysctl.d
|
||||||
case "$RPM_ARCH" in
|
case "$RPM_ARCH" in
|
||||||
@ -121,11 +120,11 @@ case "$RPM_ARCH" in
|
|||||||
esac
|
esac
|
||||||
#
|
#
|
||||||
# make sure it does not creep in again
|
# make sure it does not creep in again
|
||||||
test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1
|
test -d %{buildroot}/root/.gnupg && exit 1
|
||||||
# TODO: get rid of that at some point in the future
|
# TODO: get rid of that at some point in the future
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
mkdir -p %{buildroot}/etc/init.d
|
||||||
for i in boot.local after.local ; do
|
for i in boot.local after.local ; do
|
||||||
install -m 755 /dev/null $RPM_BUILD_ROOT/etc/init.d/$i
|
install -m 755 /dev/null %{buildroot}/etc/init.d/$i
|
||||||
done
|
done
|
||||||
#
|
#
|
||||||
install -d -m 755 %buildroot%{_libexecdir}/initscripts/legacy-actions
|
install -d -m 755 %buildroot%{_libexecdir}/initscripts/legacy-actions
|
||||||
@ -169,7 +168,6 @@ mkdir -p %{buildroot}%{_fillupdir}
|
|||||||
%service_del_postun backup-rpmdb.service backup-rpmdb.timer backup-sysconfig.service backup-sysconfig.timer check-battery.service check-battery.timer
|
%service_del_postun backup-rpmdb.service backup-rpmdb.timer backup-sysconfig.service backup-sysconfig.timer check-battery.service check-battery.timer
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%config(noreplace) /etc/sysctl.conf
|
%config(noreplace) /etc/sysctl.conf
|
||||||
%config /etc/bash.bashrc
|
%config /etc/bash.bashrc
|
||||||
@ -226,7 +224,6 @@ mkdir -p %{buildroot}%{_fillupdir}
|
|||||||
%{_fillupdir}/sysconfig.windowmanager
|
%{_fillupdir}/sysconfig.windowmanager
|
||||||
|
|
||||||
%files extras
|
%files extras
|
||||||
%defattr(-,root,root)
|
|
||||||
%config(noreplace) /etc/DIR_COLORS
|
%config(noreplace) /etc/DIR_COLORS
|
||||||
/etc/skel/.emacs
|
/etc/skel/.emacs
|
||||||
/etc/skel/.inputrc
|
/etc/skel/.inputrc
|
||||||
@ -241,12 +238,10 @@ mkdir -p %{buildroot}%{_fillupdir}
|
|||||||
%{_fillupdir}/sysconfig.backup
|
%{_fillupdir}/sysconfig.backup
|
||||||
|
|
||||||
%files malloccheck
|
%files malloccheck
|
||||||
%defattr(-,root,root)
|
|
||||||
/usr/etc/profile.d/malloc-debug.sh
|
/usr/etc/profile.d/malloc-debug.sh
|
||||||
/usr/etc/profile.d/malloc-debug.csh
|
/usr/etc/profile.d/malloc-debug.csh
|
||||||
|
|
||||||
%files wsl
|
%files wsl
|
||||||
%defattr(-,root,root)
|
|
||||||
/usr/etc/profile.d/wsl.csh
|
/usr/etc/profile.d/wsl.csh
|
||||||
/usr/etc/profile.d/wsl.sh
|
/usr/etc/profile.d/wsl.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user