|
|
da02d7 |
Summary: Utilities for alternative packaging
|
|
|
da02d7 |
Name: scl-utils
|
|
|
da02d7 |
Version: 20130529
|
|
|
da02d7 |
Release: 14%{?dist}
|
|
|
da02d7 |
License: GPLv2+
|
|
|
da02d7 |
Group: Applications/File
|
|
|
da02d7 |
URL: https://fedorahosted.org/released/scl-utils/
|
|
|
da02d7 |
Source0: https://fedorahosted.org/released/scl-utils/%{name}-%{version}.tar.gz
|
|
|
da02d7 |
Source1: macros.scl-filesystem
|
|
|
da02d7 |
Source2: scl_source
|
|
|
da02d7 |
Patch0: 0001-Rename-attr-macros-so-they-are-correctly-named.patch
|
|
|
da02d7 |
Patch1: 0002-Implement-as-a-command-separator.patch
|
|
|
da02d7 |
Patch2: 0003-Mention-environment-modifying-commands-in-the-man-pa.patch
|
|
|
da02d7 |
Patch3: 0004-Check-whether-a-file-was-created-when-doing-mkstemp-.patch
|
|
|
da02d7 |
Patch4: 0005-Various-fixes-in-Provides-and-Requires-of-scl-packag.patch
|
|
|
da02d7 |
Patch5: 0006-Modified-the-behavior-of-debuginfo-generation-proces.patch
|
|
|
da02d7 |
Patch6: 0007-Changed-command-description-in-scl-man-pages.patch
|
|
|
da02d7 |
Patch7: 0008-Changed-script-paths-in-__os_install_post.patch
|
|
|
da02d7 |
Patch8: 0009-Remove-sclbuild-as-it-s-not-that-useful.patch
|
|
|
da02d7 |
Patch9: 0010-Added-capability-to-register-and-deregister-collecti.patch
|
|
|
da02d7 |
Patch10: 0011-Fix-missing-allocation-check-in-read_script_output.patch
|
|
|
da02d7 |
Patch11: 0012-Introduce-scl_dependency_generators-macro.patch
|
|
|
da02d7 |
Patch12: 0013-Add-capability-to-share-collections-using-nfs.patch
|
|
|
da02d7 |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
da02d7 |
|
|
|
da02d7 |
%description
|
|
|
da02d7 |
Run-time utility for alternative packaging.
|
|
|
da02d7 |
|
|
|
da02d7 |
%package build
|
|
|
da02d7 |
Summary: RPM build macros for alternative packaging
|
|
|
da02d7 |
Group: Applications/File
|
|
|
da02d7 |
Requires: iso-codes
|
|
|
da02d7 |
Requires: redhat-rpm-config
|
|
|
da02d7 |
|
|
|
da02d7 |
%description build
|
|
|
da02d7 |
Essential RPM build macros for alternative packaging.
|
|
|
da02d7 |
|
|
|
da02d7 |
%prep
|
|
|
da02d7 |
%setup -q
|
|
|
da02d7 |
%patch0 -p1 -b .attr-names
|
|
|
da02d7 |
%patch1 -p1 -b .command-separator
|
|
|
da02d7 |
%patch2 -p1 -b .env-variables-man
|
|
|
da02d7 |
%patch3 -p1 -b .coverity-mkstemp
|
|
|
da02d7 |
%patch4 -p1
|
|
|
da02d7 |
%patch5 -p1
|
|
|
da02d7 |
%patch6 -p1
|
|
|
da02d7 |
%patch7 -p1
|
|
|
da02d7 |
%patch8 -p1
|
|
|
da02d7 |
%patch9 -p1
|
|
|
da02d7 |
%patch10 -p1
|
|
|
da02d7 |
%patch11 -p1
|
|
|
da02d7 |
%patch12 -p1
|
|
|
da02d7 |
|
|
|
da02d7 |
%build
|
|
|
da02d7 |
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
da02d7 |
|
|
|
da02d7 |
%install
|
|
|
da02d7 |
rm -rf %buildroot
|
|
|
da02d7 |
mkdir -p %buildroot%{_sysconfdir}/rpm
|
|
|
da02d7 |
mkdir -p %buildroot%{_sysconfdir}/scl/prefixes
|
|
|
da02d7 |
pushd %buildroot%{_sysconfdir}/scl
|
|
|
da02d7 |
ln -s prefixes conf
|
|
|
da02d7 |
popd
|
|
|
da02d7 |
mkdir -p %buildroot/opt/rh
|
|
|
da02d7 |
install -d -m 755 %buildroot%{_mandir}/man1
|
|
|
da02d7 |
make install DESTDIR=%buildroot
|
|
|
da02d7 |
cat %SOURCE1 >> %buildroot%{_sysconfdir}/rpm/macros.scl
|
|
|
da02d7 |
install -m 755 %SOURCE2 %buildroot%{_bindir}/scl_source
|
|
|
da02d7 |
|
|
|
da02d7 |
# remove brp-python-hardlink invocation as it is not present in RHEL5
|
|
|
da02d7 |
%if 0%{?rhel} == 5
|
|
|
da02d7 |
sed -i -e '/^.*brp-python-hardlink.*/d' %buildroot%{_sysconfdir}/rpm/macros.scl
|
|
|
da02d7 |
%endif
|
|
|
da02d7 |
|
|
|
da02d7 |
%clean
|
|
|
da02d7 |
rm -rf %buildroot
|
|
|
da02d7 |
|
|
|
da02d7 |
%files
|
|
|
da02d7 |
%defattr(-,root,root,-)
|
|
|
da02d7 |
%dir /opt/rh
|
|
|
da02d7 |
%{_sysconfdir}/scl/conf
|
|
|
da02d7 |
%dir %{_sysconfdir}/scl/prefixes
|
|
|
da02d7 |
%{_bindir}/scl
|
|
|
da02d7 |
%{_bindir}/scl_enabled
|
|
|
da02d7 |
%{_bindir}/scl_source
|
|
|
da02d7 |
%{_mandir}/man1/*
|
|
|
da02d7 |
%{_sysconfdir}/bash_completion.d/scl.bash
|
|
|
da02d7 |
|
|
|
da02d7 |
%{!?_rpmconfigdir:%global _rpmconfigdir /usr/lib/rpm}
|
|
|
da02d7 |
%files build
|
|
|
da02d7 |
%defattr(-,root,root,-)
|
|
|
da02d7 |
%{_sysconfdir}/rpm/macros.scl
|
|
|
da02d7 |
%{_rpmconfigdir}/scldeps.sh
|
|
|
da02d7 |
%{_rpmconfigdir}/fileattrs/scl.attr
|
|
|
da02d7 |
%{_rpmconfigdir}/brp-scl-compress
|
|
|
da02d7 |
%{_rpmconfigdir}/brp-scl-python-bytecompile
|
|
|
da02d7 |
|
|
|
da02d7 |
%changelog
|
|
|
da02d7 |
* Tue Jan 06 2015 Jan Zeleny <jzeleny@redhat.com> - 20142529-14
|
|
|
da02d7 |
- remove the vendor prefix from %%scl_install
|
|
|
da02d7 |
- escape all the %% chars in changelog
|
|
|
da02d7 |
|
|
|
da02d7 |
* Mon Jan 05 2015 Jan Zeleny <jzeleny@redhat.com> - 20132529-13
|
|
|
da02d7 |
- after a thorough discussion with scl maintainers, revert the vendor prefix
|
|
|
da02d7 |
in package names
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Dec 12 2014 Jan Zeleny <jzeleny@redhat.com> - 20132529-12
|
|
|
da02d7 |
- the second half of the macro rename
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Dec 12 2014 Jan Zeleny <jzeleny@redhat.com> - 20130529-11
|
|
|
da02d7 |
- renamed %%scl_pkg_prefix to %%scl_full_prefix (#1167042)
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Dec 05 2014 Lubos Kardos <lkardos@redhat.com> - 20130529-10
|
|
|
da02d7 |
- Allow to use vendor prefix in packages names
|
|
|
da02d7 |
- Include %%nfsmountable macro into scl's rpm macros file
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Oct 23 2014 Lubos Kardos
|
|
|
da02d7 |
- "filesystem" is now symlink to file "filelist"
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Oct 08 2014 Lubos Kardos
|
|
|
da02d7 |
- Modified paths of state and conf files
|
|
|
da02d7 |
- Add owning and creating of state and conf files if nfsmountable is defined
|
|
|
da02d7 |
- Add printing file names in error messages
|
|
|
da02d7 |
|
|
|
da02d7 |
* Tue Sep 30 2014 Lubos Kardos
|
|
|
da02d7 |
Support for importing collections from NFS mounts
|
|
|
da02d7 |
- Add execution of register and deregister scripts during registration
|
|
|
da02d7 |
and deregistration if they exist.
|
|
|
da02d7 |
- Add capability to make collection nfs mountable using macro nfsmountable.
|
|
|
da02d7 |
|
|
|
da02d7 |
* Tue Aug 26 2014 Jan Zeleny <jzeleny@redhat.com> - 20130529-6
|
|
|
da02d7 |
Catch up with Fedora and RHEL6
|
|
|
da02d7 |
- add automatic Provides: scl-package(%%scl) to all scl packages
|
|
|
da02d7 |
(except for metapackages)
|
|
|
da02d7 |
- add automatic Requires: %%scl_runtime to all scl packages
|
|
|
da02d7 |
(except for metapackages)
|
|
|
da02d7 |
- the "filesystem" file renamed back to "filelist"
|
|
|
da02d7 |
- add correct dependencies to debug packages.
|
|
|
da02d7 |
- allow disabling debuginfo generation
|
|
|
da02d7 |
- remove automatic creation of debuginfo for metapackage.
|
|
|
da02d7 |
- rephrase command description in man page
|
|
|
da02d7 |
- fix system paths in __os_install_post
|
|
|
da02d7 |
- remove the sclbuild utility, as it's mostly useless
|
|
|
da02d7 |
- add the command set to register/deregister collection
|
|
|
da02d7 |
- fix missing allocation check in read_script_output()
|
|
|
da02d7 |
- drop recursive ownership of /usr/lib within SCL root
|
|
|
da02d7 |
- introduce %%scl_dependency_generators macro
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 20130529-5
|
|
|
da02d7 |
- Mass rebuild 2014-01-24
|
|
|
da02d7 |
|
|
|
da02d7 |
* Tue Jan 14 2014 Jan Zeleny <jzeleny@redhat.com> - 20130529-4
|
|
|
da02d7 |
- fixed some coverity-reported bugs (related: #1032616)
|
|
|
da02d7 |
- a note about env. variables in man page (#968954)
|
|
|
da02d7 |
- drop the /var/spool/uucp from the default fs structure (#1033674)
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 20130529-3
|
|
|
da02d7 |
- Mass rebuild 2013-12-27
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Nov 21 2013 Jan Zeleny <jzeleny@redhat.com> - 20130529-2
|
|
|
da02d7 |
- add scl_source script for intercollection dependencies (#1032444)
|
|
|
da02d7 |
- updated macros in macros.scl-filesystem (#1032451, #1032451)
|
|
|
da02d7 |
- add delimiter between collections and command (#1032460)
|
|
|
da02d7 |
- fix the name of attr macros (#1023628)
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed May 29 2013 Jan Zeleny <jzeleny@redhat.com> - 20130529-1
|
|
|
da02d7 |
- changed the upstream tarball location
|
|
|
da02d7 |
- update to 20130529
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Feb 01 2013 Jindrich Novy <jnovy@redhat.com> 20121110-2
|
|
|
da02d7 |
- add build compatibility fixes
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Dec 19 2012 Jindrich Novy <jnovy@redhat.com> 20121110-1
|
|
|
da02d7 |
- introduce sclbuild utility
|
|
|
da02d7 |
- fix exporting of env. variables when mutiple collections are
|
|
|
da02d7 |
enabled at the same time
|
|
|
da02d7 |
- better bash completion
|
|
|
da02d7 |
- fix changelog
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Sep 27 2012 Jindrich Novy <jnovy@redhat.com> 20120927-1
|
|
|
da02d7 |
- update to 20120927
|
|
|
da02d7 |
- better BUILDROOT processing
|
|
|
da02d7 |
- bash completition for scl command
|
|
|
da02d7 |
- debuginfo package now has SCL-specific provide
|
|
|
da02d7 |
- non-SCL builds are without warning in build log
|
|
|
da02d7 |
- improved help
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Aug 09 2012 Jindrich Novy <jnovy@redhat.com> 20120809-1
|
|
|
da02d7 |
- update to 20120809
|
|
|
da02d7 |
- processes the SCL buildroot correctly now
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Aug 02 2012 Jindrich Novy <jnovy@redhat.com> 20120802-1
|
|
|
da02d7 |
- update to 20120802
|
|
|
da02d7 |
|
|
|
da02d7 |
* Tue Jul 31 2012 Jindrich Novy <jnovy@redhat.com> 20120731-1
|
|
|
da02d7 |
- add functionality that allows to list all packages in a collection
|
|
|
da02d7 |
- add dependency generators
|
|
|
da02d7 |
|
|
|
da02d7 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120613-2
|
|
|
da02d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Jun 13 2012 Jindrich Novy <jnovy@redhat.com> 20120613-1
|
|
|
da02d7 |
- Requires: iso-codes for basic filesystem in build subpackage
|
|
|
da02d7 |
- add scl_require_package() macro to depend on a particular package
|
|
|
da02d7 |
from the collection
|
|
|
da02d7 |
- fix filesystem file list
|
|
|
da02d7 |
- tighten runtime package dependency via scl_require()
|
|
|
da02d7 |
- fix _localstatedir to point to the correct path according to redhat-rpm-config
|
|
|
da02d7 |
- thanks to Bohuslav Kabrda for feature proposals/QA/fixes
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu May 03 2012 Jindrich Novy <jnovy@redhat.com> 20120503-1
|
|
|
da02d7 |
- avoid doublefree corruption when reading commands from stdin
|
|
|
da02d7 |
|
|
|
da02d7 |
* Sun Apr 22 2012 Jindrich Novy <jnovy@redhat.com> 20120423-1
|
|
|
da02d7 |
- keep filesystem macros out of the main sources as
|
|
|
da02d7 |
it is distro-dependent
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Apr 13 2012 Jindrich Novy <jnovy@redhat.com> 20120413-1
|
|
|
da02d7 |
- filesystem ownership by meta package
|
|
|
da02d7 |
- add man page
|
|
|
da02d7 |
- fix memory leak when parsing commands from stdin
|
|
|
da02d7 |
- use more descriptive error message if /etc/prefixes is missing
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Feb 29 2012 Jindrich Novy <jnovy@redhat.com> 20120229-1
|
|
|
da02d7 |
- do not prepend scl_* prefix to package names
|
|
|
da02d7 |
- unify package naming to <SCL>-package-version
|
|
|
da02d7 |
- add scl --list functionality to list available SCLs
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Feb 09 2012 Jindrich Novy <jnovy@redhat.com> 20120209-1
|
|
|
da02d7 |
- fix minor bugs (#788194)
|
|
|
da02d7 |
- clear temp files
|
|
|
da02d7 |
- handle commands from stdin properly
|
|
|
da02d7 |
- run command even if ran as "scl enable SCL command" from already
|
|
|
da02d7 |
enabled SCL
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Jan 25 2012 Jindrich Novy <jnovy@redhat.com> 20120125-1
|
|
|
da02d7 |
- remove dsc macros
|
|
|
da02d7 |
- trigger scl-utils-build BR inclusion while using scl macros
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Jan 11 2012 Jindrich Novy <jnovy@redhat.com> 20120111-1
|
|
|
da02d7 |
- add "dsc" alias to "scl" utility
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Dec 14 2011 Jindrich Novy <jnovy@redhat.com> 20111214-1
|
|
|
da02d7 |
- initial review fixes (#767556)
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Dec 9 2011 Jindrich Novy <jnovy@redhat.com> 20111209-1
|
|
|
da02d7 |
- allow to use dsc_* macros and dsc* package naming
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Nov 16 2011 Jindrich Novy <jnovy@redhat.com> 20111116-1
|
|
|
da02d7 |
- package is now named scl-utils
|
|
|
da02d7 |
|
|
|
da02d7 |
* Mon Oct 17 2011 Jindrich Novy <jnovy@redhat.com> 20111017-1
|
|
|
da02d7 |
- initial packaging for upstream
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Sep 21 2011 Jindrich Novy <jnovy@redhat.com> 0.1-14
|
|
|
da02d7 |
- define %%_defaultdocdir to properly relocate docs into
|
|
|
da02d7 |
a stack
|
|
|
da02d7 |
- document a way how to pass command to stack via stdin
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Jun 22 2011 Jindrich Novy <jnovy@redhat.com> 0.1-13
|
|
|
da02d7 |
- fix Stack meta config configuration
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Jun 17 2011 Jindrich Novy <jnovy@redhat.com> 0.1-12
|
|
|
da02d7 |
- use own Stack path configuration mechanism
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Jun 17 2011 Jindrich Novy <jnovy@redhat.com> 0.1-11
|
|
|
da02d7 |
- avoid redefinition of %%_root* macros by multiple
|
|
|
da02d7 |
occurence of %%stack_package
|
|
|
da02d7 |
- make the Stack root path configurable
|
|
|
da02d7 |
|
|
|
da02d7 |
* Tue Jun 14 2011 Jindrich Novy <jnovy@redhat.com> 0.1-10
|
|
|
da02d7 |
- stack utility allows to read command from stdin
|
|
|
da02d7 |
|
|
|
da02d7 |
* Mon Jun 13 2011 Jindrich Novy <jnovy@redhat.com> 0.1-9
|
|
|
da02d7 |
- introduce stack enablement tracking
|
|
|
da02d7 |
- introduce "stack_enabled" helper utility to let a stack
|
|
|
da02d7 |
application figure out which stacks are actually enabled
|
|
|
da02d7 |
- disallow running stacks recursively
|
|
|
da02d7 |
|
|
|
da02d7 |
* Mon Jun 13 2011 Jindrich Novy <jnovy@redhat.com> 0.1-8
|
|
|
da02d7 |
- stack utility returns executed commands' exit value
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Jun 10 2011 Jindrich Novy <jnovy@redhat.com> 0.1-7
|
|
|
da02d7 |
- fix possible segfault in the stack utility
|
|
|
da02d7 |
|
|
|
da02d7 |
* Fri Jun 10 2011 Jindrich Novy <jnovy@redhat.com> 0.1-6
|
|
|
da02d7 |
- %%stack_name: initial part of stack prefix and name of
|
|
|
da02d7 |
meta package providing scriptlets
|
|
|
da02d7 |
- %%stack_prefix: stack namespacing part to be prepended to
|
|
|
da02d7 |
original non-stack package name, can be used for Provides
|
|
|
da02d7 |
namespacing as well
|
|
|
da02d7 |
- %%stack_runtime: run-time package name providing scriptlets
|
|
|
da02d7 |
- %%stack_require: macro to define dependency to other stacks
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Jun 09 2011 Jindrich Novy <jnovy@redhat.com> 0.1-5
|
|
|
da02d7 |
- split the package into two - runtime and build part
|
|
|
da02d7 |
- decrease verbosity when enabling a stack
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Jun 08 2011 Jindrich Novy <jnovy@redhat.com> 0.1-4
|
|
|
da02d7 |
- prepend stack package with stack_* to prevent namespace
|
|
|
da02d7 |
conflicts with core packages
|
|
|
da02d7 |
|
|
|
da02d7 |
* Thu Jun 02 2011 Jindrich Novy <jnovy@redhat.com> 0.1-3
|
|
|
da02d7 |
- introduce metapackage concept
|
|
|
da02d7 |
|
|
|
da02d7 |
* Wed Jun 01 2011 Jindrich Novy <jnovy@redhat.com> 0.1-2
|
|
|
da02d7 |
- modify macros so that they don't change preamble tags
|
|
|
da02d7 |
|
|
|
da02d7 |
* Sun May 08 2011 Jindrich Novy <jnovy@redhat.com> 0.1-1
|
|
|
da02d7 |
- initial packaging
|