python-blivet/python-blivet.spec

241 lines
12 KiB
RPMSpec
Raw Normal View History

2013-01-25 22:49:10 +00:00
Summary: A python module for system storage configuration
Name: python-blivet
Url: http://fedoraproject.org/wiki/blivet
Version: 0.16
Add mountOnly to turnOnFilesystems (bcl) - Update lvm scanning to account for new ignored device handling. (dlehman) - Scan in all devices and then hide those that use ignored disks. (dlehman) - Adjust child counts correctly when unhiding a device. (dlehman) - Generate lvm config args each time they're needed/used. (dlehman) - Add ability to grab 70-anaconda.rules udev data directly. (dlehman) - Add support for active luks mappings at populate time. (dlehman) - Don't require nss, required only for escrow key support. (dlehman) - Update the TODO list. (dlehman) - Add missing constant DMI_CHASSIS_VENDOR. (dlehman) - Allow for multiple calls to DeviceTree.processActions. (#881023,#846573) (dlehman) - Use CGit snaphot URL for Source in specfile. (dlehman) - Streamline some logic in storageInitialize. (dlehman) - Don't re-add deleted or hidden devices during DeviceTree.populate. (dlehman) - Only run findExistingInstallations and start iscsi, &c in installer mode. (dlehman) - Do not change device status during populate in normal mode. (#817064) (dlehman) - Drop old code related to saving clearPartType from pre-f18. (dlehman) - check for skipping bootloader in doIt (bcl) - check for stage1 when not installing bootloader (#882065,#895232) (bcl) - explicitly detect iso9660 on a disk (#903158) (bcl) - Fix several problems in python-blivet.spec. (dlehman) - Remove #!/usr/bin/python from tsort.py (dlehman) - Update COPYING file. (dlehman) - Add a Requires for dmidecode on x86. (dlehman)
2013-02-08 21:14:55 +00:00
Release: 1%{?dist}
License: LGPLv2+
2013-01-25 22:49:10 +00:00
Group: System Environment/Libraries
%define realname blivet
Add mountOnly to turnOnFilesystems (bcl) - Update lvm scanning to account for new ignored device handling. (dlehman) - Scan in all devices and then hide those that use ignored disks. (dlehman) - Adjust child counts correctly when unhiding a device. (dlehman) - Generate lvm config args each time they're needed/used. (dlehman) - Add ability to grab 70-anaconda.rules udev data directly. (dlehman) - Add support for active luks mappings at populate time. (dlehman) - Don't require nss, required only for escrow key support. (dlehman) - Update the TODO list. (dlehman) - Add missing constant DMI_CHASSIS_VENDOR. (dlehman) - Allow for multiple calls to DeviceTree.processActions. (#881023,#846573) (dlehman) - Use CGit snaphot URL for Source in specfile. (dlehman) - Streamline some logic in storageInitialize. (dlehman) - Don't re-add deleted or hidden devices during DeviceTree.populate. (dlehman) - Only run findExistingInstallations and start iscsi, &c in installer mode. (dlehman) - Do not change device status during populate in normal mode. (#817064) (dlehman) - Drop old code related to saving clearPartType from pre-f18. (dlehman) - check for skipping bootloader in doIt (bcl) - check for stage1 when not installing bootloader (#882065,#895232) (bcl) - explicitly detect iso9660 on a disk (#903158) (bcl) - Fix several problems in python-blivet.spec. (dlehman) - Remove #!/usr/bin/python from tsort.py (dlehman) - Update COPYING file. (dlehman) - Add a Requires for dmidecode on x86. (dlehman)
2013-02-08 21:14:55 +00:00
Source0: http://git.fedorahosted.org/cgit/blivet.git/snapshot/%{realname}-%{version}.tar.gz
2013-01-25 22:49:10 +00:00
# Versions of required components (done so we make sure the buildrequires
# match the requires versions of things).
%define dmver 1.02.17-6
%define pykickstartver 1.99.22
%define partedver 1.8.1
%define pypartedver 2.5-2
%define pythonpyblockver 0.45
%define e2fsver 1.41.0
%define pythoncryptsetupver 0.1.1
%define utillinuxver 2.15.1
BuildArch: noarch
BuildRequires: gettext
BuildRequires: python-setuptools-devel
BuildRequires: transifex-client
Requires: python
Requires: pykickstart >= %{pykickstartver}
Requires: util-linux >= %{utillinuxver}
Requires: parted >= %{partedver}
Requires: pyparted >= %{pypartedver}
Requires: device-mapper >= %{dmver}
Requires: cryptsetup-luks
Requires: python-cryptsetup >= %{pythoncryptsetupver}
Requires: mdadm
Requires: lvm2
Requires: dosfstools
Requires: e2fsprogs >= %{e2fsver}
Requires: btrfs-progs
Requires: python-pyblock >= %{pythonpyblockver}
Requires: device-mapper-multipath
Requires: lsof
2013-01-25 22:49:10 +00:00
%description
The python-blivet package is a python module for examining and modifying
storage configuration.
%prep
%setup -q -n %{realname}-%{version}
%build
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%find_lang %{realname}
%files -f %{realname}.lang
%defattr(-,root,root,-)
2013-03-13 16:01:57 +00:00
%doc README ChangeLog COPYING examples
2013-01-25 22:49:10 +00:00
%{python_sitelib}/*
%changelog
* Thu Jun 13 2013 Brian C. Lane <bcl@redhat.com> - 0.16-1
- Install utilities for all devices -- not just those being used. (#964586) (dlehman)
- Add a method to apply Blivet settings to ksdata. (dlehman)
- Increase padding for md metadata in lvm factory. (#966795) (dlehman)
- Move lvm-on-md into LVMFactory. (dlehman)
- Switch to a minimum of four members for raid10. (#888879) (dlehman)
- Update the TODO list. (dlehman)
- Deactivate devices before hiding those on ignored disks. (#965213) (dlehman)
- Allow udev queue to settle after writing zeros to disk. (#969182) (hamzy)
- Run lsof when umount fails (bcl)
- Run udev settle before umount (bcl)
* Mon Jun 03 2013 Brian C. Lane <bcl@redhat.com> - 0.15-1
- Switch to the LGPLv2+. (dlehman)
- Clear md arrays' sysfs path after deactivating them. (#954062) (dlehman)
- Factories with existing containers use the container's disk set. (dlehman)
- Don't set up a child factory if the container is set and exists. (dlehman)
- Set a non-zero size for new btrfs subvols in an existing volume. (dlehman)
- Open as many luks devs as possible with any given passphrase. (#965754) (dlehman)
- Make sure container changes worked before applying device changes. (#965805) (dlehman)
- Re-initialize platform in storageInitialize (#962104) (bcl)
- Make a copy of devicetree._devices before using the append operator. (clumens)
- Handle incomplete devices becoming complete on device rescan. (clumens)
- Don't allow a device to be on the hidden list more than once. (clumens)
2013-05-15 19:10:34 +00:00
* Wed May 15 2013 David Lehman <dlehman@redhat.com> - 0.14-1
- total_memory calculation needs to round up (#962231) (bcl)
- The dev.node attribute for iscsi devices is not copyable (#962865). (clumens)
- Wipe partitions before they are created (#950145) (bcl)
- Pass ROOT_PATH as an argument instead of importing it. (clumens)
- If no iscsi nodes are discovered, return an empty list instead of None. (clumens)
* Thu May 09 2013 Brian C. Lane <bcl@redhat.com> - 0.13-1
- Make sure createBitmap is updated when level changes (#960271) (bcl)
- Update biosboot error message (#960691) (bcl)
2013-05-03 19:56:00 +00:00
* Fri May 03 2013 David Lehman <dlehman@redhat.com> - 0.12-1
- Fix a bug in renaming lvm lvs. (dlehman)
- Add container size policies for unlimited growth and fixed size. (dlehman)
- Remove device factory methods to change container name. (dlehman)
- Override any default subvol when mounting main btrfs volume. (#921757) (dlehman)
- Fix detection of multipath. (#955664) (dlehman)
- When a btrfs subvol's name is changed, change its subvol argument too. (clumens)
- Allow returning hidden disks from the getDeviceBy* methods, if asked. (clumens)
- Fix fipvlan -f argument once more and for good (#836321) (rvykydal)
- Remove the intf parameters from the iscsi class. (clumens)
- Don't relly on /proc/mdstat when enumeraing RAID levels. (jsafrane)
- Set product names in non-installer mode. (jsafrane)
- Fixed checking status of MD RAID which was just deleted. (jsafrane)
- Account for the fact that md's metadata usage is unpredictable. (dlehman)
- Remove members from their containers before destroying them. (dlehman)
- Make get_container work even if there are duplicate names. (dlehman)
- LVMFactory with a container_raid_level means use LVMOnMDFactory. (dlehman)
- Add a check for enough raid members after allocating partitions. (dlehman)
- Make parent_factory an attribute of the DeviceFactory instance. (dlehman)
- All container settings use container_ kwargs. (dlehman)
- Add ability to find raid level of an lvm vg. (dlehman)
- Always pass -f to wipefs since it lies about in-use devices. (#953329) (dlehman)
- Fix a bug extended partition management. (#951765) (dlehman)
- Don't return incomplete devices from getDeviceByFoo methods by default. (dlehman)
- Don't traceback when degraded md raid arrays are present. (#953184) (dlehman)
2013-04-15 20:37:24 +00:00
* Mon Apr 15 2013 David Lehman <dlehman@redhat.com> - 0.11-1
- Fix handling of isohybrid media. (#950510) (dlehman)
- Fix getting dracut setup args from dasd.conf. (#950964) (dlehman)
2013-04-09 22:01:22 +00:00
* Tue Apr 09 2013 David Lehman <dlehman@redhat.com> - 0.10-1
- Extended partitions containing logical partitions are not leaves. (#949912) (dlehman)
- Remove devices in reverse order in Blivet.recursiveRemove. (#949912) (dlehman)
- Rewrite the DeviceFactory classes. (dlehman)
- Hook up error handling in installer-specific methods. (#948250) (dlehman)
- Don't traceback if fcoe.startup is called without fcoe utils present. (dlehman)
- Fix logic error that causes us to ignore disks in exclusiveDisks. (dlehman)
- Slightly improve currentSize for btrfs volumes. (dlehman)
- Simplify multipath handling. (dlehman)
- Don't expect anaconda udev rules to be in use. (dlehman)
- Drop requires for things only needed for OS installation. (dlehman)
- New version: 0.9 (bcl)
- Only install packages for devices and filesystems used by the OS. (dlehman)
- Fix LVMLogicalVolumeDevice.maxSize. (dlehman)
- Fix handling of name=None in newLV, newMDArray, newVG. (dlehman)
- Allow calls to suggestDeviceName with only a prefix argument. (dlehman)
- Move mdadm superblock size calculation into devicelibs.mdraid. (dlehman)
* Thu Mar 28 2013 Brian C. Lane <bcl@redhat.com> - 0.9-1
- NTFS.minSize is supposed to be a property. (#924410) (dlehman)
- Mount /run during install and fix /sys mount (#922988) (bcl)
- Fix two excptions triggered by calls to copy_to_system. (hamzy)
2013-03-13 16:01:57 +00:00
* Wed Mar 13 2013 David Lehman <dlehman@redhat.com> - 0.8-1
- Check for "ip=ibft" cmdline option, not for "ibft". (rvykydal)
- run_program returns an int. (#920584) (dlehman)
- Fix units for lvs output. (dlehman)
- Don't pass an intf arg to ISCSI.stabilize. (#920041) (dlehman)
- Add __version__ to blivet/__init__.py. (dlehman)
- Only run info prog (eg: dumpe2fs) once per filesystem. (dlehman)
- Processing of a PV with no VG metadata is easy. (dlehman)
- Add some convenience properties for displaying DeviceAction info. (dlehman)
- Ignore MTDs, as we do not have the tools to write to them (#916771). (clumens)
- Include udev's list of symbolic links in StorageDevice. (#914724) (dlehman)
- Set a DeviceFormat instance's type attribute to the requested type. (dlehman)
- Allow size specs that do not include a 'b' or 'B'. (#888851) (dlehman)
- Fix reference to 'factory' from within DeviceFactory class. (dlehman)
- Fix problems detecting lvm and md devices. (#914730) (dlehman)
- Allow passing size=None to device factories for unbounded growth. (dlehman)
- Provide a way to set the default fstype for a Blivet instance. (#838145) (dlehman)
- Allow changing the size of encrypted devices via DeviceFactory. (#913169) (dlehman)
- Don't dump storage state except in installer mode. (dlehman)
- Fix device resolution for btrfs. (dlehman)
- Fix device resolution to find named md devices. (dlehman)
- Account for active mounts in normal mode. (#914898) (dlehman)
- Add an example script which lists all devices. (dlehman)
- Add scripts/makeupdates script (bcl)
* Thu Feb 21 2013 Brian C. Lane <bcl@redhat.com> - 0.7-1
- Merge branch 'master' of git+ssh://git.fedorahosted.org/git/blivet (bcl)
- Bring in productName from pyanaconda in installer mode. (#913559) (dlehman)
* Wed Feb 20 2013 Brian C. Lane <bcl@redhat.com> - 0.6-1
- parse buffer output from resize (#913141) (bcl)
- prevent traceback when root device is not defined #rhbz883768 (sbueno+anaconda)
- Move empty_disk to a top-level function, and rename. (clumens)
- Add some high-level comments to DeviceFactory.configure_device. (dlehman)
- Refactor DeviceFactory.set_container_members for clarity. (dlehman)
- Rename the main blivet logger from "storage" to "blivet". (dlehman)
- Use the blivet domain for translations. (dlehman)
- Move DeviceFactory classes and related code into a new file. (dlehman)
- New version: 0.5 (dlehman)
Add mountOnly to turnOnFilesystems (bcl) - Update lvm scanning to account for new ignored device handling. (dlehman) - Scan in all devices and then hide those that use ignored disks. (dlehman) - Adjust child counts correctly when unhiding a device. (dlehman) - Generate lvm config args each time they're needed/used. (dlehman) - Add ability to grab 70-anaconda.rules udev data directly. (dlehman) - Add support for active luks mappings at populate time. (dlehman) - Don't require nss, required only for escrow key support. (dlehman) - Update the TODO list. (dlehman) - Add missing constant DMI_CHASSIS_VENDOR. (dlehman) - Allow for multiple calls to DeviceTree.processActions. (#881023,#846573) (dlehman) - Use CGit snaphot URL for Source in specfile. (dlehman) - Streamline some logic in storageInitialize. (dlehman) - Don't re-add deleted or hidden devices during DeviceTree.populate. (dlehman) - Only run findExistingInstallations and start iscsi, &c in installer mode. (dlehman) - Do not change device status during populate in normal mode. (#817064) (dlehman) - Drop old code related to saving clearPartType from pre-f18. (dlehman) - check for skipping bootloader in doIt (bcl) - check for stage1 when not installing bootloader (#882065,#895232) (bcl) - explicitly detect iso9660 on a disk (#903158) (bcl) - Fix several problems in python-blivet.spec. (dlehman) - Remove #!/usr/bin/python from tsort.py (dlehman) - Update COPYING file. (dlehman) - Add a Requires for dmidecode on x86. (dlehman)
2013-02-08 21:14:55 +00:00
* Fri Feb 08 2013 David Lehman <dlehman@redhat.com> - 0.5-1
- Add mountOnly to turnOnFilesystems (bcl)
- Update lvm scanning to account for new ignored device handling. (dlehman)
- Scan in all devices and then hide those that use ignored disks. (dlehman)
- Adjust child counts correctly when unhiding a device. (dlehman)
- Generate lvm config args each time they're needed/used. (dlehman)
- Add ability to grab 70-anaconda.rules udev data directly. (dlehman)
- Add support for active luks mappings at populate time. (dlehman)
- Don't require nss, required only for escrow key support. (dlehman)
- Update the TODO list. (dlehman)
- Add missing constant DMI_CHASSIS_VENDOR. (dlehman)
- Allow for multiple calls to DeviceTree.processActions. (#881023,#846573) (dlehman)
- Use CGit snaphot URL for Source in specfile. (dlehman)
- Streamline some logic in storageInitialize. (dlehman)
- Don't re-add deleted or hidden devices during DeviceTree.populate. (dlehman)
- Only run findExistingInstallations and start iscsi, &c in installer mode. (dlehman)
- Do not change device status during populate in normal mode. (#817064) (dlehman)
- Drop old code related to saving clearPartType from pre-f18. (dlehman)
- check for skipping bootloader in doIt (bcl)
- check for stage1 when not installing bootloader (#882065,#895232) (bcl)
- explicitly detect iso9660 on a disk (#903158) (bcl)
- Fix several problems in python-blivet.spec. (dlehman)
- Remove #!/usr/bin/python from tsort.py (dlehman)
- Update COPYING file. (dlehman)
- Add a Requires for dmidecode on x86. (dlehman)
2013-01-25 22:49:10 +00:00
* Sun Jan 20 2013 David Lehman <dlehman@redhat.com> - 0.4-1
- Use a two-part version number instead of three. (dlehman)
- Rename the rpm package from blivet to python-blivet. (dlehman)
- Move get_mount_device, get_mount_paths from pyanaconda.packaging to util. (dlehman)
- Update the TODO list. (dlehman)
- Carry over s390 exclusion of fcoe-utils from anaconda. (dlehman)
- Enable translations via transifex. (dlehman)
* Fri Jan 18 2013 David Lehman <dlehman@redhat.com> - 0.2-1
- Add Requires: iscsi-initiator-utils, fcoe-utils, device-mapper-multipath. (dlehman)
- Use a threading lock to control program log output. (dlehman)
- Fix reference to data to refer to ksdata in Blivet constructor. (dlehman)
- Remove the loop around proc.communicate in util._run_program. (dlehman)
* Tue Jan 15 2013 David Lehman <dlehman@redhat.com> 0.2-1
- Updated source from final pre-split anaconda source.
- Renamed pyanaconda.storage to blivet throughout.
- Updated spec file to include runtime Requires.
* Fri Jan 04 2013 David Lehman <dlehman@redhat.com> 0.1-1
- Created package from anaconda storage module.