[main] [core] Fix autofs packaging with regards to init directory (#2019)
* Fix autofs packaging with regards to init directory * Fix changelog spacing
This commit is contained in:
parent
d3fe49d06e
commit
1bdfa64b7c
|
@ -2,39 +2,38 @@
|
|||
Summary: A kernel-based automounter for Linux
|
||||
Name: autofs
|
||||
Version: 5.1.8
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://www.kernel.org/pub/linux/daemons/autofs
|
||||
Group: System Environment/Daemons
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Source0: http://www.kernel.org/pub/linux/daemons/%{name}/v5/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: systemd
|
||||
BuildRequires: rpcsvc-proto-devel
|
||||
Group: System Environment/Daemons
|
||||
URL: https://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git/
|
||||
Source0: https://www.kernel.org/pub/linux/daemons/%{name}/v5/%{name}-%{version}.tar.xz
|
||||
BuildRequires: libtirpc-devel
|
||||
Requires: systemd
|
||||
BuildRequires: rpcsvc-proto-devel
|
||||
BuildRequires: systemd-devel
|
||||
Requires: libtirpc
|
||||
Requires: systemd
|
||||
|
||||
%description
|
||||
Automounting is the process of automatically mounting and unmounting of file systems by a daemon. Autofs includes both a user-space daemon and code in the kernel that assists the daemon.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--with-libtirpc
|
||||
make %{?_smp_mflags}
|
||||
%configure \
|
||||
--with-libtirpc
|
||||
%make_build
|
||||
|
||||
%install
|
||||
mkdir -p -m755 %{buildroot}/lib/systemd/system
|
||||
mkdir -p -m755 %{buildroot}/etc/auto.master.d
|
||||
mkdir -p -m755 %{buildroot}%{_sysconfdir}/auto.master.d
|
||||
make install mandir=%{_mandir} INSTALLROOT=%{buildroot}
|
||||
make install_samples INSTALLROOT=%{buildroot}
|
||||
make -C redhat
|
||||
%make_build -C redhat
|
||||
install -m 644 redhat/autofs.service %{buildroot}/lib/systemd/system/autofs.service
|
||||
rm -rf %{buildroot}/etc/rc.d
|
||||
rm -rf %{buildroot}%{_sysconfdir}/{init.d,rc.d}
|
||||
|
||||
#%check
|
||||
#This package does not come with a test suite.
|
||||
|
@ -67,23 +66,35 @@ rm -rf %{buildroot}/etc/rc.d
|
|||
/lib/systemd/system/autofs.service
|
||||
|
||||
%changelog
|
||||
* Thu Dec 16 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 5.1.8-2
|
||||
- Removing the explicit %%clean stage.
|
||||
* Wed Jan 26 2022 Thomas Crain <thcrain@microsoft.com> - 5.1.8-3
|
||||
- Wipe buildroot's /etc/init.d in addition to /etc/rc.d
|
||||
- Use systemd-devel BR so systemd is properly detected
|
||||
- Lint spec
|
||||
|
||||
* Wed Nov 10 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 5.1.8-1
|
||||
- Upgrade to version 5.1.8
|
||||
- License verified
|
||||
* Wed May 13 2020 Nick Samson <nisamson@microsoft.com> - 5.1.4-6
|
||||
- Added %%license line automatically
|
||||
* Tue May 12 2020 Nicolas Guibourge <nicolasg@microsoft.com> 5.1.4-5
|
||||
- Undo specific changes for Docker build.
|
||||
* Thu Apr 30 2020 Andrew Phelps <anphel@microsoft.com> 5.1.4-4
|
||||
- Modify to build in Docker based environment.
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 5.1.4-3
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
* Fri Sep 21 2018 Alexey Makhalov <amakhalov@vmware.com> 5.1.4-2
|
||||
- Use rpcsvc-proto and libtirpc
|
||||
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> 5.1.4-1
|
||||
- Update version to 5.1.4
|
||||
* Thu Jul 06 2017 Xiaolin Li <xiaolinl@vmware.com> 5.1.3-1
|
||||
- Initial build. First version
|
||||
* Thu Dec 16 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 5.1.8-2
|
||||
- Removing the explicit %%clean stage.
|
||||
|
||||
* Wed Nov 10 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 5.1.8-1
|
||||
- Upgrade to version 5.1.8
|
||||
- License verified
|
||||
|
||||
* Wed May 13 2020 Nick Samson <nisamson@microsoft.com> - 5.1.4-6
|
||||
- Added %%license line automatically
|
||||
|
||||
* Tue May 12 2020 Nicolas Guibourge <nicolasg@microsoft.com> - 5.1.4-5
|
||||
- Undo specific changes for Docker build.
|
||||
|
||||
* Thu Apr 30 2020 Andrew Phelps <anphel@microsoft.com> - 5.1.4-4
|
||||
- Modify to build in Docker based environment.
|
||||
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 5.1.4-3
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
|
||||
* Fri Sep 21 2018 Alexey Makhalov <amakhalov@vmware.com> - 5.1.4-2
|
||||
- Use rpcsvc-proto and libtirpc
|
||||
|
||||
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> - 5.1.4-1
|
||||
- Update version to 5.1.4
|
||||
|
||||
* Thu Jul 06 2017 Xiaolin Li <xiaolinl@vmware.com> - 5.1.3-1
|
||||
- Initial build. First version
|
||||
|
|
Loading…
Reference in New Issue