654972
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
654972
654972
Name:       scl-utils
654972
Epoch:      1
654972
Version:    2.0.2
14d75c
Release:    11%{?dist}
654972
Summary:    Utilities for alternative packaging
654972
654972
License:    GPLv2+
654972
Group:      Applications/File
654972
URL:        https://github.com/sclorg/scl-utils
654972
Source0:    https://github.com/sclorg/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
654972
Source1:    macros.scl-filesystem
654972
BuildRequires:	gcc make
654972
Buildrequires:  cmake 
654972
Buildrequires:  rpm-devel
654972
Requires:   %{_bindir}/modulecmd
654972
654972
Patch1:     0003-Scl-utils-layout-patch-from-fedora-famillecollet.com.patch
14d75c
Patch2:     0004-define-macro-python-explicitly.patch
654972
654972
%description
654972
Run-time utility for alternative packaging.
654972
654972
%package build
654972
Summary:    RPM build macros for alternative packaging
654972
Group:      Applications/File
654972
Requires:   iso-codes
654972
Requires:   redhat-rpm-config
654972
654972
%description build
654972
Essential RPM build macros for alternative packaging.
654972
654972
%prep
654972
%autosetup -p1
654972
654972
%build
654972
%cmake
654972
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
654972
654972
654972
%install
654972
rm -rf %{buildroot}
654972
make install DESTDIR=%{buildroot}
654972
if [ %{macrosdir} != %{_sysconfdir}/rpm ]; then
654972
    mkdir -p %{buildroot}%{macrosdir}
654972
    mv %{buildroot}%{_sysconfdir}/rpm/macros.scl %{buildroot}%{macrosdir}
654972
    rmdir %{buildroot}%{_sysconfdir}/rpm
654972
fi
654972
cat %SOURCE1 >> %{buildroot}%{macrosdir}/macros.scl
654972
mkdir -p %{buildroot}%{_sysconfdir}/scl
654972
cd %{buildroot}%{_sysconfdir}/scl
654972
mkdir modulefiles
654972
mkdir prefixes
654972
ln -s prefixes conf
654972
654972
%files
654972
%defattr(-,root,root,-)
14d75c
%dir %{_sysconfdir}/scl
654972
%dir %{_sysconfdir}/scl/modulefiles
654972
%dir %{_sysconfdir}/scl/prefixes
654972
%{_sysconfdir}/scl/conf
654972
%{_sysconfdir}/scl/func_scl.csh
654972
%config %{_sysconfdir}/bash_completion.d/scl
654972
%config %{_sysconfdir}/profile.d/scl-init.sh
654972
%config %{_sysconfdir}/profile.d/scl-init.csh
654972
%{_bindir}/scl
654972
%{_bindir}/scl_enabled
654972
%{_bindir}/scl_source
654972
%{_mandir}/man1/scl.1.gz
654972
%doc LICENSE
654972
654972
%files build
654972
%defattr(-,root,root,-)
654972
%{macrosdir}/macros.scl
654972
%{_rpmconfigdir}/scldeps.sh
654972
%{_rpmconfigdir}/fileattrs/scl.attr
654972
%{_rpmconfigdir}/fileattrs/sclbuild.attr
654972
%{_rpmconfigdir}/brp-scl-compress
654972
%{_rpmconfigdir}/brp-scl-python-bytecompile
654972
654972
%changelog
14d75c
* Fri Aug 16 2019 Pavlina Moravcova Varekova <pmoravco@redhat.com> - 1:2.0.2-11
14d75c
- reverted sci-utils-build own the pkgconfig directory (#1431962)
14d75c
14d75c
* Tue Jul 30 2019 Pavlina Moravcova Varekova <pmoravco@redhat.com> - 1:2.0.2-10
14d75c
- use %%__python3 instead of macro %%__python (#1733526)
14d75c
- corrected unescaped per-cent character in the changelog (#1734103)
14d75c
14d75c
* Tue Jul 02 2019 Pavlina Moravcova Varekova <pmoravco@redhat.com> - 1:2.0.2-9
14d75c
- use %%{?dist} instead of %%{dist} (#1725774)
14d75c
- scl-utils-build own the pkgconfig directory by %%scl_files (#1431962)
14d75c
14d75c
* Wed May 22 2019 Pavlina Moravcova Varekova <pmoravco@redhat.com> - 1:2.0.2-8
14d75c
- Own directory /etc/scl (#1616405)
14d75c
654972
* Tue Jul 24 2018 Vít Ondruch <vondruch@redhat.com> - 1:2.0.2-7
654972
- Don't enforce modulefile ownership.
654972
654972
* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.2-5
654972
- Explicitly BuildRequire gcc and make
654972
654972
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.2-4
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
654972
654972
* Fri Aug 25 2017 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.2-3
654972
- Fixup URL and Source, fedorahosted.org is no more
654972
654972
* Fri Aug 25 2017 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.2-2
654972
- scl-utils is not compatible with Lmod, fix the dependency (#1296383)
654972
654972
* Fri Aug 25 2017 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.2-1
654972
- Rebase to 2.0.2
654972
654972
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:2.0.1-20
654972
- Rebuilt after RPM update (№ 3)
654972
654972
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:2.0.1-19
654972
- Rebuilt for RPM soname bump
654972
654972
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:2.0.1-18
654972
- Rebuilt for RPM soname bump
654972
654972
* Mon Aug  7 2017 Joe Orton <jorton@redhat.com> - 1:2.0.1-17
654972
- add aarch64, ppc64le to list of arches with lib64 (#1475718)
654972
654972
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.1-16
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
654972
654972
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.1-15
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
654972
654972
* Mon Mar 20 2017 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.1-14
654972
- Permit choosing environment modules implementation (#1296383)
654972
654972
* Mon Mar 20 2017 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.1-13
654972
- Own license directory by runtime (#1206044)
654972
654972
* Mon Mar 20 2017 Panu Matilainen <pmatilai@redhat.com> - 1:2.0.1-12
654972
- Don't try to use no longer existing brp-java-repack-jars script (#1409277)
654972
654972
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.1-11
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
654972
654972
* Wed Mar 09 2016 Lubos Kardos <lkardos@redhat.com> -1:2.0.1-10
654972
- apply rh layout fixes from Remi Collet (#1198693)
654972
654972
* Mon Mar  7 2016 Remi Collet <remi@fedoraproject.org> - 1:2.0.1-9
654972
- fix grep usage in macros.scl #1315051
654972
654972
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.1-8
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
654972
654972
* Thu Aug 27 2015 Lubos Kardos <lkardos@redhat.com> - 1:2.0.1-7
654972
- Fix core dumps with large input on stdin (#1257274)
654972
654972
* Mon Jul 27 2015 Lubos Kardos <lkardos@redhat.com> - 1:2.0.1-6
654972
- Rebuild with the newest rpm.
654972
654972
* Tue Jul 07 2015 Lubos Kardos <lkardos@redhat.com> - 1:2.0.1-5
654972
- Honor CFLAGS passed to cmake (#1239997)
654972
654972
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.1-4
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
654972
654972
* Wed Mar  4 2015 Ville Skyttä <ville.skytta@iki.fi> - 1:2.0.1-3
654972
- Install macros in %%{_rpmconfigdir}/macros.d where available (#1074284)
654972
654972
* Wed Jan 21 2015 Lubos Kardos <lkardos@redhat.com> - 1:2.0.1-2
654972
- added owning of module file
654972
654972
* Tue Jan 20 2015 Lubos Kardos <lkardos@redhat.com> - 1:2.0.1-1
654972
- rebase to scl-utils-2.0.1
654972
- escaped macros in changelog
654972
- added %%config for files in /etc
654972
654972
* Fri Jan 09 2015 Jan Zeleny <jzeleny@redhat.com> - 1:2.0-2
654972
- corrected URL of Source0
654972
654972
* Thu Jan 08 2015 Lubos Kardos <lkardos@redhat.com> - 1:2.0-1
654972
- rebase to scl-utils-2.0
654972
654972
* Fri Dec 12 2014 Jan Zeleny <jzeleny@redhat.com> - 20140815-4
654972
- propagate the %%nfsmountable into -build subpackage content
654972
- use vendor prefix in the names of the packages if required
654972
654972
* Fri Dec 12 2014 Jan Zeleny <jzeleny@redhat.com> - 20140815-3
654972
- add support for register/deregister scriptlets
654972
- add support %%nfsmountable macro
654972
- fix some paths in %%scl_files and %%scl_install
654972
654972
* Wed Aug 27 2014 Jan Zeleny <jzeleny@redhat.com> - 20140815-2
654972
- fixed the paths in /etc/opt and /var/opt (missing /scls/)
654972
- adjust the spec so all patches are automatically applied
654972
654972
* Tue Aug 26 2014 Jan Zeleny <jzeleny@redhat.com> - 20140815-1
654972
- rebased to 20140815
654972
- switched to %%autosetup in %%prep
654972
654972
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140127-7
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
654972
654972
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140127-6
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
654972
654972
* Wed May 07 2014 Albert Uchytil <auchytil@redhat.com> - 20140127-5
654972
- changed __os_install_post script paths to keep up with rpm (#1093074)
654972
654972
* Fri Apr 11 2014 Albert Uchytil <auchytil@redhat.com> - 20140127-4
654972
- reverted "-f filelist" modification
654972
- added %%scl_vendor macro to macros.%%{scl}-config file (#1084095)
654972
- %%scl_prefix now accepts a parameter to improve
654972
  inter-collection dependencies (#1028953)
654972
- modified the behavior of debuginfo generation process
654972
- changed command description in scl man pages
654972
- added conditional dependencies for main metapackage
654972
654972
* Tue Mar 18 2014 Albert Uchytil <auchytil@redhat.com> - 20140127-3
654972
- added scl-runtime requirement for all subpackages
654972
654972
* Wed Mar 12 2014 Albert Uchytil <auchytil@redhat.com> - 20140127-2
654972
- %%scl_files body moved to %%scl_install
654972
- the "filesystem" file renamed back to "filelist"
654972
- add automatic Provide: scl-package(%%scl) to all scl-related packages (#105290)
654972
654972
* Mon Jan 27 2014 Jan Zeleny <jzeleny@redhat.com> - 20140127-1
654972
- don't exclude provides from SCLs (#1056183)
654972
- don't generate scl-package(%%scl) in macros.scl, it's already
654972
  handled in dependency generator
654972
- add automatic Requires: %%scl_runtime to every SCL package (#1054711)
654972
654972
* Wed Jan 08 2014 Jan Zeleny <jzeleny@redhat.com> - 20140108-1
654972
- split _scl_prefix macro in two parts: scl_basedir and scl_vendor (#985233)
654972
- check if temp file is created (#1032666)
654972
- don't split command arguments containing white space (#1032666)
654972
- rename some attr rpm macros to stop confusing rpm (#1023625)
654972
654972
* Thu Oct 17 2013 Jan Zeleny <jzeleny@redhat.com> - 20131017-1
654972
- fixed one issue in scl_source script
654972
654972
* Wed Oct 16 2013 Jan Zeleny <jzeleny@redhat.com> - 20131016-1
654972
- fixed the -- separator behavior
654972
654972
* Wed Oct 09 2013 Jan Zeleny <jzeleny@redhat.com> - 20131015-1
654972
- Correct the %%_sharedstatedir and %%_root_sharedstatedir macros
654972
- Don't install /%%{_lib} when not necessary
654972
- Add LICENSE file
654972
- Add scl_source script
654972
- Don't change directory in %%scl_install
654972
- Don't generate provides from sonames in the SCL root
654972
- Add the SCL prefix to virtual provides of SCL-based packages
654972
- Implement "--" as a command separator
654972
- Removed binary file scl from git tracking
654972
- Fixed typo
654972
- Added example wrapper script.
654972
654972
* Mon Aug 26 2013 Jan Zeleny <jzeleny@redhat.com> - 20130529-3
654972
- updated the file list to handle /etc/scl/conf correctly
654972
654972
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130529-2
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
654972
654972
* Wed May 29 2013 Jan Zeleny <jzeleny@redhat.com> - 20130529-1
654972
- changed the upstream tarball location
654972
- update to 20130529
654972
654972
* Fri Feb 01 2013 Jindrich Novy <jnovy@redhat.com> 20121110-2
654972
- add build compatibility fixes
654972
654972
* Wed Dec 19 2012 Jindrich Novy <jnovy@redhat.com> 20121110-1
654972
- introduce sclbuild utility
654972
- fix exporting of env. variables when mutiple collections are
654972
  enabled at the same time
654972
- better bash completion
654972
- fix changelog
654972
654972
* Thu Sep 27 2012 Jindrich Novy <jnovy@redhat.com> 20120927-1
654972
- update to 20120927
654972
- better BUILDROOT processing
654972
- bash completition for scl command
654972
- debuginfo package now has SCL-specific provide
654972
- non-SCL builds are without warning in build log
654972
- improved help
654972
654972
* Thu Aug 09 2012 Jindrich Novy <jnovy@redhat.com> 20120809-1
654972
- update to 20120809
654972
- processes the SCL buildroot correctly now
654972
654972
* Thu Aug 02 2012 Jindrich Novy <jnovy@redhat.com> 20120802-1
654972
- update to 20120802
654972
654972
* Tue Jul 31 2012 Jindrich Novy <jnovy@redhat.com> 20120731-1
654972
- add functionality that allows to list all packages in a collection
654972
- add dependency generators
654972
654972
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120613-2
654972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
654972
654972
* Wed Jun 13 2012 Jindrich Novy <jnovy@redhat.com> 20120613-1
654972
- Requires: iso-codes for basic filesystem in build subpackage
654972
- add scl_require_package() macro to depend on a particular package
654972
  from the collection
654972
- fix filesystem file list
654972
- tighten runtime package dependency via scl_require()
654972
- fix _localstatedir to point to the correct path according to redhat-rpm-config
654972
- thanks to Bohuslav Kabrda for feature proposals/QA/fixes
654972
654972
* Thu May 03 2012 Jindrich Novy <jnovy@redhat.com> 20120503-1
654972
- avoid doublefree corruption when reading commands from stdin
654972
654972
* Sun Apr 22 2012 Jindrich Novy <jnovy@redhat.com> 20120423-1
654972
- keep filesystem macros out of the main sources as
654972
  it is distro-dependent
654972
654972
* Fri Apr 13 2012 Jindrich Novy <jnovy@redhat.com> 20120413-1
654972
- filesystem ownership by meta package
654972
- add man page
654972
- fix memory leak when parsing commands from stdin
654972
- use more descriptive error message if /etc/prefixes is missing
654972
654972
* Wed Feb 29 2012 Jindrich Novy <jnovy@redhat.com> 20120229-1
654972
- do not prepend scl_* prefix to package names
654972
- unify package naming to <SCL>-package-version
654972
- add scl --list functionality to list available SCLs
654972
654972
* Thu Feb 09 2012 Jindrich Novy <jnovy@redhat.com> 20120209-1
654972
- fix minor bugs (#788194)
654972
  - clear temp files
654972
  - handle commands from stdin properly
654972
  - run command even if ran as "scl enable SCL command" from already
654972
    enabled SCL
654972
654972
* Wed Jan 25 2012 Jindrich Novy <jnovy@redhat.com> 20120125-1
654972
- remove dsc macros
654972
- trigger scl-utils-build BR inclusion while using scl macros
654972
654972
* Wed Jan 11 2012 Jindrich Novy <jnovy@redhat.com> 20120111-1
654972
- add "dsc" alias to "scl" utility
654972
654972
* Wed Dec 14 2011 Jindrich Novy <jnovy@redhat.com> 20111214-1
654972
- initial review fixes (#767556)
654972
654972
* Fri Dec  9 2011 Jindrich Novy <jnovy@redhat.com> 20111209-1
654972
- allow to use dsc_* macros and dsc* package naming
654972
654972
* Wed Nov 16 2011 Jindrich Novy <jnovy@redhat.com> 20111116-1
654972
- package is now named scl-utils
654972
654972
* Mon Oct 17 2011 Jindrich Novy <jnovy@redhat.com> 20111017-1
654972
- initial packaging for upstream
654972
654972
* Wed Sep 21 2011 Jindrich Novy <jnovy@redhat.com> 0.1-14
654972
- define %%_defaultdocdir to properly relocate docs into
654972
  a stack
654972
- document a way how to pass command to stack via stdin
654972
654972
* Wed Jun 22 2011 Jindrich Novy <jnovy@redhat.com> 0.1-13
654972
- fix Stack meta config configuration
654972
654972
* Fri Jun 17 2011 Jindrich Novy <jnovy@redhat.com> 0.1-12
654972
- use own Stack path configuration mechanism
654972
654972
* Fri Jun 17 2011 Jindrich Novy <jnovy@redhat.com> 0.1-11
654972
- avoid redefinition of %%_root* macros by multiple
654972
  occurence of %%stack_package
654972
- make the Stack root path configurable
654972
654972
* Tue Jun 14 2011 Jindrich Novy <jnovy@redhat.com> 0.1-10
654972
- stack utility allows to read command from stdin
654972
654972
* Mon Jun 13 2011 Jindrich Novy <jnovy@redhat.com> 0.1-9
654972
- introduce stack enablement tracking
654972
- introduce "stack_enabled" helper utility to let a stack
654972
  application figure out which stacks are actually enabled
654972
- disallow running stacks recursively
654972
654972
* Mon Jun 13 2011 Jindrich Novy <jnovy@redhat.com> 0.1-8
654972
- stack utility returns executed commands' exit value
654972
654972
* Fri Jun 10 2011 Jindrich Novy <jnovy@redhat.com> 0.1-7
654972
- fix possible segfault in the stack utility
654972
654972
* Fri Jun 10 2011 Jindrich Novy <jnovy@redhat.com> 0.1-6
654972
- %%stack_name: initial part of stack prefix and name of
654972
  meta package providing scriptlets
654972
- %%stack_prefix: stack namespacing part to be prepended to
654972
  original non-stack package name, can be used for Provides
654972
  namespacing as well
654972
- %%stack_runtime: run-time package name providing scriptlets
654972
- %%stack_require: macro to define dependency to other stacks
654972
654972
* Thu Jun 09 2011 Jindrich Novy <jnovy@redhat.com> 0.1-5
654972
- split the package into two - runtime and build part
654972
- decrease verbosity when enabling a stack
654972
654972
* Wed Jun 08 2011 Jindrich Novy <jnovy@redhat.com> 0.1-4
654972
- prepend stack package with stack_* to prevent namespace
654972
  conflicts with core packages
654972
654972
* Thu Jun 02 2011 Jindrich Novy <jnovy@redhat.com> 0.1-3
654972
- introduce metapackage concept
654972
654972
* Wed Jun 01 2011 Jindrich Novy <jnovy@redhat.com> 0.1-2
654972
- modify macros so that they don't change preamble tags
654972
654972
* Sun May 08 2011 Jindrich Novy <jnovy@redhat.com> 0.1-1
654972
- initial packaging