tree-wide: remove exec permission from all files in spec directory
Change-Id: Ia61e5ea31f101d94332b75d9f639cbaf91a50fdf Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/23772
This commit is contained in:
parent
24d5afdd93
commit
1fa02b6b51
|
@ -39,7 +39,7 @@ as well as switch between sets, and rollback from A to B.
|
|||
|
||||
%install
|
||||
mkdir -p %{buildroot}{%{_sbindir},%{_sysconfdir},%{_unitdir},%{_docdir}}
|
||||
cp %{SOURCE0} %{buildroot}%{_sbindir}
|
||||
install -D -p -m 0755 %{SOURCE0} %{buildroot}%{_sbindir}
|
||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}
|
||||
cp %{SOURCE2} %{buildroot}%{_unitdir}
|
||||
cp %{SOURCE3} %{buildroot}%{_docdir}
|
||||
|
|
|
@ -1,16 +1,19 @@
|
|||
Summary: cifs client utils
|
||||
Name: cifs-utils
|
||||
Version: 7.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3
|
||||
URL: http://wiki.samba.org/index.php/LinuxCIFS_utils
|
||||
Group: Applications/Nfs-utils-client
|
||||
Summary: cifs client utils
|
||||
Name: cifs-utils
|
||||
Version: 7.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3
|
||||
URL: http://wiki.samba.org/index.php/LinuxCIFS_utils
|
||||
Group: Applications/Nfs-utils-client
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-%{version}.tar.bz2
|
||||
%define sha512 cifs-utils=4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libtalloc-devel
|
||||
|
||||
Requires: libcap-ng
|
||||
|
||||
%description
|
||||
|
@ -19,7 +22,7 @@ Cifs-utils, a package of utilities for doing and managing mounts of the Linux CI
|
|||
%package devel
|
||||
Summary: The libraries and header files needed for Cifs-Utils development.
|
||||
Group: Development/Libraries
|
||||
Requires: cifs-utils = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Provides header files needed for Cifs-Utils development.
|
||||
|
@ -29,16 +32,17 @@ Provides header files needed for Cifs-Utils development.
|
|||
|
||||
%build
|
||||
%configure \
|
||||
ROOTSBINDIR=/usr/sbin \
|
||||
ROOTSBINDIR=%{_sbindir} \
|
||||
--disable-pam \
|
||||
--disable-systemd &&
|
||||
--disable-systemd
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%make_install %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
@ -67,7 +71,7 @@ make %{?_smp_mflags} check
|
|||
- Upgraded to version 6.8
|
||||
* Thu Apr 06 2017 Anish Swaminathan <anishs@vmware.com> 6.7-1
|
||||
- Upgraded to version 6.7
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 6.4-2
|
||||
- GA - Bump release of all rpms
|
||||
* Mon Jan 25 2016 Divya Thaluru <dthaluru@vmware.com> 6.4-1
|
||||
- Initial build. First version.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 6.4-2
|
||||
- GA - Bump release of all rpms
|
||||
* Mon Jan 25 2016 Divya Thaluru <dthaluru@vmware.com> 6.4-1
|
||||
- Initial build. First version.
|
||||
|
|
|
@ -42,11 +42,6 @@ sh ./makeconf.sh
|
|||
mkdir -p %{buildroot}%{_libdir}/%{name}
|
||||
%make_install %{?_smp_mflags}
|
||||
|
||||
install -v -m755 -d %{_docdir}/%{name}-%{version}
|
||||
|
||||
install -v -m644 doc/{how-fuse-works,kernel.txt} \
|
||||
%{_docdir}/%{name}-%{version}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libfuse.so.*
|
||||
|
|
|
@ -33,21 +33,21 @@ userspace program.
|
|||
%package devel
|
||||
Summary: Header and development files
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: systemd-devel
|
||||
|
||||
%description devel
|
||||
It contains the libraries and header files to create fuse applications.
|
||||
|
||||
%prep
|
||||
%autosetup -n libfuse-fuse-%{version}
|
||||
%autosetup -p1 -n libfuse-fuse-%{version}
|
||||
|
||||
%build
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
|
||||
CONFIGURE_OPTS=(
|
||||
--prefix=/usr
|
||||
--prefix=%{_usr}
|
||||
-D examples=false
|
||||
)
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ install -vdm 755 %{buildroot}%{_libdir}/locale
|
|||
cp -v ../%{name}-%{version}/nscd/nscd.conf %{buildroot}%{_sysconfdir}/nscd.conf
|
||||
# Install locale generation script and config file
|
||||
cp -v %{SOURCE2} %{buildroot}%{_sysconfdir}
|
||||
cp -v %{SOURCE1} %{buildroot}%{_sbindir}
|
||||
install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_sbindir}
|
||||
# Remove unwanted cruft
|
||||
rm -rf %{buildroot}%{_infodir}
|
||||
# Install configuration files
|
||||
|
@ -224,7 +224,6 @@ popd
|
|||
mv %{buildroot}/sbin/* %{buildroot}/%{_sbindir}
|
||||
rmdir %{buildroot}/sbin
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
cd %{_builddir}/glibc-build
|
||||
make %{?_smp_mflags} check ||:
|
||||
|
@ -253,7 +252,6 @@ grep "^FAIL: nptl/tst-eintr1" tests.sum >/dev/null && n=$((n+1)) ||:
|
|||
|
||||
# check for exact 'n' failures
|
||||
[ $(grep ^FAIL tests.sum | wc -l) -ne $n ] && exit 1 ||:
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
|
|
@ -88,6 +88,13 @@ cp %{SOURCE1} %{SOURCE2} %{buildroot}%{_bindir}
|
|||
cp %{SOURCE3} %{buildroot}%{_sysconfdir}/auto_livepatch
|
||||
cp %{SOURCE4} %{buildroot}%{_sysconfdir}/gen_livepatch/build-rpm.spec
|
||||
|
||||
chmod +x %{buildroot}%{_bindir}/*
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/kpatch
|
||||
|
|
|
@ -344,6 +344,7 @@ cp %{SOURCE24} crypto/fips_canister_wrapper_internal.c
|
|||
cp %{SOURCE25} crypto/
|
||||
cp %{SOURCE26} crypto/
|
||||
cp %{SOURCE27} crypto/
|
||||
chmod a+x crypto/$(basename %{SOURCE27})
|
||||
cp %{SOURCE28} crypto/
|
||||
cp %{SOURCE29} crypto/
|
||||
%endif
|
||||
|
|
|
@ -16,7 +16,7 @@ Source0: https://github.com/p11-glue/p11-kit/releases/download/%{version}/%{name
|
|||
Source1: update-ca-trust
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libtasn1-devel >= 2.3
|
||||
BuildRequires: libtasn1-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gtk-doc
|
||||
|
@ -96,17 +96,15 @@ Update CA trust tool
|
|||
mkdir -p %{buildroot}%{_sysconfdir}/pkcs11/modules \
|
||||
%{buildroot}%{_ca_trust_dir}/extracted/{pem,openssl,java,edk2}
|
||||
|
||||
cp -p %{SOURCE1} %{buildroot}%{_bindir}/update-ca-trust
|
||||
install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/update-ca-trust
|
||||
|
||||
mv %{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf.example \
|
||||
%{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf
|
||||
|
||||
rm -rf %{buildroot}%{_datadir}/gtk-doc
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
%make_build check
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
|
0
SPECS/rubygem-fluent-plugin-concat/rubygem-fluent-plugin-concat.spec
Executable file → Normal file
0
SPECS/rubygem-fluent-plugin-concat/rubygem-fluent-plugin-concat.spec
Executable file → Normal file
0
SPECS/rubygem-fluent-plugin-systemd/rubygem-fluent-plugin-systemd.spec
Executable file → Normal file
0
SPECS/rubygem-fluent-plugin-systemd/rubygem-fluent-plugin-systemd.spec
Executable file → Normal file
0
SPECS/rubygem-recursive-open-struct/rubygem-recursive-open-struct.spec
Executable file → Normal file
0
SPECS/rubygem-recursive-open-struct/rubygem-recursive-open-struct.spec
Executable file → Normal file
|
@ -515,7 +515,8 @@ autoreconf -ivf
|
|||
%make_build
|
||||
|
||||
%install
|
||||
%make_install %{?_smp_mflags}
|
||||
%make_install %{?_smp_mflags} || \
|
||||
%make_install %{?_smp_mflags}
|
||||
|
||||
# Prepare language files
|
||||
%find_lang %{name}
|
||||
|
|
Loading…
Reference in New Issue