#9 More specfile fixes from the Fedora review
Merged 3 years ago by arrfab. Opened 3 years ago by dcavalca.
centos/ dcavalca/centos-packager spec2  into  master

file modified
+8 -4
@@ -1,6 +1,6 @@ 

  Name:           centos-packager

  Version:        0.7.0

- Release:        5%{?dist}

+ Release:        6%{?dist}

  Summary:        Tools and files necessary for building CentOS packages

  Group:          Applications/Productivity

  
@@ -34,19 +34,23 @@ 

  

  %install

  mkdir -p %{buildroot}%{_sysconfdir}/koji.conf.d

- install -m 0644 %{SOURCE0} %{buildroot}%{_sysconfdir}/koji.conf.d/cbs-koji.conf

+ install -p -m 0644 %{SOURCE0} %{buildroot}%{_sysconfdir}/koji.conf.d/cbs-koji.conf

  

  mkdir -p %{buildroot}/%{_bindir}

  ln -s koji %{buildroot}%{_bindir}/cbs

- install -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/centos-cert

+ install -p -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/centos-cert

  

  %files

- %doc COPYING

+ %license COPYING

  %config(noreplace) %{_sysconfdir}/koji.conf.d/cbs-koji.conf

  %{_bindir}/cbs

  %{_bindir}/centos-cert

  

  %changelog

+ * Tue May  4 2021 Davide Cavalca <dcavalca@fb.com> - 0.7.0-6

+ - Use the correct macro for the license file

+ - Preserve timestamps on install

+ 

  * Fri Apr 23 2021 Davide Cavalca <dcavalca@fb.com> - 0.7.0-5

  - Clean up macros usage

  - Fix changelog inconsistencies and formatting

LGMT, merging. Thanks ! (hopefully it will make its way on epel8 now)

Pull-Request has been merged by arrfab

3 years ago
Metadata