cleanup tweaks

This commit is contained in:
YellowJacketLinux 2023-04-16 16:34:13 -07:00
parent 25da03c773
commit 080accf5f3
3 changed files with 73 additions and 61 deletions

View File

@ -1,17 +1,17 @@
Name: cracklib Name: cracklib
Version: 2.9.8 Version: 2.9.8
Release: %{?repo}0.rc4%{?dist} Release: %{?repo}0.rc5%{?dist}
Summary: A library to somewhat prevent easily crackable passwords Summary: A library to somewhat prevent easily crackable passwords
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2.1 License: LGPLv2.1
URL: https://github.com/cracklib/cracklib URL: https://github.com/cracklib/cracklib
Source0: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-%{version}.tar.bz2 Source0: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-words-%{version}.bz2 Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-words-%{version}.bz2
Requires: %{name}-common = %{version}-%{release} Requires: %{name}-common = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: autoconf BuildRequires: autoconf
%description %description
CrackLib is a library containing a C function (well, lots of functions CrackLib is a library containing a C function (well, lots of functions
@ -22,42 +22,42 @@ The idea is simple: try to prevent users from choosing passwords that
could be guessed by "Crack" by filtering them out, at source. could be guessed by "Crack" by filtering them out, at source.
%package utilities %package utilities
Summary: Cracklib utilities Summary: Cracklib utilities
Group: System Environment/Utilities Group: System Environment/Utilities
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release} Requires: %{name}-common = %{version}-%{release}
%description utilities %description utilities
This package includes the cracklib utilities This package includes the cracklib utilities
%package common %package common
Summary: Cracklib common data files Summary: Cracklib common data files
Group: System Environment/Data Group: System Environment/Data
BuildArch: noarch BuildArch: noarch
Requires(post): %{name}-utilities = %{version}-%{release} Requires(post): %{name}-utilities = %{version}-%{release}
%description common %description common
This package has the common architecture independent files used by This package has the common architecture independent files used by
cracklib. cracklib.
%package devel %package devel
Summary: Developer files for cracklib Summary: Developer files for cracklib
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
This package contains the header files needed to compile software that This package contains the header files needed to compile software that
links against the libcrack library. links against the libcrack library.
%package -n python3-cracklib %package -n python3-cracklib
Summary: Python bindings for cracklib Summary: Python bindings for cracklib
Group: Python/Libraries Group: Python/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if %{?python3_ABI:1}%{!?python3_ABI:0} %if %{?python3_ABI:1}%{!?python3_ABI:0}
# Non-Standard Macro # Non-Standard Macro
Requires: %{python3_ABI} Requires: %{python3_ABI}
%else %else
Requires: %{python3_sitearch} Requires: %{python3_sitearch}
%endif %endif
%description -n python3-cracklib %description -n python3-cracklib
@ -157,6 +157,9 @@ fi
%changelog %changelog
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.9.8-0.rc5
- Tabs to spaces, rebuild in newly packaged gcc
* Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.9.8-0.rc4 * Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.9.8-0.rc4
- Properly split off utilities and common subpackages - Properly split off utilities and common subpackages

View File

@ -1,32 +1,32 @@
Name: libcap Name: libcap
# NOTE - 2.68 is out, 03/28/2023 # NOTE - 2.68 is out, 03/28/2023
Version: 2.67 Version: 2.67
Release: %{?repo}0.rc1%{?dist} Release: %{?repo}0.rc5%{?dist}
Summary: POSIX.1e implenentation library Summary: POSIX.1e implenentation library
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD 3-clause and GPLv2 License: BSD 3-clause and GPLv2
URL: https://sites.google.com/site/fullycapable/ URL: https://sites.google.com/site/fullycapable/
Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz
BuildRequires: libattr-devel BuildRequires: libattr-devel
%description %description
Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities. draft 15 capabilities.
%package utilities %package utilities
Group: System Administration/Utilities Group: System Administration/Utilities
Summary: libcap utilities Summary: libcap utilities
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description utilities %description utils
This package includes the libcap system administration utilities. This package includes the libcap system administration utilities.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for libcap Summary: Development files for libcap
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
This package includes the developer files needed to compile software This package includes the developer files needed to compile software
@ -35,7 +35,6 @@ that links against the libcap libraries.
%prep %prep
%setup -q %setup -q
%build %build
sed -i '/install -m.*STA/d' libcap/Makefile sed -i '/install -m.*STA/d' libcap/Makefile
make %{?_smp_mflags} prefix=%{_prefix} lib=%{_lib} make %{?_smp_mflags} prefix=%{_prefix} lib=%{_lib}
@ -58,7 +57,7 @@ make prefix=%{_prefix} lib=%{_lib} DESTDIR=%{buildroot} install
%license License %license License
%doc README License %{name}-make.test.log %doc README License %{name}-make.test.log
%files utilities %files utils
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0755,root,root) %{_sbindir}/capsh %attr(0755,root,root) %{_sbindir}/capsh
%attr(0755,root,root) %{_sbindir}/getcap %attr(0755,root,root) %{_sbindir}/getcap
@ -80,7 +79,11 @@ make prefix=%{_prefix} lib=%{_lib} DESTDIR=%{buildroot} install
%attr(0644,root,root) %{_libdir}/pkgconfig/libcap.pc %attr(0644,root,root) %{_libdir}/pkgconfig/libcap.pc
%attr(0644,root,root) %{_libdir}/pkgconfig/libpsx.pc %attr(0644,root,root) %{_libdir}/pkgconfig/libpsx.pc
%attr(0644,root,root) %{_mandir}/man3/*.3* %attr(0644,root,root) %{_mandir}/man3/*.3*
%license License
%changelog %changelog
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.67-0.rc5
- Fix utils package name, tabs to spaces
* Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.67-0.rc1 * Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.67-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3) - Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

View File

@ -1,15 +1,15 @@
Name: shadow Name: shadow
Version: 4.13 Version: 4.13
Release: %{?repo}0.rc1%{?dist} Release: %{?repo}0.rc2%{?dist}
Summary: Obfuscate user passwords hashes Summary: Obfuscate user passwords hashes
Group: System Environment/Security Group: System Environment/Security
License: BSD-3-Claus License: BSD-3-Claus
URL: https://github.com/shadow-maint/shadow URL: https://github.com/shadow-maint/shadow
Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/%{name}-%{version}.tar.xz Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cracklib-devel BuildRequires: cracklib-devel
Requires: libsubid = %{version}-%{release} Requires: libsubid = %{version}-%{release}
%description %description
Originally, the file /etc/passwd contained both the hashed password of Originally, the file /etc/passwd contained both the hashed password of
@ -21,16 +21,16 @@ out of that file and into a separate /etc/shadow file that is not
publicly readable, increasing the security of the hashed passwords. publicly readable, increasing the security of the hashed passwords.
%package -n libsubid %package -n libsubid
Summary: Shared library from the shadow program Summary: Shared library from the shadow program
Group: System Environment/Libraries Group: System Environment/Libraries
%description -n libsubid %description -n libsubid
The libsubid shared library from the shadow package. The libsubid shared library from the shadow package.
%package -n libsubid-devel %package -n libsubid-devel
Summary: Developer files for libsubid Summary: Developer files for libsubid
Group: Development/Libraries Group: Development/Libraries
Requires: libsubid = %{version}-%{release} Requires: libsubid = %{version}-%{release}
%description -n libsubid-devel %description -n libsubid-devel
This package contains the header files needed to compile software that This package contains the header files needed to compile software that
@ -112,6 +112,7 @@ mv %{buildroot}%{_bindir}/su %{buildroot}/bin/
%{_libdir}/libsubid.so.4 %{_libdir}/libsubid.so.4
%attr(0755,root,root) %{_libdir}/libsubid.so.4.0.0 %attr(0755,root,root) %{_libdir}/libsubid.so.4.0.0
%license COPYING %license COPYING
%doc COPYING
%files -n libsubid-devel %files -n libsubid-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -119,8 +120,13 @@ mv %{buildroot}%{_bindir}/su %{buildroot}/bin/
%attr(0644,root,root) %{_includedir}/shadow/subid.h %attr(0644,root,root) %{_includedir}/shadow/subid.h
%{_libdir}/libsubid.so %{_libdir}/libsubid.so
%attr(0644,root,root) %{_mandir}/man3/shadow.3* %attr(0644,root,root) %{_mandir}/man3/shadow.3*
%license COPYING
%doc COPYING
%changelog %changelog
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.13-0.rc2
- tabs to spaces, rebuild in freshly built GCC package
* Thu Mar 23 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.13-0.rc1 * Thu Mar 23 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.13-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3) - Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)