#50275 Ticket 49667 - 49668 - remove old spec files
Closed 3 years ago by spichugi. Opened 5 years ago by firstyear.
firstyear/389-ds-base 49668-49667-remove-old-spec  into  master

@@ -1,239 +0,0 @@ 

- %global srcname lib389

- %global sum A library for accessing, testing, and configuring the 389 Directory Server

- %global vers 1.0.4

- 

- Name: python-%{srcname}

- Summary:%{sum}

- Version: %{vers}

- # RESET THIS TO 0 ON VERSION CHANGE

- Release: 4%{?dist}

- %global tarver %{version}-1

- Source0: http://www.port389.org/binaries/%{name}-%{tarver}.tar.bz2

- License: GPLv3+

- Group: Development/Libraries

- BuildArch: noarch

- Url: http://www.port389.org/

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- BuildRequires: python2-devel

- BuildRequires: python2-setuptools

- BuildRequires: python%{python3_pkgversion}-devel

- BuildRequires: python%{python3_pkgversion}-setuptools

- %else

- BuildRequires: python-devel

- BuildRequires: python-setuptools

- %endif

- %description

- This module contains tools and libraries for accessing, testing,

- and configuring the 389 Directory Server.

- 

- 

- %package -n python2-%{srcname}

- Summary:    %{sum}

- Requires: python-ldap

- Requires: krb5-workstation

- Requires: krb5-server

- Requires: openssl

- Requires: iproute

- Requires: python-enum34

- # Conditional will need to change later.

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- Requires: python2

- Requires: python2-pytest

- Requires: python2-six

- Requires: python2-pyasn1

- Requires: python2-pyasn1-modules

- Requires: python2-dateutil

- %else

- Requires: python

- Requires: pytest

- Requires: python-six

- Requires: python-pyasn1

- Requires: python-pyasn1-modules

- Requires: python-dateutil

- %endif

- %{?python_provide:%python_provide python2-%{srcname}}

- %description -n python2-%{srcname}

- This module contains tools and libraries for accessing, testing,

- and configuring the 389 Directory Server.

- 

- # Can't build on EL7! Python3 tooling is too broken :(

- # We have to use >= 8, because <= 7 doesn't work ....

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- %package -n python%{python3_pkgversion}-%{srcname}

- Summary:    %{sum}

- Requires: krb5-workstation

- Requires: krb5-server

- Requires: openssl

- Requires: iproute

- Requires: python%{python3_pkgversion}

- Requires: python%{python3_pkgversion}-pytest

- Requires: python%{python3_pkgversion}-pyldap

- Requires: python%{python3_pkgversion}-six

- Requires: python%{python3_pkgversion}-pyasn1

- Requires: python%{python3_pkgversion}-pyasn1-modules

- Requires: python%{python3_pkgversion}-dateutil

- %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}

- %description -n python%{python3_pkgversion}-%{srcname}

- This module contains tools and libraries for accessing, testing,

- and configuring the 389 Directory Server.

- %endif

- 

- %prep

- %autosetup -n %{name}-%{tarver}

- 

- %build

- # JFC you need epel only devel packages for this, python 3 is the worst

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- %py2_build

- %py3_build

- %else

- %{__python} setup.py build

- %endif

- 

- %install

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- %py2_install

- %py3_install

- %else

- %{__python} setup.py install -O1 --skip-build --root %{buildroot}

- %endif

- 

- %files -n python2-%{srcname}

- %license LICENSE

- %doc README.md

- %{python2_sitelib}/*

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- %exclude %{_sbindir}/*

- %else

- %{_sbindir}/*

- %endif

- 

- %if 0%{?rhel} >= 8 || 0%{?fedora}

- %files -n python%{python3_pkgversion}-%{srcname}

- %license LICENSE

- %doc README.md

- %{python3_sitelib}/*

- %{_sbindir}/*

- %endif

- 

- %changelog

- * Thu Mar 9 2017 William Brown <wibrown@redhat.com> - 1.0.4-1

- - Bump version to 1.0.4

- - Ticket 4 - Cert detection breaks some tests

- - Ticket 49137 - Add sasl plain tests, lib389 support

- - Ticket 2 -  pytest mark with version relies on root

- - Ticket 49126 - DIT management tool

- - dbscan - Support additional options (-t truncate -R)

- - Ticket 49101 - Python 2 generate example entries

- - Ticket 49103 - python 2 support for installer

- - Fixed regression with offline db2ldif

- - Ticket 47747 - Add topology_i2 and topology_i3

- - Ticket 49087 - lib389 resolve jenkins issues

- - Ticket 48413 - Improvements to lib389 for rest

- - Ticket 49083 - Support prefix for discovery of the defaults.inf file.

- - Ticket 49055 - Fix debugging mode issue

- - Ticket 49060 - Increase number of masters, hubs and consumers in topology

- - Ticket 47747 - Add more topology fixtures

- - Ticket 47840 - Add InstScriptsEnabled argument

- - Ticket 47747 - Add topology fixtures module

- - Ticket 48707 - Implement draft-wibrown-ldapssotoken-01

- - Ticket 49022 - Lib389, py3 installer cannot create entries in backend

- - Ticket 49024 - Fix paths to the dbdir parent

- - Ticket 49024 - Fix db_dir paths

- - Ticket 49024 - Fix paths in tools module

- - Ticket 48961 - Fix lib389 minor issues shown by 48961 test

- - Fix runUpgrade tool issues

- - Ticket 49010 - Lib389 fails to start with systemctl changes

- - Ticket 49007 - lib389 fixes for paths to use online values

- - Ticket 49005 - Update lib389 to work in containers correctly.

- - Ticket 48991 - Fix lib389 spec for python2 and python3

- - Ticket 48984 - Add lib389 paths module

- - Ticket 48951 - dsadm dsconfig status and plugin

- - Ticket 47957 - Update the replication "idle" status string

- - Ticket 48951 - dsadm and dsconf base files

- 

- * Thu Sep 22 2016 William Brown <wibrown@redhat.com> - 1.0.3-1

- - Bump version to 1.0.3 pre-release

- - Ticket 48952 - Restart command needs a sleep

- - Ticket 47957 - Update the replication "idle" status string

- - Ticket 48949 - Fix ups for style and correctness

- - Ticket 48951 - dsadm and dsconf base files

- - Ticket 48951 - dsadm dsconfig status and plugin

- - Ticket 48984 - Add lib389 paths module

- - Ticket 48991 - Fix lib389 spec for python2 and python3

- - Ticket 48949 - configparser fallback not python2 compatible

- - Ticket 48949 - os.makedirs() exist_ok not python2 compatible, added try/except

- - Ticket 48949 - change default file path generation - use os.path.join

- - Ticket 48949 - added copying slapd-collations.conf

- 

- 

- * Mon Aug 1 2016 Mark Reynolds <mreynolds@redhat.com> - 1.0.2-1

- - Bump version to 1.0.2

- - Ticket 48946 - openConnection should not fully popluate DirSrv object

- - Ticket 48832 - Add DirSrvTools.getLocalhost() function

- - Ticket 48382 - Fix serverCmd to get sbin dir properly

- - Bug 1347760 - Information disclosure via repeated use of LDAP ADD operation, etc.

- - Ticket 48937 - Cleanup valgrind wrapper script

- - Ticket 48923 - Fix additional issue with serverCmd

- - Ticket 48923 - serverCmd timeout not working as expected

- - Ticket 48917 - Attribute presence

- - Ticket 48911 - Plugin improvements for lib389

- - Ticket 48911 - Improve plugin support based on new mapped objects

- - Ticket 48910 - Fixes for backend tests and lib389 reliability.

- - Ticket 48860 - Add replication tools

- - Ticket 48888 - Correction to create of dsldapobject

- - Ticket 48886 - Fix NSS SSL library in lib389

- - Ticket 48885 - Fix spec file requires

- - Ticket 48884 - Bugfixes for mapped object and new connections

- - Ticket 48878 - better style for backend in backend_test.py

- - Ticket 48878 - pep8 fixes part 2

- - Ticket 48878 - pep8 fixes and fix rpm to build

- - Ticket 48853 - Prerelease installer

- - Ticket 48820 - Begin to test compatability with py.test3, and the new orm

- - Ticket 48434 - Fix for negative tz offsets

- - Ticket 48857 - Remove python-krbV from lib389

- - Ticket 48820 - Move Encryption and RSA to the new object types

- - Ticket 48431 - lib389 integrate ldclt

- - Ticket 48434 - lib389 logging tools

- - Ticket 48796 - add function to remove logs

- - Ticket 48771 - lib389 - get ns-slapd version

- - Ticket 48830 - Convert lib389 to ip route tools

- - Ticket 48763 - backup should run regardless of existing backups.

- - Ticket 48434 - lib389 logging tools

- - Ticket 48798 - EL6 compat for lib389 tests for DH params

- - Ticket 48798 - lib389 add ability to create nss ca and certificate

- - Ticket 48433 - Aci linting tools

- - Ticket 48791 - format args in server tools

- - Ticket 48399 - Helper makefile is missing mkdir dist

- - Ticket 48399 - Helper makefile is missing mkdir dist

- - Ticket 48794 - lib389 build requires are on a single line

- - Ticket 48660 - Add function to convert binary values in an entry to base64

- - Ticket 48764 - Fix mit krb password to be random.

- - Ticket 48765 - Change default ports for standalone topology

- - Ticket 48750 - Clean up logging to improve command experience

- - Ticket 48751 - Improve lib389 ldapi support

- - Ticket 48399 - Add helper makefile to lib389 to build and install

- - Ticket 48661 - Agreement test suite fails at the test_changes case

- - Ticket 48407 - Add test coverage module for lib389 repo

- - Ticket 48357 - clitools should standarise their args

- - Ticket 48560 - Make verbose handling consistent

- - Ticket 48419 - getadminport() should not a be a static method

- - Ticket 48415 - Add default domain parameter

- - Ticket 48408 - RFE escaped default suffix for tests

- - Ticket 48405 - python-lib389 in rawhide is missing dependencies

- - Ticket 48401 - Revert typecheck

- - Ticket 48401 - lib389 Entry hasAttr returs dict instead of false

- - Ticket 48390 - RFE Improvements to lib389 monitor features for rest389

- - Ticket 48358 - Add new spec file

- - Ticket 48371 - weaker host check on localhost.localdomain

- 

- * Mon Dec 7 2015 Mark Reynolds <mreynolds@redhat.com> - 1.0.1-1

- - Removed downloaded dependencies, and added python_provide macro

- - Fixed Source0 URL in spec file

- 

- * Fri Dec 4 2015 Mark Reynolds <mreynolds@redhat.com> - 1.0.1-1

- - Renamed package to python-lib389, and simplified the spec file

- 

- * Tue Dec 1 2015 Mark Reynolds <mreynolds@redhat.com> - 1.0.1-1

- - Bugzilla 1287846 - Submit lib389 python module to access the 389 DS

- 

file removed
-147
@@ -1,147 +0,0 @@ 

- %define nspr_version 4.6

- %define nss_version 3.11

- 

- Summary:          Secure PIN handling using NSS crypto

- Name:             svrcore

- Version:          __VERSION__

- Release:          1%{?dist}

- License:          MPL2.0

- URL:              https://pagure.io/svrcore

- Group:            Development/Libraries

- BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

- Requires:         nspr >= %{nspr_version}

- Requires:         nss >= %{nss_version}

- BuildRequires:    nspr-devel >= %{nspr_version}

- BuildRequires:    nss-devel >= %{nss_version}

- BuildRequires:    pkgconfig

- BuildRequires:    pkgconfig(systemd)

- # Needed to support regeneration of the autotool artifacts.

- BuildRequires:    autoconf

- BuildRequires:    automake

- BuildRequires:    libtool

- 

- Source0:            http://www.port389.org/binaries/%{name}-%{version}.tar.bz2

- 

- %description

- svrcore provides applications with several ways to handle secure PIN storage

- e.g. in an application that must be restarted, but needs the PIN to unlock

- the private key and other crypto material, without user intervention.  svrcore

- uses the facilities provided by NSS.

- 

- %package devel

- Summary: Development files for secure PIN handling using NSS crypto

- Group: Development/Libraries

- Requires: %{name} = %{version}-%{release}

- Requires: nspr-devel >= %{nspr_version}

- Requires: nss-devel >= %{nss_version}

- Requires: pkgconfig

- 

- %description devel

- svrcore provides applications with several ways to handle secure PIN storage

- e.g. in an application that must be restarted, but needs the PIN to unlock

- the private key and other crypto material, without user intervention.  svrcore

- uses the facilities provided by NSS.

- 

- This package contains header files and symlinks to develop programs which will

- use the libsvrcore library.  You should install this package if you need to

- develop programs which will use the svrcore library.

- 

- %prep

- %setup -q

- 

- %build

- 

- autoreconf -fiv

- %configure --with-systemd

- make

- 

- %install

- %{__rm} -rf $RPM_BUILD_ROOT

- 

- make install DESTDIR=$RPM_BUILD_ROOT

- rm -f $RPM_BUILD_ROOT%{_libdir}/libsvrcore.a

- rm -f $RPM_BUILD_ROOT%{_libdir}/libsvrcore.la

- 

- %clean

- %{__rm} -rf $RPM_BUILD_ROOT

- 

- %post -p /sbin/ldconfig

- %postun -p /sbin/ldconfig

- 

- %files

- %defattr(-,root,root,-)

- %doc LICENSE README NEWS

- %{_libdir}/libsvrcore.so.*

- 

- %files devel

- %defattr(-,root,root,-)

- %{_libdir}/pkgconfig/%{name}.pc

- %{_libdir}/libsvrcore.so

- %{_includedir}/svrcore.h

- 

- %changelog

- * Fri Mar 10 2017 Mark Reynolds <mreynolds@redhat.com> - 4.1.3

- - Bump version to 4.1.3

- - Ticket 18 - Remove configure outputs

- - Ticket 17 - update stdc to c99 to match other projects

- - Ticket 16 - with systemd should unset have systemd if pkgconfig not found

- - Ticket 14 - svrcore does not detect tty

- 

- * Thu Apr 21 2016 Noriko Hosoi <nhosoi@redhat.com> - 4.1.2

- - Code quality improvements

- 

- * Thu Apr 14 2016 William Brown <wibrown@redhat.com> - 4.1.1

- - Code quality and stability improvements

- - Improvements to rpm tooling and features

- 

- * Fri Apr 8 2016 William Brown <wibrown@redhat.com> - 4.1.0

- - Added systemd ask password support

- 

- * Tue Mar 13 2007 Rich Megginson <richm@stanfordalumni.org> - 4.0.4-1

- - Removed some autoconf generated files which were GPL only - all

- - code needs to be tri-licensed

- - updated version to 4.0.4

- - added empty COPYING file - do not use the one generated by autoreconf

- - use bz2 for source tarball instead of gz

- 

- * Wed Dec 13 2006 Rich Megginson <richm@stanfordalumni.org> - 4.0.3.01-0

- - Fixed support for windows build by moving old makefile to src/Makefile.win

- - and updating instructions - I could not get configure/libtool to work

- - with cygwin and the msvc compiler

- - Added support for --with-nspr and --with-nss and finding nspr/nss

- - "in-tree" when building with other mozilla components

- - Use PK11_TokenKeyGenWithFlags instead of PK11_KeyGen

- 

- * Fri Dec 08 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 4.0.2.02-0

- - Test build based on an second experimental autotools version of svrcore.

- 

- * Thu Dec 07 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 4.0.2.01-0

- - Test build based on an experimental autotools version of svrcore.

- 

- * Thu Jul 13 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.2-3

- - Bump spec rev to 3

- - Remove unneeded buildrequires perl, gawk, sed

- - Remove leading / from path macros

- - Remove provides for package name - done automatically

- - Move pkgconfig file stuff under install

- - Added LICENSE and README under docs

- 

- * Mon Jun 26 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.2-2

- - Bump spec rev to 2 due to change of spec file name from svrcore

- - to svrcore-devel to comply with fedora packaging guidelines

- 

- * Thu Jun 22 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.2-1

- - Bump rev to 4.0.2; now using HEAD of mozilla/security/coreconf

- - which includes the coreconf-location.patch, so got rid of patch

- 

- * Tue Apr 18 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.1-3

- - Use pkg-config --variable=includedir to get include dirs

- 

- * Wed Feb  1 2006 Rich <rmeggins@redhat.com> - 4.0.1-2

- - Requires nss version was wrong

- 

- * Wed Jan 11 2006 Rich Megginson <rmeggins@redhat.com> - 4.01-1

- - Removed svrcore-config - use pkg-config instead

- 

- * Mon Dec 19 2005 Rich Megginson <rmeggins@redhat.com> - 4.01-1

- - Initial revision

Bug Description: Remove old unused spec files.

Fix Description: Lib389 and svrcore are now part of 389ds, so
these spec files are not used.

https://pagure.io/389-ds-base/issue/49667
https://pagure.io/389-ds-base/issue/49668

Author: William Brown william@blackhats.net.au

Review by: ???

rebased onto 703ee9b

5 years ago

Pull-Request has been merged by firstyear

5 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3334

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

3 years ago